Open xrd opened 9 months ago
I've noticed that this issue also always appears to happen to me when I only have 1 keyframe trying to render a single image.
The moment I add another camera keyframe in the path, multiple images will render.
I assume it may not be exactly the same issue since you were trying to create a video (which would usually have multiple frames), but at least this is a way to provide a minimum reproducible example that seems to always result in the error.
{
"default_fov": 75,
"default_transition_sec": 2,
"keyframes": [
{
"matrix": [
0.48770182459400074, -0.6865172221850452, -0.5392967957729877,
-0.4507239373890963, -0.8727777603899364, -0.369160257136332,
-0.31934258331729526, -0.2323788609443143, 0.020147239424029684,
0.6264302101546237, -0.7792170946207637, -0.7966745989802786,
0, 0, 0, 1
],
"fov": 75,
"aspect": 1.7777777777777777,
"override_transition_enabled": false,
"override_transition_sec": null
}
],
"camera_type": "perspective",
"render_height": 1080,
"render_width": 1920,
"fps": 30,
"seconds": 0,
"is_cycle": false,
"smoothness_value": 0,
"camera_path": []
}
E.g. as we can see the camera path list is empty. And in the code the "camera_to_world" key is supposed to be read and added to c2ws, which is later used in the line erroring. It fails because c2ws is empty since there was no camera in the empty "camera_path".
请问解决了吗?
meeeee tooooooooo
me too+1
Hi, I have met the same error. Have you solved that?
Describe the bug
Tried to render to MP4. got this error:
To Reproduce
ns-process-data images --data lego/ --output-dir lego_processed
ns-train nerfacto --data lego_processed/
ns-render camera-path --load-config outputs/lego_processed/nerfacto/2024-02-14_193442/config.yml --camera-path-filename /workspace/lego_processed/camera_paths/2024-02-14-19-34-49.json --output-path renders/lego_processed/2024-02-14-19-34-49.mp4
Expected behavior
It should create the mp4 file.
Additional context
Using docker:
Inside container
nvidia-smi
:colmap -h
Last commit from
git log: