Fix TFLite Segment inference (#13488)
* Fix TFLite Segment inference * Auto-format by https://ultralytics.com --------- Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
1 parent
86fd1ab270
commit
6420a1db87
5 files changed
+17
-12
No files matched your search
+3
-3
@@ -495,9 +495,9 @@ def check_file(file, suffix=""):
|
||||
assert Path(file).exists() and Path(file).stat().st_size > 0, f"File download failed: {url}" # check
|
||||
return file
|
||||
elif file.startswith("clearml://"): # ClearML Dataset ID
|
||||
assert "clearml" in sys.modules, (
|
||||
"ClearML is not installed, so cannot use ClearML dataset. Try running 'pip install clearml'."
|
||||
)
|
||||
assert (
|
||||
"clearml" in sys.modules
|
||||
), "ClearML is not installed, so cannot use ClearML dataset. Try running 'pip install clearml'."
|
||||
return file
|
||||
else: # search
|
||||
files = []
|
||||
|
||||
Reference in new issue
Block a user