Files changed (4) hide show
  1. app.py +0 -8
  2. densepose +1 -0
  3. detectron2 +1 -0
  4. requirements.txt +2 -2
app.py CHANGED
@@ -1,12 +1,4 @@
1
  import os
2
-
3
- try:
4
- import detectron2
5
- import densepose
6
- except ImportError:
7
- os.system('pip install ./preprocess/detectron2')
8
- os.system('pip install ./preprocess/detectron2/projects/DensePose')
9
-
10
  import sys
11
  import time
12
  from pathlib import Path
 
1
  import os
 
 
 
 
 
 
 
 
2
  import sys
3
  import time
4
  from pathlib import Path
densepose ADDED
@@ -0,0 +1 @@
 
 
1
+ preprocess/detectron2/projects/DensePose/densepose/
detectron2 ADDED
@@ -0,0 +1 @@
 
 
1
+ preprocess/detectron2/detectron2
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
- torch
2
- torchvision
3
  numpy
4
  scipy
5
  scikit-image
 
1
+ torch==2.0.1
2
+ torchvision==0.15.2
3
  numpy
4
  scipy
5
  scikit-image