Training NN with single precision data on GPU
Ältere Kommentare anzeigen
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 Kommentare
Raunak Gupta
am 24 Jan. 2020
Hi,
Can you provide a sample code which reproduce the error while using single precision data and GPU?
Cameron Lee
am 31 Jan. 2020
Bearbeitet: Cameron Lee
am 31 Jan. 2020
Cameron Lee
am 18 Feb. 2020
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Parallel and Cloud finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!