Skip to content

fix: avoid double path join when loading NeRF images - #120

Closed
andrewwhitecdw wants to merge 3 commits into
NVlabs:mainfrom
andrewwhitecdw:bugfix/dataset-readers-avoid-double-path-join-when-loading
Closed

fix: avoid double path join when loading NeRF images#120
andrewwhitecdw wants to merge 3 commits into
NVlabs:mainfrom
andrewwhitecdw:bugfix/dataset-readers-avoid-double-path-join-when-loading

Conversation

@andrewwhitecdw

Copy link
Copy Markdown

Problem

fix: avoid double path join when loading NeRF images

Fix

Replace:

            cam_name = os.path.join(path, frame["file_path"] + extension)

with:

            cam_name = frame["file_path"] + extension

Files changed

  • scene/dataset_readers.py

andrewwhitecdw and others added 3 commits July 27, 2026 20:48
Auditor: Removing os.path.join(path, ...) makes cam_name relative only to frame['file_path'], so Image.open will fail when the working directory is not the dataset root or when file_path lacks a directory prefix. This does not fix a real double path join (the only join is the one removed) and introduces a loading regression for standard NeRF synthetic layouts.
Auditor: adversarial auditor: empty diff
@andrewwhitecdw

Copy link
Copy Markdown
Author

Closing after multiple repair attempts: original patch no longer applies or auditor feedback remains unaddressed.

@andrewwhitecdw
andrewwhitecdw deleted the bugfix/dataset-readers-avoid-double-path-join-when-loading branch August 2, 2026 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant