NVlabs / neuralangelo

Official implementation of "Neuralangelo: High-Fidelity Neural Surface Reconstruction" (CVPR 2023)
https://research.nvidia.com/labs/dir/neuralangelo/
Other
4.27k stars 383 forks source link

Load a trained model and generate novel view #199

Open aeskandari68 opened 2 months ago

aeskandari68 commented 2 months ago

After completing the training process, I am wondering how to load the model and generate a view or video from it. Unfortunately, I couldn't find any script that handles inference or generates an image from the desired view in the repository. I came across a code snippet in the repository, but it doesn't seem to be implemented yet, and it's not exactly what I am looking for. https://github.com/NVlabs/neuralangelo/blob/94390b64683c067c620d9e075224ccfe582647d0/projects/nerf/trainers/base.py#L158 I found another code snippet (https://github.com/NVlabs/neuralangelo/blob/94390b64683c067c620d9e075224ccfe582647d0/projects/nerf/trainers/nerf.py#L84)) and I am wondering if I can use it instead of the "base.py" one.

There is also another function for inference here: https://github.com/NVlabs/neuralangelo/blob/94390b64683c067c620d9e075224ccfe582647d0/projects/neuralangelo/model.py#L74 I am feeling quite confused about how to generate and save an image from the desired viewpoint. Do you have any suggestions that could help me with this?