Closed YuhsiHu closed 2 years ago
Update: Now I can export images!
python scripts/run.py --scene data/nerf/fox/ --mode nerf --load_snapshot data/nerf/fox/base.msgpack --screenshot_transforms data/nerf/fox/transforms.json --screenshot_dir data/nerf/fox/screenshot --width 2048 --height 2048 --n_steps 0
But this transforms.json is my trainning data. I want to render some view that I choose in GUI(because they are great) using camera path window( and save to base_cam.json), but run.py cannot load this file.
https://github.com/NVlabs/instant-ngp/discussions/490 contains a conversion script.
If you have follow-up questions or comments, please post them in the above thread. Cheers!
Hey, thank you for your great work! I have tried on instant-ngp and it is beyond my expectation! So I want to export some images base on the model I trained on fox. I knew that in GUI we can set camera path and generate some frames in GUI, but how can we export that (or image is enough)? I save the camera path file base_camera.json, model base.msgpack, and I ran:
python scripts/run.py --scene data/nerf/fox/ --mode nerf --load_snapshot data/nerf/fox/base.msgpack --screenshot_transforms data/nerf/fox/base_cam.json --screenshot_frames 1 --screenshot_dir data/nerf/fox/screenshot --n_steps 0
It cannot export images to screenshot folder :
There is nothing in it. How can I export images using run.py or GUI? Thank you for your time!