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
Colors Of Cm Reporting Are Strange... Is It Possible To Adjust The Default Ones

colors of CM reporting are strange... is it possible to adjust the default ones

  
  
Posted 4 years ago
Votes Newest

Answers 26


image

  
  
Posted 4 years ago

seems like if i remove the plt.figure(figsize=(16, 8)) i start to see the figure title but not figure itself

  
  
Posted 4 years ago

allegroai/trains-agent-service image hash 03dc85869afe

  
  
Posted 4 years ago

once i removed the seaborn plot then CM plots becomes visible again

  
  
Posted 4 years ago

Whats the trains server IP? It seems everything is configured with local host?

  
  
Posted 4 years ago

This is strange... Could you send the browser console log, maybe there is an exception there

  
  
Posted 4 years ago

seems like port forwarding had an issue.. fixed that.. now running test again to see if things workout as expected

  
  
Posted 4 years ago

i am simply proxying it using ssh port forwarding

  
  
Posted 4 years ago

What's the trains-server version?

  
  
Posted 4 years ago

There was an issue in some versions where seeborn plots were blank. Is that the case?

  
  
Posted 4 years ago

BTW if the plots are too complicated to convert to interactive plotly graphs, they will be rendered to images and the server will show them. This is usually the case with seaborn plots

  
  
Posted 4 years ago

PompousParrot44 these are the default plotly colors. You can change any of the layout properties with the
https://github.com/allegroai/trains/blob/65a4aa7aa90fc867993cf0d5e36c214e6c044270/trains/logger.py#L600

https://plotly.com/javascript/colorscales/

  
  
Posted 4 years ago

seems like CORS issue in the console logs

  
  
Posted 4 years ago

also one thing i noticed.. when i report confusion matrix and some other plots e.g. seaborn with matplotlib.. on server side i can the plots are there but not visible at all

  
  
Posted 4 years ago

screenshot

  
  
Posted 4 years ago

its not that they are blank.. whole page is blank including plotly plots

  
  
Posted 4 years ago

Okay yes, that's exactly the reason!! Cross origin blocks the file link

  
  
Posted 4 years ago

0.15.1-367

  
  
Posted 4 years ago

will report back

  
  
Posted 4 years ago

trains is run using docker-compose allegroai/trains-agent-services:latest and allegroai/trains:latest

  
  
Posted 4 years ago

this is when executed from directly with task.init()

  
  
Posted 4 years ago

i ran it this week

  
  
Posted 4 years ago

Also there was a truck that worked in the previous big, could you zoom out in the browser, and see if you suddenly get the plot?

  
  
Posted 4 years ago

Could you maybe send a screenshot? This is very strange? Also what's the trains version?

  
  
Posted 4 years ago

allegroai/trains image hash f038c8c6652d

  
  
Posted 4 years ago
883 Views
26 Answers
4 years ago
6 months ago
Tags