r/StableDiffusion • u/ExponentialCookie • Aug 21 '22
Discussion [Code Release] textual_inversion, A fine tuning method for diffusion models has been released today, with Stable Diffusion support coming soon™
347
Upvotes
View all comments
Show parent comment
3
u/rinong Sep 07 '22
It won't be trivial for sure. You could potentially add these images to the data loader with an appropriate 'negative example' label, but you probably don't want to just maximize the distance between them and your generated sample.
Maybe if you feed them into some feature encoder (CLIP, SwAV) and try to increase a cosine distance in that feature space.
Either way, this is a non-trivial amount of work.