Unanswered
when running inside an agent we will get
Hi. After Upgrading Clearml To Latest Version, Got This Error From My Pipeline (Windows10, Configured And Running Tensorflowod For Tf 2.3.):
Hmm so if I understand what's going on, convert_test.py
needs to have the test.json
, since it creates the test.json but it does not call git add
on it, the test.json will not be part of the git diff
hence missing when executing remotely by the agent.
If test.json is relatively small (i.e. not 10s of MB) you could store it as configuration on the Task. for example:
` local_copy_of_test_json = task.connect_configuration('/path/to/test.json', name='test config')
print(local_copy_of_test_json)
when running locally we will get '/path/to/test.json'
when running inside an agent we will get '/tmp/temp_path/test.json' and the content of this json will be coming from the UI "configuration object" 'test config'
This will store the content of test.json on the Task as configuration object named 'test config' , then when runnign remotely it will create a temp file with the same content (coming from the Task).
If you need to move the temp file to the current execution dir, you can always copy it.
wdyt?
128 Views
0
Answers
3 years ago
one year ago
Tags