Comments (7)
saver.restore(sess, tf.train.latest_checkpoint('.'))
将这句代码中的'.' 修改成你的模型所在的位置。
例如:saver.restore(sess, tf.train.latest_checkpoint( "your path"))
from facerecognition-tensorflow.
模型所在的位置在哪里呢
from facerecognition-tensorflow.
一样又这个。。很难受
from facerecognition-tensorflow.
没有生成模型,源码只有正确率大于0.98才会生成模型,改小一点
from facerecognition-tensorflow.
Can't load save_path when it is None. 问题,首先要生成模型,然后找到模型所在的位置如:“C:\User\Administrator” 改成: saver.restore(sess, tf.train.latest_checkpoint(r'C:\User\Administrator'))
from facerecognition-tensorflow.
模型所在的位置在哪里呢
train_face运行成功后,在电脑硬盘中,搜索“train_faces.model”的位置即可
from facerecognition-tensorflow.
电脑里面找不到这个“train_faces.model”文件,可能是什么原因呢?
from facerecognition-tensorflow.
Related Issues (20)
- 这个只能识别出是不是自己的脸吧?能识别出别人的脸吗? HOT 4
- 博主,这个应改就检测自己一次吧,循环一次吧,没有多人检测吧
- 测试问题 HOT 1
- 当我运行train_faces.py HOT 1
- 安装咨询 HOT 1
- 运行错误 HOT 5
- ok
- 为什么要做亮度和对比度调整? HOT 1
- train_test_split是不是不在sklearn这个包了?
- train_faces没有生成model文件 导致is_myface136行报错 HOT 1
- 已经跑过该程序了 HOT 2
- 运行is_my_face时 opencv出了问题 HOT 2
- 如果实际训练过程中出现了新的人,会不会在向量匹配时有影响?
- 请教:执行“train_faces.py”时报错,怎么解决呢?
- 你好,我想问下,为什么在运行train_face.py时没有生成模型 HOT 1
- 手机照片识别不出来
- Is this my face? True 不论识别谁都显示True HOT 2
- 运行get_my_faces代码时
- 用到的包的版本问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facerecognition-tensorflow.