lyuwenyu / RT-DETR

[CVPR 2024] Official RT-DETR (RTDETR paddle pytorch), Real-Time DEtection TRansformer, DETRs Beat YOLOs on Real-time Object Detection. 🔥 🔥 🔥
Apache License 2.0
2.31k stars 258 forks source link

现在跑pytorch版本的模型,会爆现存,3080ti,是为什么呢 #303

Open Steven-MR opened 4 months ago

Steven-MR commented 4 months ago

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 4.52 GiB (GPU 0; 11.76 GiB total capacity; 7.13 GiB already allocated; 3.38 MiB free; 11.38 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

lyuwenyu commented 4 months ago

显存不够呗 可以考虑降低bs