Fix clearml args logging when training is launch with run() (#10359)

* Connect opt to clearml args

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update clearml_utils.py

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2022-12-01 15:00:43 -08:00
1 parent 7845cea913
commit d7955fe438
1 file changed
+1
+1
View File
@@ -96,6 +96,7 @@ class ClearmlLogger:
# Only the hyperparameters coming from the yaml config file # Only the hyperparameters coming from the yaml config file
# will have to be added manually! # will have to be added manually!
self.task.connect(hyp, name='Hyperparameters') self.task.connect(hyp, name='Hyperparameters')
self.task.connect(opt, name='Args')
# Make sure the code is easily remotely runnable by setting the docker image to use by the remote agent # Make sure the code is easily remotely runnable by setting the docker image to use by the remote agent
self.task.set_base_docker("ultralytics/yolov5:latest", self.task.set_base_docker("ultralytics/yolov5:latest",