-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UntiedConvLSTM: Error In Back-propagation #18
Comments
It seems to me the problem is coming from the fact that you are not specifying the batchsize. If you look in ConvLSTM (the parent of UntiedConvLSTM), the batchsize is set to nil by default. But for your input data, the batchsize should be explicitly set as 1. Hence use |
Thank you so much @viorik. I thought its not mandatory to specify batch-size, as in "model-demo-ConvLSTM.lua" UntiedConvLSTM was initialized without it.
But again, I should have gone through constructor details of both novel layers. |
It was initialised without batchsize since the data in that demo is not structured in batches, so there indeed the batchsize is nil. |
Thanks again @viorik |
I am getting following error while training Network containing UntiedConvLSTM()
After some testing, I found that network is unable to backpropogate (model:forward() works fine, But model:backward() throws above error). I have created a simple Jupyter Notebook File just to show the problem.
I think I am missing something obvious. Can you help me with it?
Thank You.
The text was updated successfully, but these errors were encountered: