From 3ae1bdafb9a16b006af63ac3349da687e560f412 Mon Sep 17 00:00:00 2001 From: bkerbl Date: Sun, 16 Jul 2023 16:28:31 +0200 Subject: [PATCH] Added LR example --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 856abda..f3a710d 100644 --- a/README.md +++ b/README.md @@ -468,9 +468,8 @@ python convert.py -s --skip_matching [--resize] #If not resizing, Ima - *How can I use this for a much larger dataset, like a city district?* The current method was not designed for these, but given enough memory, it should work out. However, the approach can struggle in multi-scale detail scenes (extreme close-ups, mixed with far-away shots). This is usually the case in, e.g., driving data sets (cars close up, buildings far away). For such scenes, you will want to lower the ```--position_lr_init/final``` and ```--scaling_lr``` (x0.3, x0.1, ...). Compare default learning rate (left) and ```--position_lr_init 0.000016 --scaling_lr 0.001"``` (right) below. -| | | -| --- | --- | | ![Default learning rate result](assets/worse.png "title-1") | ![Reduced learning rate result](assets/better.png "title-2") | +| --- | --- | - *I don't have 24 GB of VRAM for training, what do I do?* The VRAM consumption is determined by the number of points that are being optimized, which increases over time. If you only want to train to 7k iterations, you will need significantly less. To do the full training routine and avoid running out of memory, you can increase the ```--densify_grad_threshold```, ```--densification_interval``` or reduce the value of ```--densify_until_iter```. Note however that this will affect the quality of the result. Also try setting ```--test_iterations``` to ```-1``` to avoid memory spikes during testing. If ```--densify_grad_threshold``` is very high, no densification should occur and training should complete if the scene itself loads successfully.