Longread translated automatically
Original size 652x870

Training a generative neural network on the style of Claude Monet.

PROTECT STATUS: not protected

The project’s concept is to train a generative neural network to create drawings based on paintings by the renowned artist Claude Monet.

The neural network training material consisted of 35 paintings by the artist.

0
1/5

Examples of Learning

Final Series

prompt for both images: «cat fight»

Original size 767x765

barbie

Original size 760x762

Lion King cartoon portrait

Original size 764x769

A couple sitting on a bench in a garden

Original size 759x763

chickens are having a dinner with humans

Original size 761x763

anthropomorphic Fantastic Mr. Fox

Original size 758x761

The Grinch is taking Christmas gifts

Final Project Analysis

It is notable that the neural network excels at replicating an artist’s individual style. It is capable of recreating work with brushstrokes characteristic of Claude Monet and selecting a similar color palette—one that is not overly bright, yet expressive.

The work of the neural network versus the work of the artist

Like any modern neural network, this model has some minor flaws in its images. However, these flaws are not conspicuous and do not form the focal point of the composition.

Despite the stylistic unity across all works, one can observe that the color palette is extremely diverse. Much like an artist, the neural network uses color to evoke different moods for various tasks.

A dark and vibrant work by a neural network

Similar dark and bright palettes in the artist’s paintings

Code Analysis

To train a neural network to generate images based on a written prompt in the style of a specific artist, the first step was to compile a dataset of that artist’s work—in my case, Claude Monet—and then process those images. The neural network was implemented on Kaggle. Training the network required employing methods such as Fine-tuning Stable Diffusion XL—to enhance the generative SDXL model using the collected image dataset and achieve the stylistic quality of Claude Monet’s work—DreamBooth—which generates images based on textual descriptions, and LoRA—which allowed for more productive training with less computational overhead and without the need to update the neural network’s parameters, thus easing resource consumption.

First, the environment was prepared in the code.

Original size 991x408

The next part of the code is to create the directory and copy the dataset into it.

Original size 456x129
Original size 635x450

Preview

The next step was creating an auto-caption for each image so the neural network could recognize specific objects within the image and generally understand what it was seeing.

Original size 1845x752

Next, the Stable Diffusion XL model training began. Training utilized 1,000 steps; intermediate steps were not required, and checkpoints were saved every 500 steps.

Original size 602x435
Training a generative neural network on the style of Claude Monet.
Камилла Сабирова обучила генеративную нейросеть стилю художника Клода Моне, чтобы создавать изображения в его манере. Нейросеть воссоздаёт индивидуальный стиль Моне, используя его палитру и характерные мазки, но допускает небольшие неточности в деталях.
Project description created with AI
Project created at 10.04.2025
More projects in artificial intelligence
Евгения Жестерева обучила генеративную нейросеть портретам Х.С. Сутина, чтобы создать изображения в его стиле. Модель генерирует картины с нестандартными формами лиц и крупными мазками, но с менее яркими и разнообразными эмоциями, чем у самого художника.
Гиляна Шарбаева обучила нейросетевую модель на основе своих художественных работ для выявления собственного стиля. Обученная модель повторила технику color dodge и создала генерации с живописными мазками и контрастными цветами.
Ксения Малышева обучила генеративную нейросеть создавать изображения в стиле американских ретро-открыток середины XX века. Модель имитирует яркие, но выцвевшие цвета, зернистость и добавляет характерные дефекты печати, характерные для оригинальных открыток.
Алиса Юрчук обучила генеративную нейросеть на основе работ Василия Ложкина, чтобы создать изображения в его стиле. Модель сохранила ключевые элементы и композицию оригинальных картин, включая рыжих котов и спокойный фон.
cgrave
Portfolio CG Rave — это открытая площадка для авторских портфолио 3D художников. Размещайте свои работы, чтобы их заметили в сообществе CG, ваши будущие коллеги и потенциальные заказчики.
portfolio
tutorials
media