deeplearning Matlab is not compatible with graphics card
1 次查看(过去 30 天)
显示 更早的评论
i use parallel.gpu.enableCUDAForwardCompatiblity function. but i found when network input size is 1*400*1,train samples number is 16800.batchsize even 1000,i can train,and get a good result.but the other network,input is 1*60*1,when batchsize maybe over 256,than network be very wrose.acc is 1/(number of class).ie i have 4 clsass,then is 25%.batchsize lower 256,nertwork works very well. when input is 50*64*1,then any batchsize is wrose.
my matlab is 2020b.graphics card is 3090.
回答(1 个)
Joss Knight
2021-1-10
As explained in the documentation, both for CUDA support and for the enableForwardCompatibility function, "Enabling forward compatibility can result in wrong answers and unexpected behavior during GPU computations".
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with GPU Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!