[已解决] RuntimeError: cuda runtime error (700) : an illegal memory access was encountered
摘要:这个error发生在我得到训练好的Decoder之后,对latent space采样并生成新数据的时候,如下RuntimeError: cuda runtime error (700) : an illegal memory access was encountered at ..\aten\src\THC\THCCachingHostAllocator.cpp:278问题出在如何把数据sample存储在gpu上:torch.tensor(sample, device=device)。其中de
原创
2020-10-12 08:49:04 ·
13415 阅读 ·
6 评论