Skip to content

Commit bbb1298

Browse files
committed
remove version check that has no place here
1 parent a823346 commit bbb1298

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

roboflow/core/version.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -206,19 +206,6 @@ def download(self, model_format=None, location=None, overwrite: bool = False):
206206

207207
self.__wait_if_generating()
208208

209-
if model_format == "yolov8":
210-
# if ultralytics is installed, we will assume users will want to use yolov8 and we check for the supported version # noqa: E501 // docs
211-
try:
212-
import_module("ultralytics")
213-
print_warn_for_wrong_dependencies_versions([("ultralytics", "==", "8.0.196")])
214-
except ImportError:
215-
print(
216-
"[WARNING] we noticed you are downloading a `yolov8` datasets but you don't have `ultralytics` installed. " # noqa: E501 // docs
217-
"Roboflow `.deploy` supports only models trained with `ultralytics==8.0.196`, to intall it `pip install ultralytics==8.0.196`." # noqa: E501 // docs
218-
)
219-
# silently fail
220-
pass
221-
222209
model_format = self.__get_format_identifier(model_format)
223210

224211
if model_format not in self.exports:

0 commit comments

Comments
 (0)