Giter Club home page Giter Club logo

Comments (4)

JaesungBae avatar JaesungBae commented on June 12, 2024

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.

XiaoyuGuo123 avatar XiaoyuGuo123 commented on June 12, 2024

thanks

from speech-command-recognition-with-capsule-network.

zfy1416 avatar zfy1416 commented on June 12, 2024

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.

zfy1416 avatar zfy1416 commented on June 12, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.