Spaces:
Sleeping
Sleeping
fix
Browse files- install.sh +3 -3
install.sh
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
-
conda create -y --name
|
| 4 |
source ~/anaconda3/etc/profile.d/conda.sh
|
| 5 |
-
conda activate
|
| 6 |
-
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
|
| 7 |
(cd segment-anything-2 && pip install -e .)
|
| 8 |
pip install -r requirements_manual.txt --no-dependencies
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
+
conda create -y --name medical python=3.10.14
|
| 4 |
source ~/anaconda3/etc/profile.d/conda.sh
|
| 5 |
+
conda activate medical
|
| 6 |
+
pip install torch==2.5.0 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/cpu
|
| 7 |
(cd segment-anything-2 && pip install -e .)
|
| 8 |
pip install -r requirements_manual.txt --no-dependencies
|