Closed Hanswufe closed 3 years ago
Hi @Hanswufe
You may try to use 2 images per gpu. It may due to the bounding box number is increasing.
You may also decrease proposal number in rpn_proposal
.
There are some way that may help https://mmdetection.readthedocs.io/en/latest/faq.html#training
I train cascade RCNN on custom dataset and the max number of gt bboxes in each image is 45. At the first time, out of memory is reported at the second epoch. At the second time, out of memory is reported at the fifth epoch.
Reproduction
What command or script did you run? ./tools/train.sh
samples_per_gpu = 4,num_workers=2, 2 gpus
Environment