ERROR
[ML] RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument mat2 in method wrapper_mm)
파송송
2023. 1. 13. 21:22
728x90
모델을 cuda에 넣어주지 않으면 생길 수 있는 에러이다
model.cuda()를 해주자
728x90