Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EOFError Ran out of input #79

Open
themichaelminer opened this issue Jul 7, 2023 · 11 comments
Open

EOFError Ran out of input #79

themichaelminer opened this issue Jul 7, 2023 · 11 comments

Comments

@themichaelminer
Copy link

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

@abhijatchaturvedi
Copy link

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

@themichaelminer
Copy link
Author

It's saying this after changing the code to that

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

@yoyo-nb
Copy link
Owner

yoyo-nb commented Jul 7, 2023

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
Copy link
Author

that fixed it! awesome!

@allthingssecurity
Copy link

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
Copy link

!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
Copy link

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
Copy link

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
Copy link
Owner

yoyo-nb commented Jul 16, 2023

@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
Copy link

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
Copy link

thanks @yoyo-nb it worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants