microsoft / Bringing-Old-Photos-Back-to-Life

Bringing Old Photo Back to Life (CVPR 2020 oral)
https://arxiv.org/abs/2004.09484
MIT License
15.14k stars 2k forks source link

Skip a.png due to an error #253

Open synesios opened 1 year ago

synesios commented 1 year ago

$ python GUI.py Running Stage 1: Overall restoration initializing the dataloader model weights loaded directory of testing image: C:\users\24575\Desktop\Bringing-Old-Photos-Back-to-Life-master\test_images\old processing a.jpg You are using NL + Res Now you are processing a.png Skip a.png due to an error: [enforce fail at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\c10\core\impl\alloc_cpu.cpp:72] data. DefaultCPUAllocator: not enough memory: you tried to allocate 242095489024 bytes. Now you are processing sisters.png Skip sisters.png due to an error: [enforce fail at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\c10\core\impl\alloc_cpu.cpp:72] data. DefaultCPUAllocator: not enough memory: you tried to allocate 1706597351424 bytes. Finish Stage 1 ...

why this error? (there is no this error at first , after i try diffrent pics for several time, such error come out ,how to fix it....)