THUDM / Inf-DiT

Official implementation of Inf-DiT: Upsampling Any-Resolution Image with Memory-Efficient Diffusion Transformer
Apache License 2.0
378 stars 19 forks source link

There was a problem generating #14

Closed xiaoxiaodadada closed 5 months ago

xiaoxiaodadada commented 5 months ago

I have entered a low-resolution image according to the format, but it gives an error Traceback (most recent call last): File "/data1/zhuyifan/Inf-DiT-main/generate_t2i_sr.py", line 210, in main(args) File "/data1/zhuyifan/Inf-DiT-main/generate_t2i_sr.py", line 139, in main h, w = lr_image.shape[-2:] AttributeError: 'Image' object has no attribute 'shape'.

xiaoxiaodadada commented 5 months ago

NumPy version mismatch, solved