Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
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 Ge

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

  
  
Posted 2 years ago
Votes Newest

Answers


Regarding the packages issue:
What python did you run on originally - Because it looks that 1.22.3 is only supported by python 3.8. You can circumvent this entire issue by running in docker mode with a docker that has 3.7 pre-installed

Regarding the data file loading issue - How do you specify the path? Is it relative?

  
  
Posted 2 years ago
638 Views
1 Answer
2 years ago
one year ago
Tags
Similar posts