instant-ngp
instant-ngp copied to clipboard
Can't export screenshots in EXR format from Python
When running
python scripts/run.py \
--scene /path/to/transforms.json
--load_snapshot /path/to/snapshot.ingp
--screenshot_transforms /path/to/transforms.json
--screenshot_dir /path/to/screenshots
--width 256 --height 256
I get an error
Traceback (most recent call last):
File "/home/duklin/repos/instant-ngp/scripts/run.py", line 284, in <module>
cam_matrix = f.get("transform_matrix", f["transform_matrix_start"])
KeyError: 'transform_matrix_start'
Also, there is no progress bar and no support for exporting the screenshots in exr format.
This is now fixed with #1421
When running
python scripts/run.py \ --scene /path/to/transforms.json --load_snapshot /path/to/snapshot.ingp --screenshot_transforms /path/to/transforms.json --screenshot_dir /path/to/screenshots --width 256 --height 256
I get an error
Traceback (most recent call last): File "/home/duklin/repos/instant-ngp/scripts/run.py", line 284, in <module> cam_matrix = f.get("transform_matrix", f["transform_matrix_start"]) KeyError: 'transform_matrix_start'
Also, there is no progress bar and no support for exporting the screenshots in exr format.
Have you solved the KeyError: 'transform_matrix_start' problem yet?
Yes, the fix is here
Thank you for your helpful job!