pytorch-charRNN
pytorch-charRNN copied to clipboard
Runtime Error
Hi,
I have an issue with the program, and I cant't seem to figure out what it is.
I get the following error when running it with some params:
RuntimeError: Expected object of type torch.cuda.LongTensor but found type torch.cuda.IntTensor for argument #2 'target'
It would be awesome if someone could help me figure this one out,
Thanks
just put .long() for second argument in place where loss computed idk but this worked