
解决程序bug
解决程序bug
多笑一笑啊
冥王星不见了
展开
-
多GPU训练保存的参数,单GPU的环境,KeyError: ‘base.conv1.weight‘
def load_param(self, model_path): param_dict = torch.load(model_path)# =============================================================================# for i in param_dict:# if 'fc' in i:# continue#原创 2021-06-08 17:24:19 · 1575 阅读 · 1 评论 -
CUDA error: CUBLAS_STATUS_NOT_INITIALIZED when calling `cublasCreate(handle)`
RuntimeError: [enforce fail at …\c10\core\CPUAllocator.cpp:75] data. DefaultCPUAllocator: not enough memory: you tried to allocate 50331648 bytes. Buy new RAM!pytorch:RuntimeError: CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling cublasCreate(handle)b原创 2021-06-08 17:21:22 · 8132 阅读 · 1 评论