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
From The Python Code Point Of View, How Do You Detect If It Is Running Locally Or Via Clearml-Agent ?

From the python code point of view, how do you detect if it is running locally or via clearml-agent ?

  
  
Posted 7 months ago
Votes Newest

Answers


from clearml import Task

if Task.running_locally():
  print("Running locally")
  ...

OR

from clearml.config import running_remotely

if running_remotely():
  print("Running remotely")
  ...
  
  
Posted 7 months ago
479 Views
1 Answer
7 months ago
7 months ago
Tags