Spaces:
Sleeping
Sleeping
isLinXu
commited on
Commit
·
b2ce569
1
Parent(s):
8438148
update
Browse files
app.py
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
import os
|
2 |
-
os.system("pip install torch torchvision")
|
3 |
os.system("git clone https://github.com/IDEA-Research/detrex.git")
|
4 |
# os.system("python -m pip install git+https://github.com/facebookresearch/detectron2.git@v0.6#egg=detectron2")
|
5 |
os.system("python -m pip install git+https://github.com/IDEA-Research/detrex.git@v0.5.0#egg=detrex")
|
6 |
os.system("git submodule sync")
|
7 |
os.system("git submodule update --init")
|
|
|
8 |
# os.system("cd detrex && pip install -e .")
|
9 |
-
|
10 |
|
11 |
import argparse
|
12 |
import glob
|
|
|
1 |
import os
|
|
|
2 |
os.system("git clone https://github.com/IDEA-Research/detrex.git")
|
3 |
# os.system("python -m pip install git+https://github.com/facebookresearch/detectron2.git@v0.6#egg=detectron2")
|
4 |
os.system("python -m pip install git+https://github.com/IDEA-Research/detrex.git@v0.5.0#egg=detrex")
|
5 |
os.system("git submodule sync")
|
6 |
os.system("git submodule update --init")
|
7 |
+
os.system("pip install fairscale")
|
8 |
# os.system("cd detrex && pip install -e .")
|
9 |
+
|
10 |
|
11 |
import argparse
|
12 |
import glob
|