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
Another Question: How Do I Make Clearml Acknowledge/Recgonize A Local Python Module That I Am Using Say I Have A Local Config.Py In Root Directory And A Task Nested In Root_Directory/Tasks Folder Atm, When I Run Clearml Remotely, He Gives Me An Error: Im

another question:
how do i make clearml acknowledge/recgonize a local python module that i am using
say i have a local config.py in root directory
and a task nested in root_directory/tasks folder
atm, when i run clearml remotely, he gives me an error:

import mlops.mlops_config as mlops_config
ModuleNotFoundError: No module named 'mlops'

  
  
Posted one year ago
Votes Newest

Answers 6


Hey @<1523701087100473344:profile|SuccessfulKoala55> , thanks for the quick response
I'm not sure I understand, but that might just be my lack of knowledge, to clarify:

i am running the task remotely on a worker with the --docker flag.
how can i add the root folder to PYTHONPATH?
as far as I understand, clearml is creating a new venv inside this docker, with its own python executeable, (which i don't have access to in advance)

  
  
Posted one year ago

@<1544853695869489152:profile|NonchalantOx99> sorry I missed this 🙏 - saw you already found the answer 🙂

  
  
Posted one year ago

That's just python failing to find the package. It will probably work if the root folder is in PYTHONPATH

  
  
Posted one year ago

@<1523701087100473344:profile|SuccessfulKoala55> hey jake, in case you've missed my answer
am i making sense?

  
  
Posted one year ago

yes jake 🙂 thank you 🙂

  
  
Posted one year ago

basicaly now i understand that I do need to define a PYTHONPATH inside my dockerimage
my only problem is that the path depends on the clearml worker
for example, i see that the current path is:
File "/root/.clearml/venvs-builds/3.10/task_repository/palmers.git

is there a way for me to know that dynamiclly?

  
  
Posted one year ago
1K Views
6 Answers
one year ago
one year ago
Tags