Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ TORCH_VERSION = ".".join(torch.__version__.split(".")[:2])
|
|
| 9 |
CUDA_VERSION = torch.__version__.split("+")[-1]
|
| 10 |
|
| 11 |
# -- install pre-build detectron2
|
| 12 |
-
!pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/{CUDA_VERSION}/{TORCH_VERSION}/index.html
|
| 13 |
|
| 14 |
import detectron2
|
| 15 |
from detectron2.utils.logger import setup_logger # ????
|
|
|
|
| 9 |
CUDA_VERSION = torch.__version__.split("+")[-1]
|
| 10 |
|
| 11 |
# -- install pre-build detectron2
|
| 12 |
+
!python -m pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/{CUDA_VERSION}/{TORCH_VERSION}/index.html
|
| 13 |
|
| 14 |
import detectron2
|
| 15 |
from detectron2.utils.logger import setup_logger # ????
|