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, Can I Get Clearml To Not Print Anything Other Than The Prints From My Codes? The Reason Is Because Clearml Is Printing The Username And Passwords I Passed To The Container Via Env Vars.

Hi, can i get ClearML to not print anything other than the prints from my codes? The reason is because clearml is printing the username and passwords i passed to the container via env vars.

from clearml import Task, Logger task = Task.init(project_name='DETECTRON2',task_name='Default Model Architecture',task_type='training') task.set_base_docker("quay.io/jax79sg/detectron2:v4 --env GIT_SSL_NO_VERIFY=true --env TRAINS_AGENT_GIT_USER=testuser --env TRAINS_AGENT_GIT_PASS=testuser" ) task.execute_remotely(queue_name="1gpu", exit_process=True)
e.g. The log segments at the bottom.
2021-05-23 22:02:15 ClearML Task: created new task id=52a37845995f417eae3bba88e1f08284 ClearML results page: `
2021-05-23 22:02:16
task 52a37845995f417eae3bba88e1f08284 pulled from f03539fca75f461ab3e6297186bdb045 by worker master-node:gpu0

Running Task 52a37845995f417eae3bba88e1f08284 inside docker: quay.io/jax79sg/detectron2:v4 arguments: ['--env', 'GIT_SSL_NO_VERIFY=true', '--env', 'TRAINS_AGENT_GIT_USER=testuser', '--env', 'TRAINS_AGENT_GIT_PASS=testuser']
2021-05-23 22:02:17

Executing: ['docker', 'run', '-t', '--gpus', '"device=0"', '--env', 'GIT_SSL_NO_VERIFY=true', '--env', 'TRAINS_AGENT_GIT_USER=testuser', '--env', 'TRAINS_AGENT_GIT_PASS=testuser', '-e', 'CLEARML_WORKER_ID=master-node:gpu0', '-e', 'CLEARML_DOCKER_IMAGE=quay.io/jax79sg/detectron2:v4 --env GIT_SSL_NO_VERIFY=true --env TRAINS_AGENT_GIT_USER=testuser --env TRAINS_AGENT_GIT_PASS=testuser', '-v' `

  
  
Posted 3 years ago
Votes Newest

Answers 3


I'm thinking that the ClearML Agent should not display passwords in the known env vars (i.e. CLEARML_AGENT_GIT_PASS / TRAINS_AGENT_GIT_PASS ), and also possibly add an option to specify other env var names that should be concealed (in case you're passing your own custom ones)

  
  
Posted 3 years ago

Hi SubstantialElk6 , that's a very good point, we should fix that - can you please open a GH issue?

  
  
Posted 3 years ago

Hi SuccessfulKoala55 , thanks. Opened issue on the CLearml-Agent GH at https://github.com/allegroai/clearml-agent/issues/67

  
  
Posted 3 years ago
981 Views
3 Answers
3 years ago
one year ago
Tags