hmishfaq:

model = ConvLSTMCell(c, d)


I haven’t looked closely in your code, but I had a similar problem and the reason was that I forgot convert the model to cuda.
model = ConvLSTMCell(c,d).cuda()

It can also be any other variable that you forgot to attatch cuda. Hope it helps!