Skip to content

Question about regularization images #134

Answered by mgz-dev
smolkat64 asked this question in Q&A
Discussion options

You must be logged in to vote

These observations are specific to LoRA since I haven't tested or reviewed the code to confirm what happens during other forms of training with regularization:

When you train with regularization enabled, for every training image (repeats are counted as separate training images) a regularization image gets added into your dataset.

This means, for example, if you had 10 training images with regularization enabled, your dataset total size is now 20 images. If you trained with 10 images and 10 repeats, you now have 200 images (with 100 regularization images).

Because your dataset has been inflated with regularization images, you would need to have twice the number of steps to see your origina…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by smolkat64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants