I am trying to run a task on an agent for the first time but I am running into some things I do not understand, I hope someone can help me out with this.
I got an agent running on google colab, but when I clone a task and enqueue it from the web UI, I get these errors:
ERROR: Could not find a version that satisfies the requirement numpy==1.22.3 (from -r /tmp/cached-reqs7xmdixx_.txt (line 6)) (from versions: 1.3.0, 1.4.1, 1.5.0, ......) ERROR: No matching distribution found for numpy==1.22.3 (from -r /tmp/cached-reqs7xmdixx_.txt (line 6)) ERROR: Could not install task requirements! Command '['/root/.clearml/venvs-builds/3.7/bin/python', '-m', 'pip', '--disable-pip-version-check', 'install', '-r', '/tmp/cached-reqs7xmdixx_.txt']' returned non-zero exit status 1.
These are requirements that are not in my requirements.txt file.
I searched in the questions here and found a solution, namely adding this line:
Task.force_requirements_env_freeze(requirements_file="requirements.txt")
I had to add some things to my requirement file but at least it did not crash while installing packages.
The new problem that arises now is that the agent cannot find the file I try to load:
OSError: Unable to open file (unable to open file: name = 'data/expression/expression.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
The file is located in the same folder as the script that is used for the task.
Does this have something to do with the fact that I changed the environment setup by adding that line? Or how do I solve this? I cannot seem to find something about this in the docs.
Thanks in advance!
Versions (run on google colab):
clearml 1.3.2
clearml-agent 1.2.3