mcimpoi / deep-fbanks

Deep Filter Banks for Texture Recognition, Description and Segmentation (CVPR15)
94 stars 36 forks source link

Out of Memory Error in ostrain #2

Closed RuochenQ closed 7 years ago

RuochenQ commented 8 years ago

I got a 14 GB code(FV descriptor for DCNN on OpenSurface Dataset), which is too large to get an Out of Memory error in ostrain.m line 280: code = cat(2, code{:}) ;

But my memory space is quite large: 15GB physical memory and 14GB swap space.

How do you solve this Out of Memory problem?

mcimpoi commented 8 years ago

Hi! What is the size of "code" variable?
Could you please tell me on which images / dataset are you running? One option would be to sample (not consider all descriptors -- take 1000 of tham, uniformly sampled).