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
Hey, Guys! Could You Help Me To Find Out If There'S An Adequate Way To Track An Experiment With Clearml If I'M Running It As A Black-Box Bash Script?

Hey, guys!
Could you help me to find out if there's an adequate way to track an experiment with Clearml if I'm running it as a black-box bash script?

  
  
Posted 6 months ago
Votes Newest

Answers 4


Hi @<1523701345993887744:profile|SillySealion58> , can't you add a file that will do Task.init() and than call the __main__ part of train.py?

  
  
Posted 6 months ago

Has anyone done something similar? How did you manage to track real-time data about the experiment to Clearml?

  
  
Posted 6 months ago

More precisely, I'm using Llama factory and I'm running train scripts from there it, like python train.py ... , without editing them. Therefore I can't create a Clearml Task inside this process to record the experiment to. Of course I can manually add all the parameters, metrics and artifacts afterwards, but ideally, I'd like to be able to have real-time logs of my Llama-factory-experiment in Clearml. The package has integrations with Tensorboard, W&B and other monitoring tools, but, apparently, not with Clearml.

  
  
Posted 6 months ago

Hi, Jake!
Thanks for your response! I just managed to solve the problem by running my train CLI command in a subprocess and creating a thread to capture the stdout from this subprocess and send it to a Clearml Task. The solution doesn/t even seem too ugly as I was afraid it would be 😀

  
  
Posted 6 months ago
544 Views
4 Answers
6 months ago
6 months ago
Tags