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

Unsuccesful TensorSliceReader #100

Open
jibola1997 opened this issue Apr 14, 2018 · 1 comment
Open

Unsuccesful TensorSliceReader #100

jibola1997 opened this issue Apr 14, 2018 · 1 comment

Comments

@jibola1997
Copy link

The code brings up this error

InvalidArgumentError: Unsuccessful TensorSliceReader constructor: Failed to get matching files on ./data/model_checkpoints/squeezedet/model.cpkt-87000: Not Found: ./data/model_checkpoints/squeeeDet

I can see the model in the model_checkpoints directory .

@kiad4631
Copy link

kiad4631 commented Sep 5, 2019

The code brings up this error

InvalidArgumentError: Unsuccessful TensorSliceReader constructor: Failed to get matching files on ./data/model_checkpoints/squeezedet/model.cpkt-87000: Not Found: ./data/model_checkpoints/squeeeDet

I can see the model in the model_checkpoints directory .

This is because of you have two data folder.one of them is beside demo.py and another one is in parent directory.and you need that one.so change demo.py to this:

tf.app.flags.DEFINE_string(
'checkpoint', '../data/model_checkpoints/squeezeDet/model.ckpt-87000',
"""Path to the model parameter file.""")
tf.app.flags.DEFINE_string(
'input_path', '../data/sample.png',
"""Input image or video to be detected. Can process glob input such as """
"""./data/00000*.png.""")

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

2 participants