Skip to content

Commit 36f185b

Browse files
Merge pull request #97 from roboflow/fixUltralticsUploadParse
Fix Ultralytics Upload Parse
2 parents 96ce2a0 + 1e973c1 commit 36f185b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

roboflow/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from roboflow.core.project import Project
99
from roboflow.core.workspace import Workspace
1010

11-
__version__ = "0.2.25"
11+
__version__ = "0.2.26"
1212

1313

1414
def check_key(api_key, model, notebook, num_retries=0):

roboflow/core/version.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,9 @@ def deploy(self, model_type: str, model_path: str) -> None:
323323
"yaml": model["model"].yaml,
324324
"nc": model["model"].nc,
325325
"args": {
326-
k: val for k, val in model["model"].args.items() if k != "hydra"
326+
k: val
327+
for k, val in model["model"].args.__dict__.items()
328+
if k != "hydra"
327329
},
328330
"ultralytics_version": ultralytics.__version__,
329331
"model_type": model_type,

0 commit comments

Comments
 (0)