StableSR icon indicating copy to clipboard operation
StableSR copied to clipboard

Test Error

Open KKimmich opened this issue 8 months ago • 3 comments

raise RuntimeError(f"The shape of the 2D attn_mask is {attn_mask.shape}, but should be {correct_2d_size}.") RuntimeError: The shape of the 2D attn_mask is torch.Size([77, 77]), but should be (1, 1).

this error occurred when i run

python scripts/sr_val_ddpm_text_T_vqganfin_oldcanvas.py --config configs/stableSRNew/v2-finetune_text_T_512.yaml --ckpt CKPT_PATH --vqgan_ckpt VQGANCKPT_PATH --init-img INPUT_PATH --outdir OUT_DIR --ddpm_steps 200 --dec_w 0.5 --colorfix_type nofix

KKimmich avatar Apr 22 '25 14:04 KKimmich

@KKimmich i met the same error, have you solved?

zhujiawei3094 avatar May 02 '25 08:05 zhujiawei3094

@KKimmich i met the same error, have you solved?

llw-nice avatar Aug 25 '25 11:08 llw-nice

open-clip-torch版本问题 @KKimmich @zhujiawei3094

llw-nice avatar Aug 26 '25 02:08 llw-nice