PDG commited on
Commit
b6084e9
·
1 Parent(s): 1094aba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 # ????