Element-Research / rnn

Recurrent Neural Network library for Torch7's nn
BSD 3-Clause "New" or "Revised" License
939 stars 313 forks source link

SeqGRU throws error #354

Closed satwikkottur closed 7 years ago

satwikkottur commented 7 years ago

SeqGRU throws the following error, while SeqLSTM runs without a problem. I am using the latest version of cutorch.

torch/install/share/lua/5.1/rnn/SeqGRU.lua:108: invalid arguments: CudaTensor CudaTensor number expected arguments: CudaTensor CudaByteTensor float stack traceback: [C]: in function 'maskedFill'

JoostvDoorn commented 7 years ago

Thanks for the report! I opened a pull request to fix this.