deeplearningzerotoall / PyTorch

Deep Learning Zero to All - Pytorch
1.03k stars 1.33k forks source link

Lab-11-5코드실행중 GPU 환경에서 evalueate 실행과정에서 발생하는 오류 해결 #36

Open JeongMyeong opened 4 years ago

JeongMyeong commented 4 years ago

RuntimeError: legacy constructor for device type: cpu was passed device type: cuda, but device type must be: cpu 발생하는 오류를 해결

Hexuanfang commented 4 years ago

hi, thanks for your post, i got the same error, can i ask how did you fix it?