Open iraj465 opened 2 years ago
Hello, What GPU is this on, or more precisely, how much memory does your GPU have?
For memory consumption, you can log the usage using nvidia-smi --query-gpu=memory.used --format=csv -lms 100
when you run to get a feel for the usage. Memory is a function of image resolution, batch size and if you have depth peeling enabled. We ran the results in the paper using GPUs with 32+GB of memory.
We rely on nvdiffrast for differentiable rasterization, and rasterizing full screen buffers, so for very high image resolution, the memory cost is significant in the public code base. Easiest way to reduce memory (at the cost of quality) is to reduce the image resolution and/or lower the batch size.
I'm using an A100 GPU with 40GB memory, so it should be able to load 1024x1024 images in memory? I even reduced the batch size to 2 and 4 respectively but still got segmentation fault.
Hi, i'm getting segmentation fault on lower resolution images too, can you please give any insights as to why this is happening?