why iam having error "The following error occurred converting from gpuArray to single: Conversion to single from gpuArray is not possible"

2 Ansichten (letzte 30 Tage)
iam using this code [net, info] = trainNetwork(pximds,lgraph,options);

Antworten (1)

Joss Knight
Joss Knight am 17 Mai 2018
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.

Kategorien

Mehr zu GPU Computing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by