-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gaussian instantiation out of memory #11
Comments
Thanks for raising the issue. The reason is that each Gaussian needs to be initialized for each tile they appear in, so the theoretical maximum memory needed is (number of Gaussians * ceil(width / 16) * ceil(height / 16)). The renderer doesn't handle dynamic memory allocation right now, so everything is preallocated. You can try increasing the number here. |
Thanks for the reply. Btw, key control now have 2 translation (left/right and front/near), maybe there could be one more pair for up/down?
in
in And also, mouse control is not easy at some time (hard to rotate to the angle wanted). |
Hey these are great suggestions. Controls are a bit wonky right now. How I envisioned it is that the window would capture the mouse on click using |
Also the latest commit should add dynamic memory management. Feel free to give it a try. |
The latest commit worked with the 2nd model I used yesterday. About camera control, |
I added a few things that should bring better controls. The scene is not aligned right now and it's usually loaded up-side-down, so that's why it might feel a bit weird. I'll add some form of calibration in the future. |
Mouse click and ESC release makes control feel better. But I tried to move mouse left/right, and after some times, still the target model looks like rotating in roll direction. And I found it hard to change the camera to the other side of the model. |
There isn't really a good way to place the camera at the right position unless we read the training dataset as well. I might add that as an option. |
I thought the rotation vector should not just be like x or y axis.
(Btw, add a option for on/off showing origin point (0, 0, 0) and xyz axes direction may help debugging, if possible.) |
Good catch! I'll fix that. |
Hi, I have find some problem with
![20240222121748](https://private-user-images.githubusercontent.com/29222415/306845605-91bf6565-5383-4937-9e52-029a41cf12f6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2ODkwNjYsIm5iZiI6MTcyNDY4ODc2NiwicGF0aCI6Ii8yOTIyMjQxNS8zMDY4NDU2MDUtOTFiZjY1NjUtNTM4My00OTM3LTllNTItMDI5YTQxY2YxMmY2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI2VDE2MTI0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFiM2M4NTlmYzJkYTU2YjE1ZjQ1NzBjZDdlZGJlYzcxNjAyY2ZlMzViMDY5ZDU4ZmI1MGQ0Y2JkZWU0M2Y1YWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.s3gOeCjfIYm3jtJYUCtisDMpHS3u7zFtgaTe6ECx1x0)
Gaussian instantiation out of memory
.First time, I run a ply file ~2.1GB, and it worked well.
GPU memory usage went to ~8.5GB at first, then went to 9.4GB when the render result showed.
The next time, I run a ply file ~500MB, which is an edited version of the first file, by deleting some 'fog' points.
GPU memory usage also went to ~8.5GB at first, but then it came out
Gaussian instantiation out of memory
.Why an edited small ply file causes out of memory?
![20240222122624](https://private-user-images.githubusercontent.com/29222415/306848221-b5ab0d86-9d37-4a8e-9abc-1567de40b8f5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2ODkwNjYsIm5iZiI6MTcyNDY4ODc2NiwicGF0aCI6Ii8yOTIyMjQxNS8zMDY4NDgyMjEtYjVhYjBkODYtOWQzNy00YThlLTlhYmMtMTU2N2RlNDBiOGY1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI2VDE2MTI0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWEzOGQ3NmQzMjRmOWUzM2NkMGNiNTZiNTcxYTNjOTNlMGE1Nzc0MGUzOGM3NDY5MDUwZTdlMTgxYTFiMzQyY2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.gY1TCbHnT9VBCIOZslOxqxigRCIQFwmU_OdJkmPit-I)
The graphic card is Geforce RTX 2080 Ti 11GB.
Thanks.
The text was updated successfully, but these errors were encountered: