AndreasLH commited on
Commit
e3803da
·
1 Parent(s): 9ccd526
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.whl filter=lfs diff=lfs merge=lfs -text
Dockerfile CHANGED
@@ -8,13 +8,10 @@ WORKDIR /code
8
  COPY ./requirements.txt /code/requirements.txt
9
  COPY ./pre-requirements.txt /code/pre-requirements.txt
10
  COPY ./pytorch3d /code/pytorch3d
11
- COPY ./detectron2 /code/detectron2
12
 
 
13
  RUN pip install --no-cache-dir -r /code/requirements.txt
14
 
15
- RUN pip install --no-cache-dir ./pytorch3d
16
- RUN pip install --no-cache-dir ./detectron2
17
-
18
  # Set up a new user named "user" with user ID 1000
19
  RUN useradd -m -u 1000 user
20
 
 
8
  COPY ./requirements.txt /code/requirements.txt
9
  COPY ./pre-requirements.txt /code/pre-requirements.txt
10
  COPY ./pytorch3d /code/pytorch3d
 
11
 
12
+ RUN pip install --no-cache-dir -r /code/pre-requirements.txt
13
  RUN pip install --no-cache-dir -r /code/requirements.txt
14
 
 
 
 
15
  # Set up a new user named "user" with user ID 1000
16
  RUN useradd -m -u 1000 user
17
 
pre-requirements.txt CHANGED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ ninja
2
+ iopath
3
+ fvcore
4
+
5
+ --extra-index-url https://download.pytorch.org/whl/cpu
6
+ torch==2.2.0
7
+ torchvision==0.17.0
8
+ torchaudio==2.2
pytorch3d/.gitignore CHANGED
@@ -1,5 +1,4 @@
1
  build/
2
- dist/
3
  *.egg-info/
4
  **/__pycache__/
5
  *-checkpoint.ipynb
 
1
  build/
 
2
  *.egg-info/
3
  **/__pycache__/
4
  *-checkpoint.ipynb
pytorch3d/dist/pytorch3d-0.7.8-cp311-cp311-manylinux1_x86_64.whl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b815bf60f19498b5dcfaeb5eef66fa82c8f77d7b48616d7445729cd31e334b0
3
+ size 878048
requirements.txt CHANGED
@@ -4,11 +4,5 @@ numpy
4
  opencv-python
5
  pyransac3d
6
 
7
- ninja
8
- iopath
9
- fvcore
10
-
11
- --extra-index-url https://download.pytorch.org/whl/cpu
12
- torch==2.2.0
13
- torchvision==0.17.0
14
- torchaudio==2.2.
 
4
  opencv-python
5
  pyransac3d
6
 
7
+ git+https://github.com/facebookresearch/detectron2.git
8
+ pytorch3d/dist/pytorch3d-0.7.8-cp311-cp311-manylinux1_x86_64.whl