Closed AlonzoLeeeooo closed 5 months ago
Hi @AlonzoLeeeooo,
When I use your reproduction code, this is thrown at image = load_image(image_url).convert("RGB")
:
UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x78e32c68a3e0>
In Colab, I couldn't reproduce the error you got. Could you double-check? The location of the image was transferred. It seemed to work when I tried this:
image_url = "https://raw.githubusercontent.com/ali-vilab/VGen/main/data/test_images/img_0009.png"
Hi @tolgacangoz, Thanks very much for your fast response and information. I will try fixing the problem with your solutions and update with you.
Best
Hi @tolgacangoz, Thanks very much for your fast response and information. I will try fixing the problem with your solutions and update with you.
Best
Thank you so much for you help @tolgacangoz . I have updated from transformers==4.25.2
to transformers==4.41.2
. And the problem is now fixed.
Describe the bug
Hi,
Thank you for your amazing work of
diffusers
, which has brought a whole lot of convenience to researchers of diffusion models and image synthesis.I downloaded the diffusers model weights of
I2VGen-XL
and was trying to run its official inference script, which is shown below:But the code came into the following error:
I have checked into the source code of
diffusers
, and found the problem might be caused byself.feature_extractor
(line 328
inpipeline_i2vgen_xl.py
), where beforeline 328
the shape ofimage
is[1, 3, 224, 224]
and after it becomes[1, 3, 3 224, 224]
. I did not do any further exploration for this afterward.For the environment, I was using
diffusers==0.28.2
, so you can re-produce this issue with the corresponding environment.Please enlighten me if I am setting anything wrong.
Best regards
Reproduction
Logs
System Info
Diffusers version:
diffusers==0.28.2
OS environment:wsl2
GPU:RTX NVIDIA 3090
Who can help?
No response