Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what potentially cause error when i tried ns-train -h after installed #97

Open
TicoCh1 opened this issue Apr 1, 2024 · 0 comments
Open

Comments

@TicoCh1
Copy link

TicoCh1 commented Apr 1, 2024

in ./in2n/in2n_pipeline.py line 38
datamanager: InstructNeRF2NeRFDataManagerConfig =InstructNeRF2NeRFDataManagerConfig()
would lead to an exception in nerfstudio envs\nerf\Lib\dataclasses.py
line 815, in _get_field
raise ValueError(f'mutable default {type(f.default)} for field '
ValueError: mutable default <class 'in2n.in2n_datamanager.InstructNeRF2NeRFDataManagerConfig'> for field datamanager is not allowed: use default_factory

which is fixed by changing line 38 to
datamanager: InstructNeRF2NeRFDataManagerConfig = field(default_factory=InstructNeRF2NeRFDataManagerConfig)

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

No branches or pull requests

1 participant