pytorch-unsupervised-segmentation-tip
pytorch-unsupervised-segmentation-tip copied to clipboard
RuntimeError: CUDA out of memory. Tried to allocate 60.00 MiB (GPU 0; 3.95 GiB total capacity; 708.35 MiB already allocated; 111.00 MiB free; 742.00 MiB reserved in total by PyTorch)
Hello, I always get the following error when running the demo code multiple times even if I am using a very tiny image. I think maybe the cache is not emptied or something? I am not really sure and would appreciate your help. Thank you
Error Message:
Traceback (most recent call last):
File "demo.py", line 127, in
Same issue
I had the same problem and resolved it by downsize the resolution of target image. The example image size is only <500x500 pixels.