dyabel / detpro

Apache License 2.0
171 stars 26 forks source link

How much memory is needed to train detpro? #25

Closed yangxue0827 closed 2 years ago

yangxue0827 commented 2 years ago

OOM error occurs RuntimeError: CUDA out of memory. Tried to allocate 262.00 MiB (GPU 0; 23.70 GiB total capacity; 21.79 GiB already allocated; 20.81 MiB free; 22.32 GiB reserved in total by PyTorch) when I use command python prompt/run.py train data/lvis_clip_image_proposal_embedding/train data/lvis_clip_image_proposal_embedding/val checkpoints/exp fg_bg_5_5_6_end soft 0.5 0.5 0.6 8 end on 3090 (24G).

So I wonder how much memory is needed to train detpro?