Spaces:
Runtime error
Runtime error
jwyang
commited on
Commit
•
80a17c3
1
Parent(s):
3eb1f88
prebuld detectron2
Browse files
app.py
CHANGED
@@ -15,6 +15,10 @@ from config import get_config
|
|
15 |
|
16 |
from collections import OrderedDict
|
17 |
|
|
|
|
|
|
|
|
|
18 |
import detectron2.utils.comm as comm
|
19 |
from detectron2.checkpoint import DetectionCheckpointer
|
20 |
from detectron2.config import get_cfg
|
|
|
15 |
|
16 |
from collections import OrderedDict
|
17 |
|
18 |
+
os.system("python -m pip install -e .")
|
19 |
+
os.system("pip install opencv-python timm diffdist h5py sklearn ftfy")
|
20 |
+
os.system("pip install git+https://github.com/lvis-dataset/lvis-api.git")
|
21 |
+
|
22 |
import detectron2.utils.comm as comm
|
23 |
from detectron2.checkpoint import DetectionCheckpointer
|
24 |
from detectron2.config import get_cfg
|