Longread translated automatically
Original size 1140x1600

Training a Generative Neural Network in the Style of Artist Andrew Wyeth

PROTECT STATUS: not protected

(1) Goal

Explore the capabilities of generative neural networks and create an atmospheric image series inspired by the works of Andrew Wyeth.

Paintings by Andrew Wyatt

Wyeth’s central theme is quiet provincial life, which, however, bears no resemblance to traditional realism. Everything the artist depicts conveys a sense of unspokenness and the invisible presence of a force that drives the world—though the viewer can only guess what that force might be.

Works by Andrew Wyeth

(2) Stages

2.1

— Checking GPU availability via nvidia-smi — Installing libraries: bitsandbytes, transformers, diffusers, peft (parameter tuning, including LoRA), and the Dreambooth-LoRA training script.

0
1/3

2.2

— Collected a dataset of Andrew Wyeth’s paintings. I used 50 images, all sized 1:1, and uploaded them to Google Colab in a separate directory.

Original size 679x201
Original size 1595x313

Preview of images uploaded to the Google Colab directory

2.3

— Using the BLIP model, a prefix, «painting in the style of WYATT, ” is added to the caption of each image title. File paths and captions are saved in metadata.jsonl.

Original size 1703x549

2.4

— Utilizing the Dreambooth-LoRA technique for fine-tuning Stable Diffusion.

BASE MODELS:

stabilityai/stable-diffusion-xl-base-1.0

VAE madebyollin/sdxl-vae-fp16-fix

PRIMARY TRAINING PARAMETERS:

Resolution: 512×512 Batch size: 2 Learning rate: 1e-4 Number of steps: 500 8-bit Adam (memory optimization) FP16

— Running the training via accelerate

Original size 771x529

(3) Image generation

After completing the course, I use the DiffusionPipeline to generate images based on various prompts. Generation settings: 25 steps, FP16.

Generated images:

Prompt for the image on the left: «An old dilapidated house stands in a field, next to it are several trees» Prompt for the image on the right: «A boy and a grandfather stand on the seashore and look into the distance»

Image prompt on the left — «A girl with one dog is sitting on a hill, in the distance there is a forest» Image prompt on the right — «An old man is leaning on a large tree and looking at the bright moon»

Original size 1024x1024

prompt — «An old woman sits in the kitchen and thoughtfully looks out the window; outside the window is an endless field, and there is a jug on the kitchen table.»

Image prompt on the left—"portrait of a young lady, she is wearing a light beige dress, surrounded by a forest at night, the moon"— Image prompt on the right—"portrait of a young guy sitting on the grass»

Image prompt on the left — «a dark night, an empty living room, a table and four empty chairs around, stars are outside the window» Image prompt on the right — «portrait of a young girl»

(4) Generation Results

The generative model excels at reproducing the pictorial style of the artist I selected.

code notebook

https://disk.yandex.ru/d/C6BbPke-8FApzA

description of the generative model’s application

The project utilized the stable-diffusion-xl-base-1.0 model: https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0

Training a Generative Neural Network in the Style of Artist Andrew Wyeth
Арина Лебедева обучила генеративную нейросеть в стиле художника Эндрю Уайетта, создав атмосферные изображения. Проект включает использование техники Dreambooth-LoRA и модель stable-diffusion-xl-base-1.0 для дообучения.
Project description created with AI
Project created at 10.04.2025
More projects in artificial intelligence
Анна Разливинская обучила генеративную нейросеть стилю художника Айвазовского, чтобы она создавала изображения с узнаваемой манерой его живописи. Модель точно воспроизводит фирменные приемы Айвазовского, такие как игра света на воде и характерные переливы цвета в его полотнах.
Алина Корогодина обучила генеративную нейросеть в стиле игры Alice: Madness Returns, используя скриншоты катсцен из игры. Проект включает создание датасета из 53 изображений и генерацию новых сцен в стиле винтажных иллюстраций с преувеличенными пропорциями.
София Табакина создала LoRA-модель, которая генерирует узнаваемого Гомера Симпсона в различных эмоциях и ситуациях. Проект включает дообучение Stable Diffusion XL на датасете из 67 изображений персонажа с использованием специального токена TOK Homer.
Анастасия Толщина обучила генеративную модель создавать изображения в стиле Клода Моне. Проект включает дообучение нейросети на 1369 нормализованных картинах Моне из Wikiart и публикацию модели в Hugging Face.
cgrave
Portfolio CG Rave — это открытая площадка для авторских портфолио 3D художников. Размещайте свои работы, чтобы их заметили в сообществе CG, ваши будущие коллеги и потенциальные заказчики.
portfolio
tutorials
media