Spaces:
Build error
Build error
detectron 0.6 113 1.10
Browse files
app.py
CHANGED
@@ -15,8 +15,8 @@ if os.getenv('SYSTEM') == 'spaces':
|
|
15 |
subprocess.call('pip uninstall -y opencv-python-headless'.split())
|
16 |
subprocess.call('pip install opencv-python-headless==4.5.5.64'.split())
|
17 |
subprocess.call('pip install pycocotools'.split())
|
18 |
-
subprocess.call("pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/
|
19 |
-
|
20 |
import cv2
|
21 |
import gradio as gr
|
22 |
import numpy as np
|
|
|
15 |
subprocess.call('pip uninstall -y opencv-python-headless'.split())
|
16 |
subprocess.call('pip install opencv-python-headless==4.5.5.64'.split())
|
17 |
subprocess.call('pip install pycocotools'.split())
|
18 |
+
subprocess.call("pip install detectron2==0.6 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu113/torch1.10/index.html".split())
|
19 |
+
# detectron2==0.6 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu113/torch1.10/index.html
|
20 |
import cv2
|
21 |
import gradio as gr
|
22 |
import numpy as np
|