mirror of
https://github.com/clearml/clearml
synced 2025-03-06 03:59:09 +00:00
Remove unnecessary legacy model design update
This commit is contained in:
parent
60b6da5d8d
commit
59d531d1c8
@ -860,9 +860,7 @@ class Task(IdObjectBase, AccessMixin, SetupUploadMixin):
|
|||||||
# backwards compatibility
|
# backwards compatibility
|
||||||
self._set_task_property("execution.model", model_id, raise_on_error=False, log_on_error=False)
|
self._set_task_property("execution.model", model_id, raise_on_error=False, log_on_error=False)
|
||||||
|
|
||||||
# Auto populate input field from model, if they are empty
|
# Auto populate from model, if empty
|
||||||
if update_task_design and not self.data.execution.model_desc:
|
|
||||||
self.data.execution.model_desc = model.design if model else ''
|
|
||||||
if update_task_labels and not self.data.execution.model_labels:
|
if update_task_labels and not self.data.execution.model_labels:
|
||||||
self.data.execution.model_labels = model.labels if model else {}
|
self.data.execution.model_labels = model.labels if model else {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user