lukasHoel / text2room

Text2Room generates textured 3D meshes from a given text prompt using 2D text-to-image models (ICCV2023).
https://lukashoel.github.io/text-to-room/
MIT License
1.02k stars 71 forks source link

`transforms.json` missing file extensions, unable to train in NeRFStudio #7

Closed Mason-McGough closed 1 year ago

Mason-McGough commented 1 year ago

In the README.md guide it states that the transforms.json file can be used with Instant NGP and NeRFStudio, but using it directly with ns-train in NeRFStudio produces the following error:

FileNotFoundError: [Errno 2] No such file or directory: '<path_to_output_dir>/output_rendering/rendering_0000'

It seems that the paths in transforms.json are missing their extensions. save_image returns the filename without the extension. The only place in the source that uses this return value is save_seen_trajectory_renderings. Perhaps it can be modified to return the filename with extension?

Mason-McGough commented 1 year ago

Pull request: https://github.com/lukasHoel/text2room/pull/8