Update requirements.txt
Browse files- requirements.txt +8 -9
requirements.txt
CHANGED
|
@@ -1,13 +1,12 @@
|
|
| 1 |
-
# PyTorch
|
| 2 |
-
--extra-index-url https://download.pytorch.org/whl/
|
| 3 |
-
torch==2.4.1+
|
| 4 |
-
torchvision==0.19.1+
|
| 5 |
-
|
| 6 |
-
# Detectron2 wheel matching Torch 2.4 + cu118
|
| 7 |
-
--find-links https://dl.fbaipublicfiles.com/detectron2/wheels/cu118/torch2.4/index.html
|
| 8 |
-
detectron2
|
| 9 |
|
| 10 |
# App deps
|
| 11 |
gradio>=4.44.0
|
| 12 |
opencv-python-headless
|
| 13 |
-
numpy
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PyTorch CPU wheels
|
| 2 |
+
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 3 |
+
torch==2.4.1+cpu
|
| 4 |
+
torchvision==0.19.1+cpu
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
# App deps
|
| 7 |
gradio>=4.44.0
|
| 8 |
opencv-python-headless
|
| 9 |
+
numpy
|
| 10 |
+
|
| 11 |
+
# Detectron2 (build for the current Torch/Python)
|
| 12 |
+
git+https://github.com/facebookresearch/detectron2.git
|