Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import torch
|
|
9 |
|
10 |
# os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
|
11 |
os.system("git clone https://github.com/Visual-AI/vCLR.git && cd vCLR && rm -f requirements.txt && cd ..")
|
12 |
-
|
13 |
subprocess.run(
|
14 |
shlex.split(
|
15 |
"pip install detrex-0.3.0-cp310-cp310-linux_x86_64.whl"
|
@@ -19,7 +19,7 @@ subprocess.run(
|
|
19 |
sys.path.append("vCLR/")
|
20 |
|
21 |
|
22 |
-
|
23 |
from demo.predictors import VisualizationDemo
|
24 |
from detectron2.checkpoint import DetectionCheckpointer
|
25 |
from detectron2.config import LazyConfig, instantiate
|
|
|
9 |
|
10 |
# os.system("pip install git+https://github.com/facebookresearch/detectron2.git")
|
11 |
os.system("git clone https://github.com/Visual-AI/vCLR.git && cd vCLR && rm -f requirements.txt && cd ..")
|
12 |
+
|
13 |
subprocess.run(
|
14 |
shlex.split(
|
15 |
"pip install detrex-0.3.0-cp310-cp310-linux_x86_64.whl"
|
|
|
19 |
sys.path.append("vCLR/")
|
20 |
|
21 |
|
22 |
+
os.system("pip install detectron2")
|
23 |
from demo.predictors import VisualizationDemo
|
24 |
from detectron2.checkpoint import DetectionCheckpointer
|
25 |
from detectron2.config import LazyConfig, instantiate
|