Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,8 +12,9 @@ from PIL import Image
|
|
| 12 |
# -- install pre-build detectron2
|
| 13 |
os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
|
| 14 |
os.system('pip install pyyaml==5.1')
|
| 15 |
-
|
| 16 |
import detectron2
|
|
|
|
| 17 |
from detectron2.utils.logger import setup_logger # ????
|
| 18 |
|
| 19 |
from detectron2 import model_zoo
|
|
|
|
| 12 |
# -- install pre-build detectron2
|
| 13 |
os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
|
| 14 |
os.system('pip install pyyaml==5.1')
|
| 15 |
+
|
| 16 |
import detectron2
|
| 17 |
+
'''
|
| 18 |
from detectron2.utils.logger import setup_logger # ????
|
| 19 |
|
| 20 |
from detectron2 import model_zoo
|