Comments (2)
Hi @zhangjinhong17
- Such difference is expected because of differences in the weight initialization.
- The Table 7 accuracies are obtained from the checkpoint with highest accuracy on validation set (i.e. the last saved checkpoint). Use test.py to test the accuracy on your checkpoints.
- We did not compare LFBE vs. MFCC and we did not any observe higher performance (i.e. accuracy) using more MFCC features. It might be a function of the number and type of output words you are classifying, for example, you may need a higher resolution (i.e. more features) to differentiate "light" vs. "flight".
- If you were asking about batch normalization to normalize the features across different inputs, it seems to work fine with this dataset. It would be interesting to see how well the batch norm parameters generalize to another dataset.
- MFCC computation is a part of Tensorflow, where a delta of 1e-12 is used. Check here for more details: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/mfcc.cc#L60.
- That's a good point, as 40ms will give 640 samples and you would have to do pad it to 1024 to perform FFT. However, typically, the total number of operations in neural network is much higher than the number of computations in FFT and hence it will not matter. It might matter, though, when the neural network is squeezed down to <1MOps per inference. In our case, window size of 40ms was the result of the initial hyperparameter search.
- Training time is a function of network size and from what we have seen, for small networks you should get a good enough accuracy within the first hour and only incremental accuracy improvement (~1-2%) after that.
from ml-kws-for-mcu.
Hi @navsuda ,
1. You are right. I run the same code twice, and the result is a little different.
Thanks for your other reply.
Thanks
Jinhong
from ml-kws-for-mcu.
Related Issues (20)
- mbed deploy failed. HOT 2
- train on custom dataset
- I have a problem about Accuracy of models
- false detection on new keywords
- Pre-defined Models Quantization HOT 1
- Required tensorflow version? HOT 1
- How to implement pb file in Android App HOT 1
- Problem with the DS-CNN model HOT 1
- No output received after porting this example to tmpm46b cortex m4 mcu HOT 1
- problem with the Speed of training
- update to TensorFlow 2 HOT 5
- windows fatal exception when run label.py HOT 1
- error to run label_wav HOT 1
- Completely wrong predictions on own wav files HOT 1
- mbed error
- mbed error HOT 1
- link
- How to run a DNN model with 436 neurons on the MCU?
- reproduction in keras doesn't give same accuracy HOT 1
- Requirements.txt
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 ml-kws-for-mcu.