Training NN with single precision data on GPU
Mostra commenti meno recenti
I am trying to use fitnet to train a network on my GPU using single-precision input data (X and T). However, this always returns an error, which starts with:
"Error using nnGPUOp.bg (line 134) Variable 'perfs1' changed type. Consider renaming variable on left hand side of assignment."
This only seems to be a problem when using single-precision data AND the GPU. When I train using double-precision on GPU, it works fine, and when I use single- or double-precision data on the CPU, it also works fine.
Anyone found a way around this?
3 Commenti
Raunak Gupta
il 24 Gen 2020
Hi,
Can you provide a sample code which reproduce the error while using single precision data and GPU?
Cameron Lee
il 31 Gen 2020
Modificato: Cameron Lee
il 31 Gen 2020
Cameron Lee
il 18 Feb 2020
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Parallel and Cloud in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!