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 Clearml

Hi clearml 🙂 , I wanted to ask you a simple question about the clearml.conf .

What is the most " pythonic " way to parse clearml.conf ? I am built an application that talks to clearml, and I would to dynamically change the url of clearml on demand ... without re-creating my app image;

or is there a way of trigger the clearml-init via python sdk or without a terminal?
thanks a lot

  
  
Posted 2 years ago
Votes Newest

Answers


Hi FreshKangaroo33
clearml.conf is HOCON format, to parse you can use pyhocon:
https://github.com/chimpler/pyhocon
Or the built in version of clearml:
from clearml.utilities.pyhocon import ConfigFactory config_dict = ConfigFactory.parse_string(text).as_plain_ordered_dict()You can also just get the parsed object
from clearml.config import config_obj

  
  
Posted 2 years ago
983 Views
1 Answer
2 years ago
one year ago
Tags