yrcong / RelTR

RelTR: Relation Transformer for Scene Graph Generation: https://arxiv.org/abs/2201.11460v2
229 stars 45 forks source link

Memory Utilization Issue #26

Closed karanvora2599 closed 9 months ago

karanvora2599 commented 1 year ago

While training the code on a 4 GPU system, The memory utilization suddenly exploded after 5 epochs, Thus killing the process. I was training the code on university HPC, system specification 24 Cores 128 GB RAM 4 Nvidia Quadro RTX 8000

yrcong commented 1 year ago

You could try to reduce the batch size. It rarely happens that two input images in the same batch are respectively very high and wide. But it could cause memory out when GPU memory is 99% occupied.