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 All, Hope You’Re All Doing Well. I’M Running A Self-Deployed Server (0.17, I Think, Where Can You Find The Version In Use?). I’M Having Trouble With The Automatic Plot Capture. If I Run

Hey all, hope you’re all doing well.

I’m running a self-deployed server (0.17, i think, where can you find the version in use?). I’m having trouble with the automatic plot capture. If I run matplotlib_example.py on my machine, only two plots end up being reported in the plots section.

However, if I invoke task.logger.report_matplotlib_figure() before plt.show() , the other plots will be included. I’m at a loss for how to debug this. Any thoughts?

  
  
Posted 3 years ago
Votes Newest

Answers 30


Will do! 🙂

  
  
Posted 3 years ago

installed all of those using pip

  
  
Posted 3 years ago

Okay let's see if I can reproduce it:
new conda env py==3.8 install clearml == 0.17.5rc5 matplotlib == 3.3.4 numpy == 1.20.1 seaborn == 0.11.1Clone repo run `python examples/frameworks/matplotlib/matplotlib_example.pyRight ?

  
  
Posted 3 years ago

Sure thing, hopefully I'll remember to ping tomorrow once GitHub is synced, I'd appreciate it if you could verify the fix works 🙂

  
  
Posted 3 years ago

Okay good news, there is a fix, bad news, sync to GitHub will only be tomorrow

  
  
Posted 3 years ago

yes, sorry for not catching that earlier—doesn’t seem to change anything

  
  
Posted 3 years ago

I think we were able to fix it, let me check if it was pushed 🙂

  
  
Posted 3 years ago

Okay give me a minute

  
  
Posted 3 years ago

Yes very

  
  
Posted 3 years ago

i appreciate your help today. it can’t be very fun working on a sunday. i hope you get some relax time away from the computer today, and look forward to hearing more when you are working.

i did want to point out, though, that when manually reporting, it looks like the plots don’t get “cleared” properly: https://demoapp.demo.clear.ml/projects/52eb5c9d938244daaa6fa460edce5e22/experiments/78fa65250e0544d7b50425a82dde75f5/info-output/metrics/plots?columns=selected&columns=type&columns=name&columns=tags&columns=status&columns=project.name&columns=users&columns=started&columns=last_update&columns=last_iteration&columns=parent.name&order=last_update

  
  
Posted 3 years ago

Hmm that is odd, but at least we have a workaround 🙂
What's the matplotlib backend ?

  
  
Posted 3 years ago

Hi NastyFox63 could you verify the fix works?
pip install git+

  
  
Posted 3 years ago

yep, i’d be glad to

  
  
Posted 3 years ago

okay, that’s a fresh install, and the backend is agg:
` Python 3.8.8 (default, Feb 24 2021, 21:46:12)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.

import matplotlib
matplotlib.get_backend()
'agg' `
the machine is headless, and there’s no window server running.

  
  
Posted 3 years ago

this also fixed a couple other bugs i was seeing. Thanks very much to you for your help and please pass my thanks on to the team as well.

  
  
Posted 3 years ago

that sounds like all good news to me! thanks for the info 🙂

  
  
Posted 3 years ago

but could you try with the latest RC?

  
  
Posted 3 years ago

Let me check something

  
  
Posted 3 years ago

yep

  
  
Posted 3 years ago

hey Martin.B, wondering if you were able to find anything out about this?

  
  
Posted 3 years ago

Okay verified, it's the 'Agg' backend

  
  
Posted 3 years ago

pip3 install clearml==0.17.5rc5

  
  
Posted 3 years ago

Yey!

  
  
Posted 3 years ago

i think the fix worked 🙂

  
  
Posted 3 years ago

very strange

  
  
Posted 3 years ago