pengHTYX / Era3D

GNU Affero General Public License v3.0
507 stars 24 forks source link

Error message when running "Python app. py" #11

Closed mario0718 closed 3 months ago

mario0718 commented 3 months ago

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! 1

pengHTYX commented 3 months ago

Hi, I have fixed this bug, can you try again?

mario0718 commented 3 months ago

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: 2 It seems that the variable 'imgs_in' is not declared!

pengHTYX commented 3 months ago

sry, try again now?

mario0718 commented 3 months ago

sry, try again now?

The following error has occurred: 3

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" ] }

pengHTYX commented 3 months ago

Could you please clone the source code from huggingface demo. The code should work correctly.

mario0718 commented 3 months ago

Could you please clone the source code from huggingface demo. The code should work correctly.

ok! thank you