Update unet/config.json

#7
by berkayoruk - opened

The configuration file of the unet has set the default sample_size to smaller than 64 which seems highly unlikely. If your checkpoint is a fine-tuned version of any of the following:

  • CompVis/stable-diffusion-v1-4
  • CompVis/stable-diffusion-v1-3
  • CompVis/stable-diffusion-v1-2
  • CompVis/stable-diffusion-v1-1
  • runwayml/stable-diffusion-v1-5
  • runwayml/stable-diffusion-inpainting
    you should change 'sample_size' to 64 in the configuration file. Please make sure to update the config accordingly as leaving sample_size=32 in the config might lead to incorrect results in future versions. If you have downloaded this checkpoint from the Hugging Face Hub, it would be very nice if you could open a Pull request for the unet/config.json file
    I'm getting this error while I'm trying to cog build
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment