DEV Community

Julien Simon
Julien Simon

Posted on • Originally published at julsimon.Medium on

Video: generate synthetic data with Stable Diffusion to augment computer vision datasets

Building image datasets is hard work. Instead of scraping, cleaning and labeling images, why not generate them directly with a Stable Diffusion model?

In this video, I show you how to generate new images with a Stable Diffusion model and the diffusers library, in order to augment an image classification dataset. Then, I add the new images to the original dataset, and push the augmented dataset to the Hugging Face hub. Finally, I fine-tune an existing model on the augmented dataset.

Top comments (0)