datumaro.plugins.synthetic_data.image_generator#

Classes

FractalImageGenerator(output_dir, count, shape)

ImageGenerator generates 3-channel synthetic images with provided shape.

class datumaro.plugins.synthetic_data.image_generator.FractalImageGenerator(output_dir: str, count: int, shape: Tuple[int, int], model_path: str = '/home/runner/.cache/datumaro')[source]#

Bases: DatasetGenerator

ImageGenerator generates 3-channel synthetic images with provided shape. Uses the algorithm from the article: https://arxiv.org/abs/2103.13023

generate_dataset() None[source]#