jaesungbae / speech-command-recognition-with-capsule-network Goto Github PK
View Code? Open in Web Editor NEWSpeech command recognition with capsule network & various NNs / KWS on Google Speech Command Dataset.
Speech command recognition with capsule network & various NNs / KWS on Google Speech Command Dataset.
After I run the code:
python main.py --model='CNN' --ex_name='ref_2015is_cnn' --is_training='TRAIN' --model_size_info 21 8 94 1 1 2 3 6 4 94 1 1 1 1 32
Here's the result
cat KWS/save/CNN/ref_2015is_cnn_clean_clean/log.csv
epoch,acc,loss,val_acc,val_loss
0,0.0352528969621,3.3952801742,0.0347160929751,3.38853546625
1,0.0358401190103,3.39308315977,0.0347160929751,3.38782089975
2,0.0346265267773,3.39311181181,0.0347160929751,3.38773612234
3,0.0336673974319,3.39305867142,0.0338334804354,3.38793892052
4,0.0346265267773,3.39307627729,0.0385407472786,3.38806093325
5,0.0359967115565,3.39306007393,0.038687849374,3.38764988573
6,0.0349788600063,3.39303597402,0.0385407472786,3.3879062811
7,0.0343720638898,3.39304099634,0.0364813180479,3.38780447545
8,0.0352137488256,3.39308122203,0.0376581347455,3.38781898111
9,0.0341958972753,3.39309233033,0.036187113857,3.38771080178
Which is really confusing me, could u please give me some help?
Can this program run without noise? Because when the noise is clean, it always has an error.
running python feature_generation.py
"noise name: clean
save_path: /home/dsp/Desktop/fish/kws/SCR-CapsNet-master/speech_dataset/KWS_feature_saved
mode: fbank
['backward', 'bed', 'bird', 'cat', 'dog', 'down', 'eight', 'five', 'follow', 'forward', 'four', 'go', 'happy', 'house', 'learn', 'left', 'marvin', 'nine', 'no', 'off', 'on', 'one', 'right', 'seven', 'sheila', 'six', 'stop', 'three', 'tree', 'two', 'up', 'visual', 'wow', 'yes', 'zero']
Number of labels: 35
Processing in /home/dsp/Desktop/fish/kws/SCR-CapsNet-master/speech_dataset/Google_Speech_Command/backward
/usr/local/lib/python2.7/dist-packages/sklearn/preprocessing/data.py:193: UserWarning: Numerical issues were encountered when scaling the data and might not be solved. The standard deviation of the data is probably very close to 0.
warnings.warn("Numerical issues were encountered "
Traceback (most recent call last):
File "feature_generation.py", line 298, in
noise_name=noise_name, noiseSNR=noiseSNR)
File "feature_generation.py", line 234, in feature_generation
if label == 30: raise ValueError('wrong')
ValueError: wrong"
I don't know what happened.
Can you provide a detailed operating instructions if you are convenient?
thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.