-
Notifications
You must be signed in to change notification settings - Fork 5
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
load nerfstudio model error #12
Comments
Hello, which version of Nerfstudio are you using? I recommend using the latest one from the nerfstudio main branch since there were some recent changes to splatfacto. Let me know if the error still appears. |
Hello, Thank you for your reply. |
I'm having trouble reproducing that error. On my system, it is working with the latest main branch of instruct-gs2gs and nerfstudio. Did you install nerfstudio from pip or from source from the main git branch? |
Also face this error. |
Hello, I have an error like,
Loading latest Nerfstudio checkpoint from load_dir...
Traceback (most recent call last):
File "/home/anaconda3/envs/gs2gs/bin/ns-train", line 8, in
sys.exit(entrypoint())
File "/home/anaconda3/envs/gs2gs/lib/python3.9/site-packages/nerfstudio/scripts/train.py", line 262, in entrypoint
main(
File "/home/anaconda3/envs/gs2gs/lib/python3.9/site-packages/nerfstudio/scripts/train.py", line 247, in main
launch(
File "/home/anaconda3/envs/gs2gs/lib/python3.9/site-packages/nerfstudio/scripts/train.py", line 189, in launch
main_func(local_rank=0, world_size=world_size, config=config)
File "/home/anaconda3/envs/gs2gs/lib/python3.9/site-packages/nerfstudio/scripts/train.py", line 99, in train_loop
trainer.setup()
File "/home/anaconda3/envs/gs2gs/lib/python3.9/site-packages/nerfstudio/engine/trainer.py", line 190, in setup
self._load_checkpoint()
File "/home/anaconda3/envs/gs2gs/lib/python3.9/site-packages/nerfstudio/engine/trainer.py", line 405, in _load_checkpoint
self.optimizers.load_optimizers(loaded_state["optimizers"])
File "/home/anaconda3/envs/gs2gs/lib/python3.9/site-packages/nerfstudio/engine/optimizers.py", line 201, in load_optimizers
self.optimizers[k].load_state_dict(v)
KeyError: 'xyz'
I installed gsplat: 0.1.10, igs2gs: 0.1.0.
Thank you for helping with this issue.
The text was updated successfully, but these errors were encountered: