Skip to content

Commit 3925874

Browse files
Use segment anything from conda instead of pip
1 parent 7c2b0c9 commit 3925874

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

environment_cpu.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ dependencies:
99
- pooch
1010
- python-elf >=0.4.8
1111
- pytorch
12+
- segment-anything
1213
- torchvision
1314
- tqdm
14-
- pip:
15-
- git+https://github.com/facebookresearch/segment-anything.git
15+
# - pip:
16+
# - git+https://github.com/facebookresearch/segment-anything.git

environment_gpu.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ dependencies:
1010
- python-elf >=0.4.8
1111
- pytorch
1212
- pytorch-cuda>=11.7 # you may need to update the cuda version to match your system
13+
- segment-anything
1314
- torchvision
1415
- tqdm
15-
- pip:
16-
- git+https://github.com/facebookresearch/segment-anything.git
16+
# - pip:
17+
# - git+https://github.com/facebookresearch/segment-anything.git

0 commit comments

Comments
 (0)