why iam having error "The following error occurred converting from gpuArray to single: Conversion to single from gpuArray is not possible"
조회 수: 2 (최근 30일)
이전 댓글 표시
iam using this code [net, info] = trainNetwork(pximds,lgraph,options);
댓글 수: 0
답변 (1개)
Joss Knight
2018년 5월 17일
This can happen sometimes when you are running low on GPU memory due to a bug. You will be receiving the "GPULowOnMemory" warning "GPU is low on memory, which can slow performance due to additional data transfers with main memory. Try reducing the 'MiniBatchSize' training option."
The solution is to reduce your mini-batch size. You will find that training goes faster.
댓글 수: 2
Joss Knight
2018년 5월 17일
Run
warning('on','nnet_cnn:warning:GPULowOnMemory')
then run again. Does this issue occur but the warning NOT show?
참고 항목
카테고리
Help Center 및 File Exchange에서 GPU Computing에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!