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, Its Probably Easy. But I Can Seem To Understand

Hi, its probably easy. but i can seem to understand 😞
does anyone here know? how do i set _allow_omegaconf_edit=true
i have tried to add to the command line hydra._allow_omegaconf_edit=true

  
  
Posted one year ago
Votes Newest

Answers


Hi @<1546303277010784256:profile|LivelyBadger26> ! You can either manually change it in the UI, or use None to set it in your code. Our modified example:

import hydra

from omegaconf import OmegaConf

from clearml import Task


@hydra.main(config_path="config_files", config_name="config", version_base=None)
def my_app(cfg):
    # type (DictConfig) -> None
    task = Task.init(project_name="examples", task_name="Hydra configuration")
    task.set_parameter("Hydra/_allow_omegaconf_edit_", True, value_type=bool)
    logger = task.get_logger()
    logger.report_text("You can view your full hydra configuration under Configuration tab in the UI")
    print(OmegaConf.to_yaml(cfg))


if __name__ == "__main__":
    my_app()
  
  
Posted one year ago