Skip to content

chesterkuo/kaggle-speech-challenge-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Setup instruction for tensorflow environment.

https://github.com/chesterkuo/spot-word-detection

===============================================================================

Folder:

Script: Script for traing/freeze graph
Speech_commands: Based on Tensorflow r1.4 release with my inception block layer.

================================================================================ Benchmark results: (75ms) average for my deep learning model.

2018-01-23 11:03:05.250868: I tensorflow/tools/benchmark/benchmark_model.cc:538] Average inference timings in us: Warmup: 154174, no stats: 54252, with stats: 60144 2018-01-23 11:03:05.251027: I tensorflow/core/util/stat_summarizer.cc:358] Number of nodes executed: 176 2018-01-23 11:03:05.252950: I tensorflow/core/util/stat_summarizer.cc:468] ============================== Summary by node type ============================== 2018-01-23 11:03:05.253105: I tensorflow/core/util/stat_summarizer.cc:468] [Node type] [count] [avg ms] [avg %] [cdf %] [mem KB] [times called] 2018-01-23 11:03:05.253474: I tensorflow/core/util/stat_summarizer.cc:468] Conv2D 14 39.934 53.078% 53.078% 160.320 14 2018-01-23 11:03:05.253573: I tensorflow/core/util/stat_summarizer.cc:468] AudioSpectrogram 1 7.806 10.375% 63.454% 100.744 1 2018-01-23 11:03:05.253666: I tensorflow/core/util/stat_summarizer.cc:468] MatMul 2 7.256 9.644% 73.098% 1.328 2 2018-01-23 11:03:05.254063: I tensorflow/core/util/stat_summarizer.cc:468] Mfcc 1 5.863 7.793% 80.891% 5.096 1 2018-01-23 11:03:05.254270: I tensorflow/core/util/stat_summarizer.cc:468] FusedBatchNorm 14 5.763 7.660% 88.551% 14.080 14 2018-01-23 11:03:05.254366: I tensorflow/core/util/stat_summarizer.cc:468] Add 18 2.418 3.214% 91.765% 0.000 18 2018-01-23 11:03:05.254541: I tensorflow/core/util/stat_summarizer.cc:468] Const 96 2.141 2.846% 94.610% 0.000 96 2018-01-23 11:03:05.254874: I tensorflow/core/util/stat_summarizer.cc:468] AvgPool 2 2.061 2.739% 97.350% 65.280 2 2018-01-23 11:03:05.255197: I tensorflow/core/util/stat_summarizer.cc:468] Relu 16 0.876 1.164% 98.514% 0.000 16 2018-01-23 11:03:05.255516: I tensorflow/core/util/stat_summarizer.cc:468] ConcatV2 2 0.442 0.587% 99.101% 115.200 2 2018-01-23 11:03:05.255857: I tensorflow/core/util/stat_summarizer.cc:468] NoOp 1 0.242 0.322% 99.423% 0.000 1 2018-01-23 11:03:05.256235: I tensorflow/core/util/stat_summarizer.cc:468] _Arg 2 0.150 0.199% 99.623% 0.000 2 2018-01-23 11:03:05.256422: I tensorflow/core/util/stat_summarizer.cc:468] Reshape 3 0.113 0.150% 99.773% 0.000 3 2018-01-23 11:03:05.256768: I tensorflow/core/util/stat_summarizer.cc:468] Mul 2 0.077 0.102% 99.875% 0.000 2 2018-01-23 11:03:05.256948: I tensorflow/core/util/stat_summarizer.cc:468] Softmax 1 0.055 0.073% 99.948% 0.000 1 2018-01-23 11:03:05.257116: I tensorflow/core/util/stat_summarizer.cc:468] _Retval 1 0.039 0.052% 100.000% 0.000 1 2018-01-23 11:03:05.257434: I tensorflow/core/util/stat_summarizer.cc:468] 2018-01-23 11:03:05.257528: I tensorflow/core/util/stat_summarizer.cc:468] Timings (microseconds): count=167 first=105676 curr=74304 min=42045 max=105676 avg=75329 std=10274 2018-01-23 11:03:05.257625: I tensorflow/core/util/stat_summarizer.cc:468] Memory (bytes): count=167 curr=462048(all same) 2018-01-23 11:03:05.257727: I tensorflow/core/util/stat_summarizer.cc:468] 176 nodes observed 2018-01-23 11:03:05.257816: I tensorflow/core/util/stat_summarizer.cc:468] 2018-01-23 11:03:05.693805: I tensorflow/tools/benchmark/benchmark_model.cc:573] FLOPs estimate: 29.51M 2018-01-23 11:03:05.693997: I tensorflow/tools/benchmark/benchmark_model.cc:575] FLOPs/second: 543.95M

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published