kohya-ss / kohya-ss/sd-scripts

[SDXL] Sample generation during training not working

Open
#622 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.2k
Forks
1.2k
Avg merge
11m
Merged PRs (30d)
2

Description

Here are examples of samples that was generated when i trained a short test dreambooth for just 400 steps(sample every 100 steps)
![image](https://github.com/kohya-ss/sd-scripts/assets/599468/f7cfd3f8-41c0-437a-ba6a-65796e8ded46)

But when i ran the the minimal sdxl inference script on the model after 400 steps i got
![image](https://github.com/kohya-ss/sd-scripts/assets/599468/0c4a32f3-46f1-4e6e-bcda-b590f3e7d313)

I think part of the problem is samples are generated at a fixed 512x512, sdxl did not generate that good images for 512x512 in general. But don't think that is the main problem as i tried just changing that in the sampling code and images are still messed up

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the 400-step SDXL DreamBooth training run and compare its training-time samples with the minimal SDXL inference script output. Start by reading the sampling code, including its fixed 512x512 settings, and test whether changing the sampling resolution affects the result. Done means identifying and correcting the cause of the malformed samples, with matching validation images from both paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.