Hello everyone !
I just wanted to know how to create model for time series binary classification . I try to change char_rnn.py example. There is a code:
But I get an Exception: No gradient registered for RecurrentNetwork. Exception from creating the gradient op: [enforce fail at operator_gradient.h:137] goutput.at(i).IsDense(). Gradient of output LSTM/hidden_t_all is either sparse or not provided.
I think problem is that the LSTM only supports gradient over the hidden_output_all blob. Instead you, are passing the last hidden output to FC, and to the loss.
Hello everyone ! I just wanted to know how to create model for time series binary classification . I try to change char_rnn.py example. There is a code:
But I get an Exception: No gradient registered for RecurrentNetwork. Exception from creating the gradient op: [enforce fail at operator_gradient.h:137] goutput.at(i).IsDense(). Gradient of output LSTM/hidden_t_all is either sparse or not provided.
Any thoughts about how to create model? Thanks!