참고한 코드에서는 Visdom이라는 시각화 도구 사용
RuntimeError: Found no NVIDIA driver on your system.
RuntimeError: mat1 and mat2 shapes cannot be multiplied (505x1024 and 4096x512)
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0!
pred = torch.zeros(0) # 변경 전
pred = torch.zeros(0).to(device) # 변경 후