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

inference error using the pretrained model #34

Open
huitang opened this issue Feb 18, 2020 · 0 comments
Open

inference error using the pretrained model #34

huitang opened this issue Feb 18, 2020 · 0 comments

Comments

@huitang
Copy link

huitang commented Feb 18, 2020

I downloaded the pertained model zip file , it contains these files
image
Did I miss any files in downloading?

in this line
latest_checkpoint = tf.train.latest_checkpoint(train_dir)
latest_checkpoint returns None
so it gives this error because of the following code
if latest_checkpoint is None:
raise Exception("unable to find a checkpoint at location: %s" % train_dir)

Can anyone please help. Many thanks!!!

I tried to freeze the model, but in my freezing code since the model is not found, I can not even freeze it

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

1 participant