Closed TheRealJayjayli closed 3 years ago
4K image requires 4096*4096*3(channels)*4(sizeof(float)) = 196MB memory, x 160 images = 30GB. Considering the temporary buffer, it is just out of memory. If you want to use 4K images, I think it is better to divide them into pieces of about 512x512.
When creating the training data (160x~4K PNGs), I get an out of memory error:
In
top
, I do not see luajit using more than 4GB out of my available 32GB of RAM.If I only use 5 images for training data, it works fine, however during training I get the following error:
However, luajit only uses 2GB of RAM before crashing. I am running Ubuntu 16.04 x86_64.