[训练报错]cuDNN error: CUDNN_STATUS_NOT_SUPPORTED. This error may appear if you passed

pytorch训练人脸识别报错:cuDNN error: CUDNN_STATUS_NOT_SUPPORTED. This error may appear if you passed in a non-contiguous

处理方法:在代码中添加“torch.backends.cudnn.enabled = False”

[训练报错]cuDNN error: CUDNN_STATUS_NOT_SUPPORTED. This error may appear if you passed_第1张图片

问题解决参考链接:https://discuss.pytorch.org/t/resolved-batchnorm1d-cudnn-status-not-supported/3049

部分截图:

[训练报错]cuDNN error: CUDNN_STATUS_NOT_SUPPORTED. This error may appear if you passed_第2张图片

其他参考链接: 

pytorch torch.backends.cudnn设置作用 

你可能感兴趣的:(深度学习pytorch使用,CUDNN_error)