Commit
·
94dc713
1
Parent(s):
4befb45
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import os
|
|
2 |
|
3 |
# workaround: install old version of pytorch since detectron2 hasn't released packages for pytorch 1.9 (issue: https://github.com/facebookresearch/detectron2/issues/3158)
|
4 |
# os.system('pip install torch==1.8.0+cu101 torchvision==0.9.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html')
|
5 |
-
os.system('pip install -q torch
|
6 |
|
7 |
# install detectron2 that matches pytorch 1.8
|
8 |
# See https://detectron2.readthedocs.io/tutorials/install.html for instructions
|
|
|
2 |
|
3 |
# workaround: install old version of pytorch since detectron2 hasn't released packages for pytorch 1.9 (issue: https://github.com/facebookresearch/detectron2/issues/3158)
|
4 |
# os.system('pip install torch==1.8.0+cu101 torchvision==0.9.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html')
|
5 |
+
os.system('pip install -q torch torchvision')
|
6 |
|
7 |
# install detectron2 that matches pytorch 1.8
|
8 |
# See https://detectron2.readthedocs.io/tutorials/install.html for instructions
|