faur / timit Goto Github PK
View Code? Open in Web Editor NEWFramewise phoneme classification on the TIMIT dataset using neural networks
Framewise phoneme classification on the TIMIT dataset using neural networks
Hi there,
I'm trying to use your code, it seems quite nice.
The preprocessing works well, but when run RNN.py with DEBUG enabled, the program crashes with 'X' is not defined' errors.
It crashes here:
l_in = L.InputLayer(shape=(batch_size, None, num_features))
#l_in = L.InputLayer(shape=(None, None, num_features)) #compile for variable batch size; slower
# (batch_size, max_time_steps, n_features_1, n_features_2, ...)
# Only stochastic gradient descent
if debug:
get_l_in = theano.function([l_in.input_var], L.get_output(l_in))
l_in_val = get_l_in(self.X)
print(get_l_in)
print(l_in_val)
print('output size: ', end='\t');
print(self.Y.shape)
print('input size:', end='\t');
print(self.X[0].shape)
print('l_in size:', end='\t');
print(l_in_val.shape)
What is the X supposed to be? I would guess it's a single input vector, not the whole dataset, right?
If I give it just the first element of the test set X_test[0], I get an error:
TypeError: ('Bad input argument to theano function with name "src/RNN_tools.py:68" at index 0(0-based)', 'Wrong number of dimensions: expected 3, got 2 with shape (364, 26).')
I don't really understand what I should pass as 'X', could you explain that?
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.