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
Is It Possible To Report A Static Html To A Task And Have It Shown In The Ui? I Used The Following:

Is it possible to report a static html to a task and have it shown in the UI?

I used the following:
task = Task.get_task(<my_task_id>) logger = task.get_logger() logger.report_media("my.html", series=1, iteration=1, local_path=<my_html_path>)
The file uploads and is available on the “debug images” tab under task results, but there’s no preview for it (preferably, I’d have it shown inline in there, but a preview would also work)

Am I doing it right?

  
  
Posted 4 years ago
Votes Newest

Answers 9


Sounds like a better solution. Less clicks required in order to get to my page. Thanks 🙂

  
  
Posted 4 years ago

I think I’d expect to be able to view the page I’m uploading inline, or at least a thumbnail of it.

To clarify - the html I’m creating is an experiment summary which includes metrics/scalars from my experiment, as well as dataset statistics. I’m not sure it should go to the “debug images” tab - that’s just where it went when I used report_media

  
  
Posted 4 years ago

🤩

  
  
Posted 4 years ago

Hi HandsomeCrow5 hmm interesting use case,
we have seen html reports as artifacts, then you can press "download" and it should open in another tab, what would you expect on "debug samples" ?

  
  
Posted 4 years ago

HandsomeCrow5 Seems like the right place would be in the artifacts, as a summary of the experiment (as opposed to on going reporting), is that the case?
If it is then in the Artifacts tab clicking on the artifact should open another tab with your summary, which sounds like what you were looking for (with the exception of the preview thumbnail 🙂

  
  
Posted 4 years ago

Done HandsomeCrow5 +1 added 🙂
btw: if you feel you can share how your reports looks like (screen shot is great), this will greatly help in supporting this feature , thanks

  
  
Posted 4 years ago

HandsomeCrow5
BTW: out of curiosity, how do you generate the html reports. I remember a few users suggesting trains should have a report generating functionality

  
  
Posted 4 years ago

I have a template which I populate on another process I wrote, which runs once my experiment is over.
A report generation functionality sounds great. add my vote for it 🙂

  
  
Posted 4 years ago

HandsomeCrow5 OMG the guys already added it to the debug samples as well, checkout the demo app (drop down "test html sample"):
https://demoapp.trains.allegro.ai/projects/4e7fef090aa849b1acc37d92b59b3360/experiments/83c9ed509f0e421eaadc1ef56b3af5b4/info-output/debugImages

  
  
Posted 4 years ago
1K Views
9 Answers
4 years ago
one year ago
Tags