Reputation
Badges 1
108 × Eureka!It only works that we set the CLEARML_CONFIG_FILE before script running
before i renamed it, i can log the experiment successfully, i basically add task.init to the python script then just run that script
Oh this is one line missing on the above code
i only want to use clearml agent to change the conf file
So what if i want three tasks running in parallel, should i Task.init in the main process and change the task name in the sub process?
How can I do to help extend it?
but the thing is that i can only use master to log everything
I tried from clearml.backend_api.session import client no luck
i’m setting the environment variable in the python script like thisos.environ['CLEARML_CONFIG_FILE'] = str(Path.home()/f"clearml-{socket.getfqdn()}.conf")
then task.init
Yeah the ultimate goal I'm trying to achieve is to flexibly running tasks for example before running, could have a claim saying how many resources I can and the agent will run as soon as it find there are enough resources
never done this before, let me do a quick search
Yes, i think trains might wrap the torch.load function, but the thing is that i need to load some part of the dataset using torch.load, so this error shows up many time during training, I found i can use this line:task = Task.init(project_name="Alfred", task_name="trains_plot", auto_connect_frameworks={'pytorch': False})
but does it mean i cannot monitor torch.load function any more?
it’s shared but only user files, everything under ~/ directory
in my case, we need to evaluate the result across many random seeds, so each task needs to log the result independently.
i was trying to copy the content of that file
then i run the second one, it basically outputs the same as just init
Guess my best chance is to check out the agent source code right?
Or can I enable agent in this kind of local mode?
what i want to do is to init one task and multiple works can log with this one task in parallel. TimelyPenguin76
when i run this one clearml-agent --config-file ~/clearml-iris.conf
it output the help info