Training NN with single precision data on GPU
Mostrar comentarios más antiguos
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 comentarios
Raunak Gupta
el 24 de En. de 2020
Hi,
Can you provide a sample code which reproduce the error while using single precision data and GPU?
Cameron Lee
el 31 de En. de 2020
Editada: Cameron Lee
el 31 de En. de 2020
Cameron Lee
el 18 de Feb. de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Parallel and Cloud en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!