[PYTHON] I made a Dir en gray face classifier using TensorFlow --- ⑧ Learning execution

Introduction

――At this point, it's almost complete.

Learning

Run

python main.py

result

2017-05-30 17:59:11.750584: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
2017-05-30 17:59:11.750621: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2017-05-30 17:59:11.750631: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2017-05-30 17:59:11.750639: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2017-05-30 17:59:11.750655: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
step 0, training accuracy 0.588235
step 1, training accuracy 0.588235
step 2, training accuracy 0.568627
step 3, training accuracy 0.578431
step 4, training accuracy 0.705882
step 5, training accuracy 0.647059
step 6, training accuracy 0.637255
step 7, training accuracy 0.656863
step 8, training accuracy 0.77451
step 9, training accuracy 0.784314
step 10, training accuracy 0.784314
step 11, training accuracy 0.803922
step 12, training accuracy 0.813725
step 13, training accuracy 0.813725
step 14, training accuracy 0.852941
step 15, training accuracy 0.833333
step 16, training accuracy 0.823529
step 17, training accuracy 0.823529
step 18, training accuracy 0.882353
step 19, training accuracy 0.892157
step 20, training accuracy 0.862745
step 21, training accuracy 0.823529
step 22, training accuracy 0.892157
step 23, training accuracy 0.901961
step 24, training accuracy 0.931373
step 25, training accuracy 0.882353
step 26, training accuracy 0.862745
step 27, training accuracy 0.882353
step 28, training accuracy 0.931373
step 29, training accuracy 0.95098
step 30, training accuracy 0.970588
step 31, training accuracy 0.95098
step 32, training accuracy 0.95098
step 33, training accuracy 0.95098
step 34, training accuracy 0.960784
step 35, training accuracy 0.970588
step 36, training accuracy 0.941176
step 37, training accuracy 0.941176
step 38, training accuracy 0.960784
step 39, training accuracy 0.980392
step 40, training accuracy 0.980392
step 41, training accuracy 0.970588
step 42, training accuracy 0.980392
step 43, training accuracy 0.990196
step 44, training accuracy 0.970588
step 45, training accuracy 0.980392
step 46, training accuracy 0.970588
step 47, training accuracy 0.970588
step 48, training accuracy 0.980392
step 49, training accuracy 0.990196
step 50, training accuracy 1
step 51, training accuracy 0.990196
step 52, training accuracy 0.990196
step 53, training accuracy 0.990196
step 54, training accuracy 0.990196
step 55, training accuracy 1
step 56, training accuracy 1
step 57, training accuracy 1
step 58, training accuracy 1
step 59, training accuracy 0.990196
step 60, training accuracy 0.990196
step 61, training accuracy 0.990196
step 62, training accuracy 0.990196
step 63, training accuracy 1
step 64, training accuracy 0.990196
step 65, training accuracy 0.990196
step 66, training accuracy 0.990196
step 67, training accuracy 0.990196
step 68, training accuracy 0.990196
step 69, training accuracy 0.990196
step 70, training accuracy 0.990196
step 71, training accuracy 0.990196
step 72, training accuracy 0.990196
step 73, training accuracy 0.990196
step 74, training accuracy 1
step 75, training accuracy 1
step 76, training accuracy 0.990196
step 77, training accuracy 0.990196
step 78, training accuracy 0.990196
step 79, training accuracy 0.990196
step 80, training accuracy 0.990196
step 81, training accuracy 0.990196
step 82, training accuracy 0.990196
step 83, training accuracy 1
step 84, training accuracy 1
step 85, training accuracy 0.990196
step 86, training accuracy 0.990196
step 87, training accuracy 1
step 88, training accuracy 0.990196
step 89, training accuracy 1
step 90, training accuracy 0.990196
step 91, training accuracy 0.990196
step 92, training accuracy 0.990196
step 93, training accuracy 0.990196
step 94, training accuracy 0.990196
step 95, training accuracy 0.990196
step 96, training accuracy 0.990196
step 97, training accuracy 0.990196
step 98, training accuracy 0.990196
step 99, training accuracy 0.990196
test accuracy 0.791209

Supplements and excuses

――It was a lot of work to get here .... ――It looks like an error at the beginning of execution, but I dare to start it. please do not worry. --It seems that the closer the accuracy is to 1, the higher the accuracy. --After execution, make sure that the following files are created in the same hierarchy as main.py. - model2.ckpt.index - model2.ckpt.meta - model2.ckpt.data-00000-of-00001 - checkpoint

All page links

-I made a Dir en gray face classifier using TensorFlow --(1) Introduction -I made a face classifier for Dir en gray using TensorFlow-② Environment construction -I made a face classifier for Dir en gray using TensorFlow-③ Image collection -I made a face classifier for Dir en gray using TensorFlow-④ Face extraction -I made a face classifier for Dir en gray using TensorFlow-⑤ Learning data preparation -I made a Dir en gray face classifier using TensorFlow-⑥ Learning program -I made a face classifier for Dir en gray using TensorFlow-⑦ Learning model -I made a Dir en gray face classifier using TensorFlow --⑧ Learning execution -I made a Dir en gray face classifier using TensorFlow --⑨ Data visualization -I made a Dir en gray face classifier using TensorFlow --⑩ Face classification test -I made a face classifier for Dir en gray using TensorFlow-⑪ Web release preparation -I made a Dir en gray face classifier using TensorFlow --⑫ Web release -I made a Dir en gray face classifier using TensorFlow --⑬ Playing (final)

Recommended Posts

I made a Dir en gray face classifier using TensorFlow --- ⑧ Learning execution
I made a Dir en gray face classifier using TensorFlow --⑥ Learning program
I made a Dir en gray face classifier using TensorFlow --- ⑦ Learning model
I made a Dir en gray face classifier using TensorFlow --(1) Introduction
I made a Dir en gray face classifier using TensorFlow-④ Face extraction
I made a Dir en gray face classifier using TensorFlow --⑩ Face classification test
I made a Dir en gray face classifier using TensorFlow --⑬ Playing (final)
I made a Dir en gray face classifier using TensorFlow --⑫ Web release
I made a Dir en gray face classifier using TensorFlow --② Environment construction
I made a Dir en gray face classifier using TensorFlow --⑪ Web release preparation
[Python] I made a classifier for irises [Machine learning]
I tried hosting a TensorFlow deep learning model using TensorFlow Serving
I made a VGG16 model using TensorFlow (on the way)
I made a C ++ learning site
I made a Line-bot using Python!
Make a face recognizer using TensorFlow
Face detection using a cascade classifier
I tried playing a ○ ✕ game using TensorFlow
Beginner: I made a launcher using dictionary
A story about simple machine learning using TensorFlow
I tried to make a ○ ✕ game using TensorFlow
I made a login / logout process using Python Bottle.
I made a vim learning game "PacVim" with Go
I made a school festival introduction game using Ren’py
PyTorch Learning Note 2 (I tried using a pre-trained model)
〇✕ I made a game
I made a quick feed reader using feedparser in Python
I tried using Tensorboard, a visualization tool for machine learning
I made a learning kit for word2vec / doc2vec / GloVe / fastText
I made a face diagnosis AI for a female professional golfer ③
I made a muscle training estimation app using Qore SDK
I made a Chatbot using LINE Messaging API and Python
I tried face recognition using Face ++
I made a python text
I tried using magenta / TensorFlow
I made a discord bot
I tried scoring a transvestite contest using Face ++'s Detect API
I made a poker game server chat-holdem using websocket with python
I made a Chatbot using LINE Messaging API and Python (2) ~ Server ~
[Kaggle] I made a collection of questions using the Titanic tutorial