iamyb / DAIN_ESRGAN_DeOldify

DAIN, ESRGAN, DeOldify
23 stars 8 forks source link

RuntimeError: CUDA out of memory. #3

Closed kir3d closed 3 years ago

kir3d commented 3 years ago

sequence of frames 2048x1556 on DAIN part: RuntimeError: CUDA out of memory. Tried to allocate 3.35 GiB (GPU 0; 7.93 GiB total capacity; 3.80 GiB already allocated; 3.36 GiB free; 86.36 MiB cached)

How I can split images or may be arguments for DAIN? DAIN-APP can split with padding self.

iamyb commented 3 years ago

something like this? https://github.com/samdobson/image_slicer (I didn't try...)

As I know DAIN itself can't support split, anyhow you need write some code by yourself to support such high resolution...

kir3d commented 3 years ago

something like this? https://github.com/samdobson/image_slicer (I didn't try...)

something like this https://github.com/baowenbo/DAIN/issues/92#issuecomment-683567327 now I will try video crop with gap and separate both process, after will try compose