Neural Network: Out of memory. Type HELP MEMORY for your options.
2 次查看(过去 30 天)
显示 更早的评论
I have a net object which was trained on my slower machine and worked perfectly. My old machine was a 64 bit windows 7, 32bit matlab and 3 gb of ram. but on my new machine which is way more powerful i run into memory problems using the same script and training data.
The config of my new machine is as shown below. Running windows 7 64-bit version and matlab 2013a 64 bit version. Memory details below:
>> memory
Maximum possible array: 11414 MB (1.197e+10 bytes) *
Memory available for all arrays: 11414 MB (1.197e+10 bytes) *
Memory used by MATLAB: 1222 MB (1.281e+09 bytes)
Physical Memory (RAM): 7759 MB (8.136e+09 bytes)
- Limited by System Memory (physical + swap file) available.
Size of my training data:
>> whos
Name Size Bytes Clas
nn_input 126x62500 63000000 double
nn_output 126x4 4032 double
So, as far as memory is concerned my machine should support it. (It worked on my slower machine so clearly memory should not be a issue).
Even using the same trained net object trained on my slower machine results in: Out of memory. Type HELP MEMORY for your options.
Error in nnMex2.codeHints (line 117)
hints.TEMP = zeros(1,ceil(tempSize/8),'double');
Error in nncalc.setup2 (line 13) calcHints = calcMode.codeHints(calcHints);
Error in network/sim (line 321)
[calcLib,calcNet] =
nncalc.setup2(calcMode,calcNet,calcData,calcHints,isParallel);
Error in network/subsref (line 17)
otherwise, v = sim(vin,subs{:});
in my new machine. And when i start to train using the toolbox, my computer just hangs or MATLAB starts complaining OUT OF MEMORY.
What could be the possible problem?
3 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!