ubc-vision/COTR

Question

Closed this issue · 2 comments

Hello, when running through the code with the pre-trained model, it appears that RuntimeError: CUDA out of memory. Tried to allocate 2.00 GiB (GPU 0; 7.79 GiB total capacity; 2.90 GiB already allocated; 1.83 GiB free; 4.80 GiB reserved in total by PyTorch).Is there any solution?For example, which parameters to adjust?

Have you tried to set the parameter to False?

LARGE_GPU = True

Thank you very much, your method is effective!