Closed CourchesneA closed 10 months ago
@CourchesneA Do note that set_project()
and move_to_project
take either project ID or project name, do you should name your parameter (which seems to be what you did here).
Does this help?
That's what I was missing, thanks !
Describe the bug
I am using pytorch lightning, and I use the CLI module. Since the argument parsing happens at the same time as the training, I don't have access to all the information when I call
clearml.Task.init()
. So I set info manually after training + parsing usingmytask.set_project()
andmytask.set_name()
. The end result is that only the name was set, but the project was not modified.To reproduce
Expected behaviour
Expected: clearml has task "mytaskname" in project "myproject"
Actual: clearml has task "mytaskname" in project "default_project"
Environment
Related Discussion
https://github.com/allegroai/clearml/issues/1164#issuecomment-1834114634