- avalanche.evaluation.metrics.images_samples_metrics(*, n_rows: int = 8, n_cols: int = 8, group: bool = True, on_train: bool = True, on_eval: bool = False) List[PluginMetric]
Create the plugins to log some images samples in grids. No data augmentation is shown. Only images in strategy.adapted dataset are used. Images added in the dataloader (like the replay plugins do) are missed.
n_rows – The numbers of raws to use in the grid of images.
n_cols – The numbers of columns to use in the grid of images.
group – If True, images will be grouped by (task, label)
on_train – If True, will emit some images samples during training.
on_eval – If True, will emit some images samples during evaluation.
The corresponding plugins.