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
Can You Please Tell Me, Did Anyone Come Across A Situation When The Python Script Starts To Hang When Adding Clearml Logger? Namely, Its Launch Inside The Docker Container Does Not Complete, Although It Reaches The Endpoint. In This Case, If You Start Wi

Can you please tell me, did anyone come across a situation when the Python script starts to hang when adding clearml logger?

namely, its launch inside the docker container does not complete, although it reaches the endpoint.
In this case, if you start without logging, then the completion occurs.

  
  
Posted 2 years ago
Votes Newest

Answers 7


TimelyPenguin76
As I remember, the last one is 1.1.4
What exactly do you mean about task logger?

  
  
Posted 2 years ago

task.get_logger()?
get_logger not use

  
  
Posted 2 years ago

and dell tasks, and all ok:
` #task = Task.init(
project_name=f"RL_experiments/{cfg.train.env_train.target.split('.')[-1]}/{'/'.join(cfg.train.trainmodule.target.split('.')[-2:])}",
task_name="demo",
reuse_last_task_id=False)

#task.connect(dict(OmegaConf.to_container(cfg, resolve=True)))

logger = get_logger("train_ql", log_level=cfg.base.log_level)
logger.info(f"cfg:\n{OmegaConf.to_yaml(cfg)}")
tmp_values = train_dqn_task(cfg.train, cfg.base)
#task.mark_completed() `
  
  
Posted 2 years ago

Hey CheerfulGorilla72 , whats the clearml version you are using? Are you trying to use the task’s logger?

  
  
Posted 2 years ago

i run:
` task = Task.init(
project_name=f"RL_experiments/{cfg.train.env_train.target.split('.')[-1]}/{'/'.join(cfg.train.trainmodule.target.split('.')[-2:])}",
task_name="demo",
reuse_last_task_id=False)

task.connect(dict(OmegaConf.to_container(cfg, resolve=True)))

logger = get_logger("train_ql", log_level=cfg.base.log_level)
logger.info(f"cfg:\n{OmegaConf.to_yaml(cfg)}")
tmp_values = train_dqn_task(cfg.train, cfg.base)
task.mark_completed() `
  
  
Posted 2 years ago

docker run --rm -v /srv:/root/srv -v /srv/data/apatshin_docker/airflow/dags/voyager:/voyager voyager:cpu python3.7 /voyager/src/pipeline/train_task_dqn_demo.py

  
  
Posted 2 years ago

For reference
I have now locally raised Clearml on a nearby machine and logging is configured as in the textbook - all metrics are worked out.
On the machine where I run docker, I just copied the clearml.conf file. Maybe you need to do something else (send the /opt/clearml folder and drop it into the docker image?)?

  
  
Posted 2 years ago
637 Views
7 Answers
2 years ago
one year ago
Tags