Comments on A noob’s guide to implementing RNN-LSTM using Tensorflow Thoughts, tutorials and ideas 2019-04-12T18:19:52Z https://monik.in/a-noobs-guide-to-implementing-rnn-lstm-using-tensorflow/feed/atom/ By: tensorflow - Mínimo RNN ejemplo en tensorflow tensorflow - Mínimo RNN ejemplo en tensorflow https://rstopup.com/minimo-rnn-ejemplo-en-tensorflow.html http://monik.in/?p=264#comment-58756 2019-04-12T18:19:52Z 2019-04-12T18:19:52Z […] github.com/aymericdamien/TensorFlow-Examples/blob/master/…. Un LSTM ejemplo con el tutorial: monik.en/…. Recuento de bits: gist.github.com/monikkinom/e97d518fe02a79177b081c028a83ec1c. Uno más: […]

]]>
By: N Satya Krishna N Satya Krishna http://monik.in/?p=264#comment-58586 2019-01-25T09:44:07Z 2019-01-25T09:44:07Z In reply to Avijit Thawani.

Can you help me? How can we get values of hidden state of LSTM after execution of each batch of input while training?

]]>
By: tensorflow - Minimes RNN exemple dans tensorflow tensorflow - Minimes RNN exemple dans tensorflow https://askcodez.com/minimes-rnn-exemple-dans-tensorflow.html http://monik.in/?p=264#comment-58494 2018-12-17T23:38:10Z 2018-12-17T23:38:10Z […] Un LSTM exemple avec la procédure pas à pas: monik.dans/…. Le comte bits: gist.github.com/monikkinom/e97d518fe02a79177b081c028a83ec1c. Un de plus: […]

]]>
By: Avijit Thawani Avijit Thawani https://avi-jit.github.io/ http://monik.in/?p=264#comment-58397 2018-09-25T05:20:47Z 2018-09-25T05:20:47Z Thanks for the tutorial! I had a conceptual query: Is it an obvious choice to pose this as a classification problem? What if we tried to learn a regression instead, wherein the output to be learnt is the number of 1s in the string? Apart from the fact that the output space will be unbounded in a regression setting, what other problem could we have?
As a regression problem, we could have several times more examples with the same amount of training data, by taking subsequences of the string too? That way, the network must not learn to keep computing and only be tested at its 20th state but instead be forced to devise a way to keep counting at every step. Suggestions?

]]>
By: Heather Heather http://monik.in/?p=264#comment-58234 2018-05-15T01:51:58Z 2018-05-15T01:51:58Z Thank you so much for this very helpful guide! I finally have an LSTM set up and working. 🙂

The only thing that didn’t work for me was the last line, printing a prediction for a particular sample. When I try to include that line I get an error – NameError: name ‘model’ is not defined.

Could you tell me how to solve that error?

]]>
By: sumeet sumeet http://monik.in/?p=264#comment-58230 2018-05-13T23:57:51Z 2018-05-13T23:57:51Z sir , can you suggest a way to get those 20 outputs for each sequence ?

Thanks.

]]>
By: sumeet sumeet http://monik.in/?p=264#comment-58219 2018-05-03T00:32:26Z 2018-05-03T00:32:26Z i am trying to do word recognition with this.
so i will input an array of 26 MFCC at each timestep.
so input dimension will be 26.
Will that work ?

Nice tutorial BTW.
Thanks.

]]>
By: Learning to implement LSTMs – Handy Learning Paths Learning to implement LSTMs – Handy Learning Paths https://tutorialpaths.wordpress.com/2018/04/17/learning-to-implement-lstms/ http://monik.in/?p=264#comment-58192 2018-04-17T22:04:15Z 2018-04-17T22:04:15Z […] Easy and fast tutorial to understand a really basic implementation. do it yourself and see it work. […]

]]>
By: Bhaskar Bhaskar http://monik.in/?p=264#comment-58182 2018-04-07T10:46:15Z 2018-04-07T10:46:15Z Hi
I would like to suggest using sequence_length argument more liberally so that instead of wasting time doing complex computations:

val = tf.transpose(val, [1, 0, 2])
last = tf.gather(val, int(val.get_shape()[0]) – 1)

to get the last valid output state in each sequence we can simply use the last output state state.h as it will automatically stop computation at the sequence length’s end; if it receives the input argument of of sequence_length otherwise it will compute all the output states till the max sequence length. Please update the code with the same.

]]>
By: Vivwek Kumar Vivwek Kumar http://monik.in/?p=264#comment-58181 2018-04-07T01:54:28Z 2018-04-07T01:54:28Z Cannot feed value of shape (1000, 20) for Tensor ‘data_2:0’, which has shape ‘(?, 20, 1)’

]]>