akshitac8 / OW-DETR

[CVPR 2022] Official Pytorch code for OW-DETR: Open-world Detection Transformer
231 stars 40 forks source link

CUDA out of memory #46

Open KevinHuang1102 opened 1 year ago

KevinHuang1102 commented 1 year ago

I use RTX3070 to run test.py,but there occur an error: OutOfMemoryError: CUDA out of memory. Tried to allocate 1.88 GiB (GPU 0; 7.78 GiB total capacity; 5.65 GiB already allocated; 677.44 MiB free; 5.90 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF How can I slove this problem?

Saun-Hu commented 3 months ago

the same error as your's with Tesla P100,have you solved this problem?

KevinHuang1102 commented 3 months ago

Unfortunately, I didn't solve this problem. I guess that my GPU is not powerful enough.