Train Network using GPU with customlayer
显示 更早的评论
Hi I wrote an custom layer which is about spherical CNN, but when I try it on GPU it returns this error messagee
Error using trainNetwork (line 140) Unexpected error calling cuDNN: CUDNN_STATUS_NOT_SUPPORTED.
Caused by:
Error using nnet.internal.cnngpu.reluBackward
Unexpected error calling cuDNN: CUDNN_STATUS_NOT_SUPPORTED.When I try CPU to train it, it works but very slow. How should I fix it? I can upload the code for my layer if needed.
Thanks:)
3 个评论
Rui Xiang
2018-4-19
Joss Knight
2018-4-28
You would have to show us what your code is doing. Presumably you are passing invalid data out of layer and into the succeeding activation layer. You need to return a 4-D array of single precision values. Have you run checkLayer?
Rui Xiang
2018-5-1
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!