yolo2-pytorch icon indicating copy to clipboard operation
yolo2-pytorch copied to clipboard

RuntimeError: expected Variable (got 'torch.cuda.FloatTensor')'

Open ahmed-shariff opened this issue 6 years ago • 4 comments

When I run the training script, I get the above mentioned error. Any suggestions on how this can be fixed?

ahmed-shariff avatar May 20 '18 10:05 ahmed-shariff

me too! have you soved it?

Aurora11111 avatar Aug 21 '18 08:08 Aurora11111

I have the same problem. Any suggestions?

wuyifat avatar Aug 30 '18 23:08 wuyifat

This was a long time ago. I dont remember how I fixed this. Perhaps provide some detail, will try to help you guys out.

ahmed-shariff avatar Sep 07 '18 09:09 ahmed-shariff

oh bugger, i should check which repo I am in.

Actually I haven't had much success with it, and wound up implementing it from scratch. I never managed to fix this. Still would love to try and help.

ahmed-shariff avatar Sep 07 '18 09:09 ahmed-shariff