yoyo-nb / Thin-Plate-Spline-Motion-Model

[CVPR 2022] Thin-Plate Spline Motion Model for Image Animation.
MIT License
3.44k stars 558 forks source link

EOFError Ran out of input #79

Open themichaelminer opened 1 year ago

themichaelminer commented 1 year ago

Screen Shot 2023-07-07 at 11 38 44 AM Screen Shot 2023-07-07 at 11 38 21 AM

abhijatchaturvedi commented 1 year ago

Can you try with !pip install face-alignment==1.3.4

themichaelminer commented 1 year ago

It's saying this after changing the code to that

Screen Shot 2023-07-07 at 1 37 33 PM

yoyo-nb commented 1 year ago

This error may be due to not downloading the correct model. Previously, I had stored the model on Tsinghua Cloud, but since I have graduated from Tsinghua University, I cannot continue to use it, and the model was deleted. However, I have now uploaded the model to Yandex and it can be downloaded using the following commands:

!mkdir checkpoints
!pip3 install wldhx.yadisk-direct
!curl -L $(yadisk-direct https://disk.yandex.com/d/i08z-kCuDGLuYA) -o checkpoints/vox.pth.tar

image

themichaelminer commented 1 year ago

that fixed it! awesome!

allthingssecurity commented 1 year ago

unable to download Traceback (most recent call last): File "/usr/local/bin/yadisk-direct", line 8, in sys.exit(main()) File "/usr/local/lib/python3.10/dist-packages/wldhx/yadisk_direct/main.py", line 23, in main print([get_real_direct_link(x) for x in args.sharing_link], sep=args.separator) File "/usr/local/lib/python3.10/dist-packages/wldhx/yadisk_direct/main.py", line 23, in print([get_real_direct_link(x) for x in args.sharing_link], sep=args.separator) File "/usr/local/lib/python3.10/dist-packages/wldhx/yadisk_direct/main.py", line 12, in get_real_direct_link return pk_request.json()['href'] KeyError: 'href'

sarique2003 commented 1 year ago

!mkdir checkpoints !wget -c https://cloud.tsinghua.edu.cn/f/da8d61d012014b12a9e4/?dl=1 -O checkpoints/vox.pth.tar

Change it to this it should work .

lokesh005 commented 1 year ago

I am still getting same error as @themichaelminer,

When I performed what @sarique2003 mentioned I am below getting error, though file is getting created

Screenshot 2023-07-12 at 8 05 19 PM

Even after performing what @yoyo-nb suggested I am getting the same error as @allthingssecurity is getting.

Can anyone please help here.

sarique2003 commented 1 year ago

My bad it has been removed from tsinghua cloud, intially i followed what @yoyo-nb said and it worked , now i am facing the same error again.

yoyo-nb commented 1 year ago

@sarique2003 @allthingssecurity @lokesh005 Sorry, this is because Yandex is displaying the message "Download limit exceeded".

According to the Yandex Disk website:

If a public file was downloaded many times during the day, the download limit is activated, and the download may be restricted for a day. If you don't want to wait, save the file to your Yandex Disk using the Save to Yandex Disk button.

You can try manually downloading the model from Yandex or Google Drive, and then upload it to the corresponding location in Google Colab. image

AIdud4212 commented 1 year ago

2023-08-15_17-06-08 I registered links to the models (the author fixed them in the code), manually uploaded all the models to the Checkpoints folder. But it still gives an error .. What could be?

sarique2003 commented 1 year ago

thanks @yoyo-nb it worked