Can the "input data normalization" of "trainNetwork" be done separatedly?
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jaime Almonacid-Caballer
el 11 de Sept. de 2020
Comentada: Jaime Almonacid-Caballer
el 16 de Sept. de 2020
Hi,
I am begining with Convolutional Nural Networks in Matlab following the available examples.
I have prepared the input data and parameters. When I have run the training of the networks (trainNetworks) it has began with the 'input data normalization' (during more than 2 hours). Once it has been done, when it should have began the iterations, Matlab has failed (Gpu out of memory).
Would any way to have the normalization done before the training so that I could get the errors (logical errors while I am learning) without expending the previous 2 hours each time?
Thanks a lot,
Jaime
0 comentarios
Respuesta aceptada
Madhav Thakker
el 14 de Sept. de 2020
Hi Jaime,
I understand that you want to stop the inbuilt data normalization. You can do so by creating your own input data layer and setting normalization to none. I was able to disable normalization in https://www.mathworks.com/help/deeplearning/ug/create-simple-deep-learning-network-for-classification.html by calling
imageInputLayer([28 28 1], 'Normalization', 'none')
instead of
imageInputLayer([28 28 1])
when defining the network.
Hope this helps.
1 comentario
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Data Workflows en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!