Hi PetiteRabbit11 . This snippet works for me:
` from clearml import Task
from pathlib2 import Path
t = Task.init()
config = t.connect_configuration(Path("config.yml"))
print(open(config).read()) Note the you need to use the return value of
connect_configuration ` when you open the configuration file
If i edit this yaml file and run the task again, the change is not reflected in the code
Oh yes! I was not using the return value, but rather the path to file. Thanks a lot
Hi PetiteRabbit11 , can you please elaborate on what you mean?
SmugDolphin23 Hi. Do you know how to use some parameter of config.yaml file for hyperparameter optimization, like we do with args using DicreteParameterRange etc?
I am viewing a yaml file in clearML UI under configuration objects using task.connect_configuration