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

please help me, i am stuck in running inference.py #48

Open
warmheartHoward opened this issue Mar 20, 2019 · 1 comment
Open

please help me, i am stuck in running inference.py #48

warmheartHoward opened this issue Mar 20, 2019 · 1 comment

Comments

@warmheartHoward
Copy link

Traceback (most recent call last):
File "inference.py", line 189, in
generate_output(input_files, mode)
File "inference.py", line 130, in generate_output
saver.restore(sess, MODEL_SAVE_PATH)
File "E:\anaconda\envs\opencv\lib\site-packages\tensorflow\python\training\saver.py", line 1268, in restore
+ compat.as_text(save_path))
ValueError: The passed save_path is not a valid checkpoint: ./model.ckpt

how to modify this code? thanks

@AuMgLi
Copy link

AuMgLi commented Apr 26, 2019

change File "./settings.py" line 51 to "MODEL_SAVE_PATH = './model/model.ckpt'"

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