I have 1D data which has been arranged as 700X8000X10(XxYxZ) where is X number of patients, Y is number of samples, and Z is number of features. I applied the following layer;
image3dInputLayer([700 8000 10],'Name','trainPredictors') where trainPredictors are an array of data arranged as 700X8000X10.
Target for the same is set as 700X8000.
denoiseNetFullyConnected = trainNetwork(trainPredictors,trainTargets,layers,options);
After training, I am getting following error.
Error using trainNetwork (line 165)
Layer 2: Invalid initializer. Requested 1024x51336000 (391.7GB) array exceeds maximum
array size preference. Creation of arrays greater than this limit may take a long time
and cause MATLAB to become unresponsive. See array size limit or preference panel for
more information.
Please help to resolve the issue
2 Comments
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/594145-1d-cnn-dnn-for-regression#comment_1013854
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/594145-1d-cnn-dnn-for-regression#comment_1013854
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/594145-1d-cnn-dnn-for-regression#comment_1015216
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/594145-1d-cnn-dnn-for-regression#comment_1015216
Sign in to comment.