Unanswered
Hello, Is There A Way To Update A Task Diff Programatically?
Eg, I'M Creating A Task Using
AgitatedDove14
I'm creating it like thistask = clearml.Task.create( task_name=task_name, project_name=settings.project, repo=settings.tps_repo, script=ep_fn, docker=settings.image, docker_args="-e TRAIN_CONFIG={} -e VALIDATION_CONFIG={} -e EXP={} -e EXP_CWD={} -e EXP_GIT={} {}".format( settings.train, settings.validation, settings.exp, settings.cwd, settings.cwd_git, settings.docker_args ), add_task_init_call=False )
it might be that the problem is the path where clearml is doing the git diff, it seems it's following the path of the script i'm using to task.create, eg:
env PATH=/path/to/clearml_run.py
cd /repo/base/path
python3 clerarml_run.py <args>
clearml will try to find repos at /path/to/clearml_run.py
145 Views
0
Answers
3 years ago
one year ago