DenseNetCaffe icon indicating copy to clipboard operation
DenseNetCaffe copied to clipboard

out of memory

Open makroid opened this issue 8 years ago • 2 comments

I built a densenet with default parameters (depth=40, batch-size=64 and 50), adapted the number of outputs to 3 for my dataset (160x160x3 px images) resulting in ~1mio parameters (which is not too big). When running the solver, I get an "error==cudaSuccess(2 vs. 0) out of memory" error on a Tesla K80. Any ideas?

makroid avatar Oct 04 '17 20:10 makroid

Please see this note #0. https://github.com/liuzhuang13/DenseNetCaffe#note

If your input is 160x160, I suggest downsampling the images twice (by pooling or strided convolution) so that it becomes 40x40 before entering the first block.

liuzhuang13 avatar Oct 05 '17 01:10 liuzhuang13

@makroid try this instead https://github.com/achbogga/densenet_caffe_for_imagenet

achbogga avatar Jan 31 '20 04:01 achbogga