RuntimeError: transform: failed to synchronize: cudaErrorIllegalAddress: an illegal memory access
@[TOC]#Pytorch: RuntimeError: transform: failed to synchronize: cudaErrorIllegalAddress解决pytorch出现 RuntimeError: transform: failed to synchronize: cudaErrorIllegalAddress: an illegal memory access was encountered导致原因可能有两种:忘记了model.to(device)pytorch版本不