use trainNetwork() function on a matrix of doubles
1 view (last 30 days)
I want to feed my neural network a 2D matrix which contains the computed luminosity difference of an image sequence. I want to use the trainNetwork() function, but it can only work on data with standard image format and does not accept .mat files. Is there any ways that I could read from a .mat file and then feed the 2D matrix read from it into my neural network?
Ammar Saleem on 17 Apr 2018
Edited: KSSV on 16 Mar 2021
https://www.mathworks.com/help/nnet/ref/trainnetwork.html#mw_a6eaa015-a2c1-4432-8b91-040f85f64071 use Train Network for Image Regression or Train Network for Sequence Classification according to your requirement