Skip to content

Commit

Permalink
remove version check that has no place here
Browse files Browse the repository at this point in the history
  • Loading branch information
tonylampada committed Oct 11, 2024
1 parent a823346 commit bbb1298
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions roboflow/core/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,19 +206,6 @@ def download(self, model_format=None, location=None, overwrite: bool = False):

self.__wait_if_generating()

if model_format == "yolov8":
# if ultralytics is installed, we will assume users will want to use yolov8 and we check for the supported version # noqa: E501 // docs
try:
import_module("ultralytics")
print_warn_for_wrong_dependencies_versions([("ultralytics", "==", "8.0.196")])
except ImportError:
print(
"[WARNING] we noticed you are downloading a `yolov8` datasets but you don't have `ultralytics` installed. " # noqa: E501 // docs
"Roboflow `.deploy` supports only models trained with `ultralytics==8.0.196`, to intall it `pip install ultralytics==8.0.196`." # noqa: E501 // docs
)
# silently fail
pass

model_format = self.__get_format_identifier(model_format)

if model_format not in self.exports:
Expand Down

0 comments on commit bbb1298

Please sign in to comment.