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
Wondering Why My Plots Are Not In Plot Section But Under Debug Section

wondering why my plots are not in plot section but under debug section

  
  
Posted 4 years ago
Votes Newest

Answers 23


Hi PompousParrot44 , the distinction based on matplotlib, imshow display the data as an image, and images are going to debug section.

what do you think?

  
  
Posted 4 years ago

Hi PompousParrot44 ,

Do you use plt.imshow ? If you run this example, https://github.com/allegroai/trains/blob/master/examples/frameworks/matplotlib/matplotlib_example.py , do you get some outputs in the plots section?

  
  
Posted 4 years ago

yes i do use plt.imshow

  
  
Posted 4 years ago

If you like to create a plot (not an image plot) use show without imshow

  
  
Posted 4 years ago

or is there any plan to fix it in upcoming release

  
  
Posted 4 years ago

simply changing to show doesn't work in my case as i am displaying CM.. what about if i use matshow

  
  
Posted 4 years ago

ok will give it a try and let you know

  
  
Posted 4 years ago

PompousParrot44 since imshow display data as an image, we currently log it into the debug samples section as this is the section natively used to display and interact with images.

Do you think it should be under plots?

  
  
Posted 4 years ago

TimelyPenguin76 also is there any reason for trating show and imshow differently

  
  
Posted 4 years ago

đź‘Ť appreciate if you can open a https://github.com/allegroai/trains/issues so we can consider this for future versions

  
  
Posted 4 years ago

Can you give an example of how you use matplotlib?

  
  
Posted 4 years ago

Currently, imshow plots are showing in debug samples section.

  
  
Posted 4 years ago

ah ok.. anyway to avoid it or change it on my side

  
  
Posted 4 years ago

simply changing to 

show

doesn’t work in my case as i am displaying CM.. what about if i use 

matshow

Can you share with me some code you have (just the matplot part)? What about the example? if you run it, do you get some plots in plots section and some in debug?

  
  
Posted 4 years ago

TimelyPenguin76 yeah when i run matplotlib with show plots does land under Plot section... so its mainly then the imshow part.. i am wondering why the distinction and what is the usual way to emit plots to debug samples

  
  
Posted 4 years ago

it may be that i am new to trains but in my normal notebook flow they both are images and i as trains user expected it to be under the Plot section as i think this is an image.. as in nutshell all matplotlib plots display data as an image 🙂

  
  
Posted 4 years ago

Hi PompousParrot44 ,
Regarding the console error, do you still see it? There was a temporary issue with a service responding to this update check, so this error makes sense, but it's in no way critical and should not affect anything

  
  
Posted 4 years ago

yeah i still see it.. but that seems to be due to dns address being blocked by our datacenter

  
  
Posted 4 years ago

as i am seeing now my plots but they are lending into metrics section not plot section.

  
  
Posted 4 years ago

whereas i am using simple matplotlib now

  
  
Posted 4 years ago

any logs i can check or debug my side

  
  
Posted 4 years ago

đź‘Ť

  
  
Posted 4 years ago

so as you say.. i don't think the issue i am seeing is due to this error

  
  
Posted 4 years ago