Runtime Error: $ Torch: not enough memory

Hey guys, I am replicating the Edge-Connect [1] in an experiment and I am facing the following error:

$ RuntimeError: $ Torch: not enough memory: you tried to allocate 0GB. Buy new RAM! at …\aten\src\TH\THGeneral.cpp:201

I have looked at all possible resources on the web but couldn’t figure out why this might be happening. Any help will be appreciated.

[1. https://github.com/knazeri/edge-connect]