pe.callback.image.sample_images module
- class pe.callback.image.sample_images.SampleImages(num_images_per_class=10)[source]
Bases:
Callback
The callback that samples images from the synthetic data.
- __call__(syn_data)[source]
This function is called after each PE iteration that samples images from the synthetic data.
- Parameters:
syn_data (
pe.data.Data
) – Thepe.data.Data
object of the synthetic data- Returns:
A metric item with the list of sampled images
- Return type: