Comments (4)
Hi,
As I know you could also train and test the code only with clean data. In training, I didn't use the noise data.
The error you got is because I only used the labels in Google Speech Command dataset, which are converted into int type in the 'text_to_label' function, and you have other labels such as 'backward' or 'visual', etc.
I think you could add your additional labels to 'text_to_label' function, remove the assertion and run the code. However, since I didn't test the code by adding other labels, so other error could occur.
Thanks.
from speech-command-recognition-with-capsule-network.
thanks
from speech-command-recognition-with-capsule-network.
I want to ask a quest about a function----du.pick_mis_recognized
I can't find it in the data_utils.py
I want to know how can I get it.
thanks
from speech-command-recognition-with-capsule-network.
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
Can u reply my question that i query author?
thanks
from speech-command-recognition-with-capsule-network.
Related Issues (2)
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 speech-command-recognition-with-capsule-network.