Update PLUGINS.md
This commit is contained in:
parent
83623929ad
commit
1119c2130f
|
@ -38,4 +38,4 @@ These runs every time the image/caption pair are loaded and passed into the trai
|
|||
Could be useful for things like customized shuffling algorithms, word replacement/addition/removal, randomization of length, etc.
|
||||
|
||||
#### transform_pil_image(self, img:Image)
|
||||
Could be useful for things like color grading, gamma adjustment, HSL modifications, etc. Note that AFTER this function runs the image is converted to numpy format and normalized (std_dev=0.5, norm=0.5), so normalization is wasted compute. From prior experimentation, all adjustments to the standard normalization are a waste of time. Gamma or curve adjustments are still potentially useful.
|
||||
Could be useful for things like color grading, gamma adjustment, HSL modifications, etc. Note that AFTER this function runs the image is converted to numpy format and normalized (std_dev=0.5, norm=0.5) per the reference implementation in Stable Diffusion, so normalization is wasted compute. From prior experimentation, all adjustments to this normalization scheme degrade output of the model, thus are a waste of time and have been hardcoded. Gamma or curve adjustments are still potentially useful, as are hue and saturation changes.
|
||||
|
|
Loading…
Reference in New Issue