NVlabs / instant-ngp

Instant neural graphics primitives: lightning fast NeRF and more
https://nvlabs.github.io/instant-ngp
Other
15.86k stars 1.91k forks source link

how set train step when build or instant-ngp nerf/fox #1458

Closed goometasoft closed 1 year ago

goometasoft commented 1 year ago

how set train step when build or instant-ngp nerf/fox

Tom94 commented 1 year ago

First, to be able to show the GUI, you need to compile without the -DNGP_BUILD_WITH_GUI=OFF configuration.

Then, to achieve your desired behavior, you can modify src/main.cu to call testbed.init_window only after a set number of training iterations have passed rather than at startup. If you want more involved scripting, I highly recommend using (and modifying) the Python environment scripts/run.py instead of the binary executable.