liangyuch commited on
Commit
faed248
β€’
1 Parent(s): 5b21c21

detectron 0.6 113 1.10

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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/cpu/torch1.10/index.html".split())
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