Comments (9)
I have this problem too,but what is wrong is in file "train_faces", after running that file you didn`t get the savepath,you could change the code like this:
saver.save(sess, './train_faces.model', global_step=n*num_batch+i)
sys.exit(0)
print ('saver done')
and you will see if u have generate the path.
if you find a way to solve(or to say generate the path),plz tell me ,thanks!
sorry ,i make a mistake here.
you should put the "print"before the function exit,or you won`t see the result either
from facerecognition-tensorflow.
I have this problem too?Have you solved this problem?Please reply me,thank you!
from facerecognition-tensorflow.
I ... emmm,delete the “if ”sentence at the end of the code,for that avoid me from generating the path...but i dont know why.there should be some reason in that sentence but i cant understand.You can try this way,but its not a good way to solve the prolem.
from facerecognition-tensorflow.
Excuse me, can you explain it clearly? Which "if" should I remove?
from facerecognition-tensorflow.
remove line 163,
if (n*num_batch+i) % 100 == 0
(i forget if this is the origin code,for i had changed it once)
and you could change the print in 161 and 166 to
`print(n*num_batch+i,loss,'loss')
print(n*num_batch+i,acc,'acc') `
then,if the acc>0.98,you will get the path
from facerecognition-tensorflow.
That's great, this is working, thank you!
from facerecognition-tensorflow.
Thank you, but when I run this program if I use the other people's faces it will also terms out 'True'
Do you know why? Thank you so much!
from facerecognition-tensorflow.
为什么按照楼上的方法,我没能得到解决
from facerecognition-tensorflow.
you don't have enough samples. Acc can't reach 0.95
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.py文件时 HOT 7
- 运行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.