We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c56d47 commit 6568b3dCopy full SHA for 6568b3d
roboflow/models/object_detection.py
@@ -26,6 +26,7 @@
26
warn_for_wrong_dependencies_versions,
27
)
28
29
+
30
class ObjectDetectionModel:
31
def __init__(
32
self,
@@ -466,7 +467,9 @@ def view(button):
466
467
def download(self, location=".", format="pt"):
468
supported_formats = ["pt"]
469
if format not in supported_formats:
- raise Exception(f"Unsupported format {format}. Must be one of {supported_formats}")
470
+ raise Exception(
471
+ f"Unsupported format {format}. Must be one of {supported_formats}"
472
+ )
473
474
workspace, project, version = self.id.rsplit("/")
475
0 commit comments