clearml icon indicating copy to clipboard operation
clearml copied to clipboard

Custom preview of datasets

Open jax79sg opened this issue 11 months ago • 1 comments

Instead of just automatically selecting samples to preview from dataset, allow users to either upload them separately as well.

Motivation

There are situations where we would want to prevent previews from being shown, for security reason. In other cases, we might like to select the sample that best represents the diversity of the datasets. Today we have no control to add nor remove any sample previews from the clearml datasets UI.

Related Discussion

If this continues a slack thread, please provide a link to the original slack thread.

jax79sg avatar Aug 02 '23 10:08 jax79sg

Hi @jax79sg! We indeed don't have an interface for this (we should). In the meantime, you could report custom samples using

Task.current_task().get_logger().report_media(oneof(["Images", "Videos", "Audio", "HTML", "JSON"]), file_name, local_path=file_path)

or

Task.current_task().get_logger().report_table("Tables", "summary", table_plot=table_plot)