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

Unable to run inference.py #2

Open
mpslxz opened this issue Jan 13, 2021 · 7 comments
Open

Unable to run inference.py #2

mpslxz opened this issue Jan 13, 2021 · 7 comments

Comments

@mpslxz
Copy link

mpslxz commented Jan 13, 2021

I get the following error when running inference.py:

tensorflow/core/framework/op_kernel.cc:1763] OP_REQUIRES failed at save_restore_v2_ops.cc:205 : Out of range: Read less bytes than requested
Seems to be something wrong with the checkpoint files?

@Ajaz-Ahmad
Copy link

Hi,

I am seeing the same issue. Were you able to solve it. If yes, please provide steps. Thank you.

@mpslxz
Copy link
Author

mpslxz commented Mar 21, 2021 via email

@smehdia
Copy link

smehdia commented Nov 3, 2021

For me the issues is solved by downloading the weights separately from the checkpoints directory. When I downloaded the checkpoints with downloading the whole project, the checkpoint were not downloaded correctly. Maybe because the checkpoints are stored in GitLFS.

@wenxiaojie
Copy link

Hi @smehdia, could you teach me how to download the weights separately from the checkpoints directory? I got the message that says the repository is over its data quota, Account for LFS bandwidth should purchase more data packs to restore access.

Thanks in advance!

@smehdia
Copy link

smehdia commented Apr 8, 2022

@wenxiaojie I have re-uploaded the weights in here:
PWCNet-tf2-weights

@wenxiaojie
Copy link

It works now.
Thank you very much! @smehdia

@ilinii
Copy link

ilinii commented May 2, 2022

Do u know if there is a way to run the inference in real time on a webcam ?

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

5 participants