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
When An Environment Variable Is Tracked Via

When an environment variable is tracked via TRAINS_LOG_ENVIRONMENT="MYENVVAR" will it then be used by the clearml-agent? My env variable is tracked in the GUI, but when I run my code ( print("MYENVVAR", os.environ["MYENVVAR"]) ) on a clearml-agent I get:
raise KeyError(key) from None KeyError: 'MYENVVAR'

  
  
Posted 3 years ago
Votes Newest

Answers 3


ReassuredTiger98

will it then be used by the clearml-agent

Yes, I think that in order to make it work, you have to make sure that the agent is also running with TRAINS_LOG_ENVIRONMENT=MYVAR*
Notice that you can use wildcard or have a list of VARIABLE you allow wither the clearml or the agent to monitor / change.

  
  
Posted 3 years ago

Hi ReassuredTiger98 ,

Can you try TRAINS_LOG_ENVIRONMENT=MYENVVAR instead of TRAINS_LOG_ENVIRONMENT="MYENVVAR" ?

  
  
Posted 3 years ago

TRAINS_LOG_ENVIRONMENT=MYENVVAR works. Thank you!

  
  
Posted 3 years ago