attention-transfer icon indicating copy to clipboard operation
attention-transfer copied to clipboard

RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.FloatTensor) should be the same

Open toseattle opened this issue 5 years ago • 1 comments

When I ran the cifar code with GPU, I got the following error. Any suggestions would be appreciated!

RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.FloatTensor) should be the same

toseattle avatar Feb 06 '20 07:02 toseattle

Hi. Your model has not been transferred to GPU yet.

aryanasadianuoit avatar Nov 03 '20 17:11 aryanasadianuoit