Skip to content Skip to sidebar Skip to footer

Runtimeerror: Cuda Out Of Memory. Tried To Allocate 754.00 Mib (gpu 0; 2.00 Gib Total Capacity; 1.21 Gib Already Allocated ...)

I'm trying transform video into high FPS footage using Super-SloMo https://www.youtube.com/watch?v=mXwXtIiOjRA&t=329s and when I run this process in Anaconda prompt it stops af

Solution 1:

Please try this. It worked for me:

import torch, gc

gc.collect()
torch.cuda.empty_cache()

Post a Comment for "Runtimeerror: Cuda Out Of Memory. Tried To Allocate 754.00 Mib (gpu 0; 2.00 Gib Total Capacity; 1.21 Gib Already Allocated ...)"