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 Wonder If There Is A Way To Setup

I wonder if there is a way to setup Task such that it would raise an error if the env where execution happens is not configured to track things on our custom server to prevent logging to the public demo server ?
Workaround I see is to check get_output_log_web_page(). I'm aware of set_credentials but I do not want to call it inside the script neither...

  
  
Posted 3 years ago
Votes Newest

Answers 4


Hi TightElk12

it would raise an error if the env where execution happens is not configured to track things on our custom server to prevent logging to the public demo server ?

What do you mean by that? catching the default server instead of the configured one ?

  
  
Posted 3 years ago

Hi AgitatedDove14
if there is no clearml.conf on the system, then the script with Task.init("a", "b") will create project "a" and task "b" on demoapp server.
User can also do the following:
Task.set_credentials(...) Task.init("a", "b")and now it will go to provided api_host etc, still without clearml.conf file.
Now, I would like to raise an issue if api_host is the default one (the one when without clearml.conf file) and thus tracking is going to public demoapp server.

But actually, there can be few workarounds:
check if "~/clearml.conf" exists or not use set_credentials to explicitly setup the server.
I was just wondering if we could have a flag though in Task to prevent logging to demoapp...

  
  
Posted 3 years ago

Thanks AgitatedDove14 ! This is what was I was looking !

  
  
Posted 3 years ago

I see TightElk12

You can always setup the OS environments : CLEARML_API_HOST CLEARML_WEB_HOST CLEARML_FILES_HOST with the correct configuration Or you can simply set CLEARML_NO_DEFAULT_SERVER=1 which will prevent any usage of the default demo serverwdyt?

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