Skip to content

Commit 02883c1

Browse files
committed
update dev env
1 parent a1cd381 commit 02883c1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

dev/env.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ dependencies:
4040
- segment-anything # for model testing
4141
- tensorflow>=2,<3
4242
- timm # for model testing
43-
- torchvision
43+
- torchvision>=0.21
4444
- tqdm
4545
- typing-extensions
4646
- xarray
4747
- pip:
48+
- git+https://github.com/ChaoningZhang/MobileSAM.git # for model testing
4849
- -e ..

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@
4646
],
4747
include_package_data=True,
4848
extras_require={
49-
"pytorch": (pytorch_deps := ["torch>=1.6,<3", "torchvision", "keras>=3.0,<4"]),
49+
"pytorch": (
50+
pytorch_deps := ["torch>=1.6,<3", "torchvision>=0.21", "keras>=3.0,<4"]
51+
),
5052
"tensorflow": ["tensorflow", "keras>=2.15,<4"],
5153
"onnx": ["onnxruntime"],
5254
"dev": (

0 commit comments

Comments
 (0)