-
Notifications
You must be signed in to change notification settings - Fork 415
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
运行is_my_face.py文件时 #32
Comments
一样又这个。。很难受 |
saver.restore(sess, tf.train.latest_checkpoint('.')) |
模型所在的位置在哪里呢 |
没有生成模型,源码只有正确率大于0.98才会生成模型,改小一点 |
Can't load save_path when it is None. 问题,首先要生成模型,然后找到模型所在的位置如:“C:\User\Administrator” 改成: saver.restore(sess, tf.train.latest_checkpoint(r'C:\User\Administrator')) |
train_face运行成功后,在电脑硬盘中,搜索“train_faces.model”的位置即可 |
电脑里面找不到这个“train_faces.model”文件,可能是什么原因呢? |
楼主,您好!
当我运行运行is_my_face.py文件时,出现File "D:\Anaconda\envs\tensorflow\lib\site-packages\tensorflow\python\training\saver.py", line 1264, in restore
raise ValueError("Can't load save_path when it is None.")
ValueError: Can't load save_path when it is None.
请问我应该如何解决这个问题,是什么原因导致了错误了呢。期待尽快得到你的回复。谢谢
The text was updated successfully, but these errors were encountered: