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
Hi I Have A Question: I Have 2 Python Scripts: The First Python Script Is Running The 2. The Imports In The First Script Are Working. But When I Run The Programm On The Gpu I Get For Example The Mistake: No Module Named Tensorflow. This Is A Import In The

Hi
I have a question:
I have 2 python scripts:
the first python script is running the 2.
The imports in the first script are working. But when I run the programm on the gpu I get for example the mistake:
No module named tensorflow. This is a import in the 2. python script.
How can I solve this?

  
  
Posted 3 years ago
Votes Newest

Answers 4


Any chance you actually run the second script with Popen (i.e. calling the python as a subprocess) ?

  
  
Posted 3 years ago

The scripts are all in the git repo.
But still the same problem.
I use os.system.
Is there a better way to call the other python script?

  
  
Posted 3 years ago

Hi UnsightlySeagull42
Just making sure, the two scripts are on your git repo ?

  
  
Posted 3 years ago

os.system

Yes that's the culprit, it actually runs a new process and clearml assumes that there are no other scripts in the repository that are used, so it does not analyze them
A few options:
Manually add the missing requirement Task.add_requirements('package_name')make sure you call it before the Task.init
2. import the second script from the first script. This will tell clearml to analyze it as well.
3. Force the entire clearml to analyze the whole repository: https://github.com/allegroai/clearml/blob/9b962bae4b1ccc448e1807e1688fe193454c1da1/docs/clearml.conf#L162

  
  
Posted 3 years ago
1K Views
4 Answers
3 years ago
one year ago
Tags
Similar posts