nipunmanral / spoken-language-identification Goto Github PK
View Code? Open in Web Editor NEWImplement a GRU/LSTM model using Keras, and train it to classify the languages using MFCC features
Implement a GRU/LSTM model using Keras, and train it to classify the languages using MFCC features
english_mfcc = np.array([]).reshape(0, num_mfcc_features)
for file in glob.glob(codePath + 'english/*.npy'):
at this line you used .npy what this mean can u share it and tell how u created it.
I am trying to make a simple api where people can give an input speech and gets the output language identification class as result.
I created a dataset where all the samples are of length: 10 sec. So the model will be trained on 10 sec long samples.
What happens when at test time someone gives an audio smaller or greater then 10 seconds?
i am getting error could please tell me how correct it
ValueError Traceback (most recent call last)
in ()
93 del list_mandarin_mfcc
94
---> 95 X_train, X_val, Y_train, Y_val = train_test_split(X_train, Y_train, test_size=0.2)
96
97 with h5py.File("mfcc_dataset.hdf5", 'w') as hf:
2 frames
/usr/local/lib/python3.7/dist-packages/sklearn/utils/validation.py in check_consistent_length(*arrays)
210 if len(uniques) > 1:
211 raise ValueError("Found input variables with inconsistent numbers of"
--> 212 " samples: %r" % [int(l) for l in lengths])
213
214
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.