rbgirshick / py-faster-rcnn

Faster R-CNN (Python implementation) -- see https://github.com/ShaoqingRen/faster_rcnn for the official MATLAB version
Other
8.13k stars 4.11k forks source link

Memory issues #369

Open hhertogh opened 8 years ago

hhertogh commented 8 years ago

Hello,

what is the minimum amount of memory required to execute the "demo" script ?

I've got the following error: Loaded network /home/henry/py-faster-rcnn/data/faster_rcnn_models/VGG16_faster_rcnn_final.caffemodel F1009 00:02:59.708518 11833 syncedmem.hpp:25] Check failed: ptr host allocation of size 172800000 failed ** Check failure stack trace: *** Aborted (core dumped)

I am trying to make it work on a droplet (digital ocean) so indeed the memory is pretty limited and only CPU mode is used. My goal is to create an API that could use the framework to detect objects...

Thanks for your help.

Lukeeeeee commented 7 years ago

Same problem here.

sigberto commented 7 years ago

Same here.

ibwpang commented 6 years ago

exactly same error here

ibwpang commented 6 years ago

I found that when I use vgg16, it may run out of memory, so I use ./tools/demo.py --cpu --net=zf, then problem solved.

atinesh-s commented 5 years ago

GPU: Nvidia Gtx 1050 ti 4gb System Memory: 8gb

./tools/demo.py --cpu --net vgg16 System RAM: 5.5gb

./tools/demo.py --gpu 0 --net vgg16 Crashed (Out of gpu memory)

./tools/demo.py --cpu --net zf System RAM: 1.4gb

./tools/demo.py --gpu 0 --net zf System RAM: 0.8gb