I am trying to generate a mask through run_video.py of transductive-vos.pytorch .
However, after a few iterations, a CUDA out of memory error occurs.
How do I solve it?
My GPU is nvidia gtx titan and it has about 24GB of memory.
Error message:
CUDA out of memory. Tried to allocate 6.95 GiB (GPU 0; 23.65 GiB total capacity; 9.53 GiB already allocated; 4.29 GiB free; 17.11 GiB reserved in total by PyTorch)
I am trying to generate a mask through run_video.py of transductive-vos.pytorch . However, after a few iterations, a CUDA out of memory error occurs. How do I solve it?
My GPU is nvidia gtx titan and it has about 24GB of memory. Error message: CUDA out of memory. Tried to allocate 6.95 GiB (GPU 0; 23.65 GiB total capacity; 9.53 GiB already allocated; 4.29 GiB free; 17.11 GiB reserved in total by PyTorch)