Closed wchstrife closed 3 years ago
What is resolution of your image? Your problem is likely to be caused by too large number of unknown pixels, that led to allocation of too big matrix that could not fit to RAM of your PC.
I have double-checked these images. the resolution is 2K, there are many unknown areas on the image, thanks for your reply!
@merofeev @MarcoForte if we do run into this issue, would just resizing the image smaller still work or is there an unwritten rule that this is a bad idea?
For context: I was working with 5k+ resolution images (>5120px × >2880px) and I'm working on a machine with >500GB of RAM, 40 Cores, and Linux 20.04. The process seems to only use about 9GB before this error was thrown.
Update: For anyone interested on the system hardware above, I was able to get up to ~2900. Although the RAM usage doesn't ever peak above 9GB.
When I use solve_foreground_background.py to process adobe matting data. This error will appear on some pictures: