Closed mario0718 closed 3 months ago
Hi, I have fixed this bug, can you try again?
Hi, I have fixed this bug, can you try again?
ok! Excuse me. After I replaced the file, the terminal encountered the following error again: It seems that the variable 'imgs_in' is not declared!
sry, try again now?
sry, try again now?
The following error has occurred:
cat ckpts/vae/config.json { "_class_name": "AutoencoderKL", "_diffusers_version": "0.26.0.dev0", "_name_or_path": "stabilityai/stable-diffusion-2-1-unclip", "act_fn": "silu", "block_out_channels": [ 128, 256, 512, 512 ], "down_block_types": [ "DownEncoderBlock2D", "DownEncoderBlock2D", "DownEncoderBlock2D", "DownEncoderBlock2D" ], "force_upcast": true, "in_channels": 3, "latent_channels": 4, "layers_per_block": 2, "norm_num_groups": 32, "out_channels": 3, "sample_size": 768, "scaling_factor": 0.18215, "up_block_types": [ "UpDecoderBlock2D", "UpDecoderBlock2D", "UpDecoderBlock2D", "UpDecoderBlock2D" ] }
Could you please clone the source code from huggingface demo. The code should work correctly.
Could you please clone the source code from huggingface demo. The code should work correctly.
ok! thank you
Terminal running with errors: "Input tensor shape: torch. Size ([12, 3, 512, 512]). Additional information: {}.",I found that it is related to line 186 of the app. py file "imgs_in=realrange (imgs_in," B Nv C H W ->(B Nv) C H W ")",Can you help me solve this? Thank you!