pytorch runtime error: CUDNN_STATUS_MAPPING_ERROR
来源:互联网 发布:广州恒大淘宝官网首页 编辑:程序博客网 时间:2024/06/07 10:48
将训好的模型的参数赋值给另外一个网络,
在测试赋值是否正确的时候,在
output = model(input)
一直报错:
runtime error: CUDNN_STATUS_MAPPING_ERROR
多方调试无果。
参考failed to enqueue CUDNN_STATUS_MAPPING_ERROR
In Cudnn documentation about this particular error:
CUDNN_STATUS_MAPPING_ERROR
An access to GPU memory space failed, which is usually caused by a failure to bind a texture.
To correct: prior to the function call, unbind any previously bound textures.
Otherwise, this may indicate an internal error/bug in the library.
参考RuntimeError: CUDNN_STATUS_MAPPING_ERROR,
才发现是model没有放在 gpu上,而Input在 gpu上。增加
model = model.cuda()
就解决了。
阅读全文
0 0
- pytorch runtime error: CUDNN_STATUS_MAPPING_ERROR
- pytorch runtime error(59):device-side assert triggered at XXX
- Runtime Error
- RunTime Error
- Runtime Error
- runtime error
- Runtime Error
- Runtime Error!
- PyTorch
- PyTorch
- PyTorch
- pytorch
- pytorch
- Pytorch
- Runtime Library LNK2005 Error
- runTime error 服务器错误
- Runtime error代码解释
- the Runtime error
- Sailsjs 上传文件(local disk,S3)
- 王怡牧师:我再也不能忍受了
- 从cocosstudio导出的csb文件获取子节点
- iOS —— bounds vs frame vs center
- Snakes and Ladders LightOJ
- pytorch runtime error: CUDNN_STATUS_MAPPING_ERROR
- windows10环境下配置深度学习环境实操
- 面试总结
- hdu 3152 Obstacle Course
- JS常用
- 员工半夜被微信告知公司解散| 工资未发、押金未退,共享宝马走向破产…
- 如何将Java Web项目部署到服务器上
- 客户端切换网络下WebSocket重连的后台实现
- C++ Primer 学习笔记(第四章)