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
Has Anyone Used Dynaconf With Clearml? Trying To Decide Whether To Migrate To Hydra Or Stick With Dynaconf. Would Love To Take Advantage Of Automatic Logging Of The Hyperparameters

has anyone used dynaconf with ClearML? trying to decide whether to migrate to hydra or stick with dynaconf. would love to take advantage of automatic logging of the hyperparameters

  
  
Posted one year ago
Votes Newest

Answers 11


right now I'm doing

# clear existing configs in case we're rerunning the notebook
if hydra.core.global_hydra.GlobalHydra().is_initialized():
    hydra.core.global_hydra.GlobalHydra.instance().clear()

# initialize Hydra
hydra.initialize(
    version_base=None,
    config_path=".",
    job_name="test_app",
)

# use the compose API since we're running in a notebook instead of __main__
cfg = hydra.compose(
    config_name="config", 
    overrides=[],
)

# report in ClearML Config UI
clearml.binding.hydra_bind.PatchHydra._register_omegaconf(cfg)

Which works for my purposes. Not sure if there's a good way to automate it - I'll just make it part of my team's internal library for setting up ClearML and assigning names to experiments, etc

  
  
Posted one year ago

Hmm and how would you imagine a transparent integration here (the example looks like a lot of boilerplate code...)

  
  
Posted one year ago

Yeah, I think that'd work

  
  
Posted one year ago

Which works for my purposes. Not sure if there's a good way to automate it

Interesting, so if we bind to hydra.compose it should solve the issue (and of course verify we are running on a jupyter notebook)
wdyt?

  
  
Posted one year ago

Hmm that makes sense to me, any chance you can open a github issue so we do not forget ? (I do not think it should be very complicated to fix)

  
  
Posted one year ago

None

  
  
Posted one year ago

yep! None

  
  
Posted one year ago

done: None

  
  
Posted one year ago

cool, if I call clearml.binding.hydra_bind.PatchHydra._register_omegaconf(cfg) directly inside the notebook I can manually cause it to log the Hydra config, it just doesn't seem to autodetect if you're doing a manual call to Hydra Compose

  
  
Posted one year ago

Hi @<1532532498972545024:profile|LittleReindeer37>
Does Hydra support notebooks ? If it does, can you point to an exapmle?

  
  
Posted one year ago

and is there any way to capture hydra from a notebook as a Configuration? you don't use the typical @hydra.main() but rather call the compose API , and so far in my testing that doesn't capture the OmegaConf in ClearML

  
  
Posted one year ago
632 Views
11 Answers
one year ago
one year ago
Tags