pytorch
马浚华
这个作者很懒,什么都没留下…
展开
-
在transformers使用from_pretrain方法下载的预训练模型在哪儿
一般在~/.cache/torch里见transformers源码:原创 2020-07-22 16:08:01 · 4858 阅读 · 4 评论 -
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版本不原创 2020-06-07 09:18:46 · 11008 阅读 · 3 评论