mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
scripts/libraries: Fix bug in ml model.py assignment.
This commit is contained in:
parent
f3f6141894
commit
068c7c11f3
@ -16,6 +16,7 @@ class Model:
|
||||
if isinstance(retobj, tuple):
|
||||
labels, self.model = retobj
|
||||
return labels, self
|
||||
self.model = retobj
|
||||
return self
|
||||
|
||||
def __str__(self):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user