Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ except:
|
|
4 |
import os
|
5 |
# os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
|
6 |
# os.system("python -m pip install detectron2==0.6 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu113/torch1.10/index.html")
|
7 |
-
os.system('git clone https://github.com/facebookresearch/detectron2.git')
|
8 |
os.system('python -m pip install -e detectron2')
|
9 |
import sys
|
10 |
import cv2
|
|
|
4 |
import os
|
5 |
# os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
|
6 |
# os.system("python -m pip install detectron2==0.6 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu113/torch1.10/index.html")
|
7 |
+
os.system('git clone https://github.com/facebookresearch/detectron2.git --branch v0.6')
|
8 |
os.system('python -m pip install -e detectron2')
|
9 |
import sys
|
10 |
import cv2
|