-
Notifications
You must be signed in to change notification settings - Fork 897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add masked loss #1207
Add masked loss #1207
Conversation
|
I cannot use reg images at the same time when conditioning_data_dir is defined, e.g. [[datasets]]
caption_extension = ".txt"
resolution = [512,768]
[[datasets.subsets]]
image_dir = '/home/ml/checkpoints/regularization'
is_reg = true
class_tokens = "something"
num_repeats = 1
[[datasets.subsets]]
image_dir = '/home/ml/checkpoints/sd15/img'
conditioning_data_dir = '/home/ml/checkpoints/sd15/mask'
num_repeats = 10
|
Unfortunately ControlNetSubset (used in the masked loss) doesn't support |
Mask the loss value with conditioning image.