Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit 494cd72

Browse files
authored
Add explixit open-cv dep (#1575)
1 parent 58d9138 commit 494cd72

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,10 @@
6969
"torchvision>=0.3.0,<0.15",
7070
"torchaudio<=0.13",
7171
]
72-
_pytorch_vision_deps = _pytorch_deps + ["torchvision>=0.3.0,<0.15"]
72+
_pytorch_vision_deps = _pytorch_deps + [
73+
"torchvision>=0.3.0,<0.15",
74+
"opencv-python<=4.6.0.66",
75+
]
7376
_transformers_deps = _pytorch_deps + [
7477
f"{'nm-transformers' if is_release else 'nm-transformers-nightly'}"
7578
f"~={version_nm_deps}",

0 commit comments

Comments
 (0)