kohya-ss / kohya-ss/sd-scripts
ideal number of regularisation images? double steps?
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.2k
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
Hi
When enabling regularisation, a flat * 2 modifier is added to the step count, so we will run twice as many steps.
Can someone help me understand why the steps must be doubled, does this assume that we will have as many regularisation images as training images?
Does that mean ideal number of regularisation images is the same number as you have training images?
The code will only accept up to this many and no more.
If we run less regularisation images than training images, we still get double the steps, causing us to have more steps per training image than we configured with the folder name.
Is this advisable?
Thank you for the hard work.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the regularisation step-count logic and the folder-name image limits described in the issue. Compare training-image and regularisation-image counts to determine whether doubling is intentional, what ratio is expected, and how fewer regularisation images should affect the configured steps.
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
- 25/100