finegrain-ai / refiners

A microframework on top of PyTorch with first-class citizen APIs for foundation model adaptation
https://refine.rs
MIT License
584 stars 43 forks source link

Fix `StableDiffusion_1_Inpainting` init #367

Closed Laurent2916 closed 4 months ago

Laurent2916 commented 4 months ago

Currently, if not provided, the SD1Unet of an StableDiffusion_1_Inpainting will be initialized with 4 channels instead of 9 (because of inheritance with StableDiffusion_1)