Spaces:
Runtime error
Runtime error
Jingkang Yang
commited on
Commit
·
5df73c6
1
Parent(s):
e32fe7f
update:requirments
Browse files- app.py +1 -1
- requirements.txt +1 -2
app.py
CHANGED
@@ -4,10 +4,10 @@ try:
|
|
4 |
import detectron2
|
5 |
except:
|
6 |
import os
|
|
|
7 |
os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
|
8 |
os.system('pip install git+https://github.com/facebookresearch/pytorch3d.git')
|
9 |
os.system('pip install git+https://github.com/facebookresearch/segment-anything.git')
|
10 |
-
os.system('cd third_party/CLIP && python -m pip install -Ue .')
|
11 |
import argparse
|
12 |
import glob
|
13 |
import multiprocessing as mp
|
|
|
4 |
import detectron2
|
5 |
except:
|
6 |
import os
|
7 |
+
os.system('cd third_party/CLIP && python -m pip install -Ue .')
|
8 |
os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
|
9 |
os.system('pip install git+https://github.com/facebookresearch/pytorch3d.git')
|
10 |
os.system('pip install git+https://github.com/facebookresearch/segment-anything.git')
|
|
|
11 |
import argparse
|
12 |
import glob
|
13 |
import multiprocessing as mp
|
requirements.txt
CHANGED
@@ -12,5 +12,4 @@ fvcore
|
|
12 |
iopath
|
13 |
torch==1.10.1
|
14 |
torchvision==0.11.2
|
15 |
-
torchaudio==0.10.1
|
16 |
-
git+https://github.com/openai/CLIP.git
|
|
|
12 |
iopath
|
13 |
torch==1.10.1
|
14 |
torchvision==0.11.2
|
15 |
+
torchaudio==0.10.1
|
|