Open narwyllllll opened 1 year ago
调小batch/numwork
When are you getting this error? While running the model or during training?
When are you getting this error? While running the model or during training?
I got the same error while compiling cuda operators. To be exact, it's while executing python test.py
command
Did anyone find a solution to this?
Compiling CUDA operators的cd models/dino/ops python setup的时候报错torch.cuda.OutOfMemoryError: CUDA out of memory. 该怎么解决? torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 7.50 GiB (GPU 0; 14.75 GiB total capacity; 7.50 GiB already allocated; 7.13 GiB free; 7.50 GiB reserved in total by PyTorch)