-
Hello, The error: |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 10 replies
-
Hi there, instant-ngp stores training images internally using fp16 values per channel, even if they come from .jpg/.png, which means your 86 images occupy You could try loading only half of those images and I suspect the rest of the algorithm will fit in the remaining space. |
Beta Was this translation helpful? Give feedback.
-
So if there is a way to put images into model batch by batch?Or it's already in pybind? |
Beta Was this translation helpful? Give feedback.
-
I already asked this somewhere else , but a way I imagine could be useful would be to downsample images after being positioned in COLMAP. This would need of course, to edit |
Beta Was this translation helpful? Give feedback.
-
Hello, Assuming the formula given by @Tom94 is valid, the memory should be sufficient. I don't understand where's the source of problem. Thank you in advance for you answers. |
Beta Was this translation helpful? Give feedback.
-
I am having a similar issue but I was actually running the same exact script all day with no issues. it certainly is large but the machine handled it pretty well. then i just ran the same exact thing again but this time saving the snapshot and i doubt that is what caused the issue. My guess is that somehow memory is not being released and I don't know how to do it. My machine is pretty powerful, it's a server with an A100 and 40GB memory. It's a multi-user server but nobody is running anything actively right now. |
Beta Was this translation helpful? Give feedback.
Hi there, instant-ngp stores training images internally using fp16 values per channel, even if they come from .jpg/.png, which means your 86 images occupy
86 * 4000 * 3000 * 4 * 2 = 8.2 GB
, which is more RAM than your GPU has (8 GB).You could try loading only half of those images and I suspect the rest of the algorithm will fit in the remaining space.