Training NN with single precision data on GPU
Afficher commentaires plus anciens
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 commentaires
Raunak Gupta
le 24 Jan 2020
Hi,
Can you provide a sample code which reproduce the error while using single precision data and GPU?
Cameron Lee
le 31 Jan 2020
Modifié(e) : Cameron Lee
le 31 Jan 2020
Cameron Lee
le 18 Fév 2020
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Parallel and Cloud dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!