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

No module named 'gsplat.optimizers' #463

Open
MasahiroOgawa opened this issue Oct 23, 2024 · 3 comments
Open

No module named 'gsplat.optimizers' #463

MasahiroOgawa opened this issue Oct 23, 2024 · 3 comments

Comments

@MasahiroOgawa
Copy link
Contributor

I set up by following readme instruction from the beginning (I installed gsplat using pip install gsplat), but when I ran

cd examples
bash benchmarks/basic.sh

I got below error.

ModuleNotFoundError: No module named 'gsplat.optimizers' 

How can I solve this?

@heety313
Copy link

I see the same thing running simple_trainer

python3 simple_trainer.py default --data_dir ~/splat --data_factor 4 --result_dir --result_dir ~/output
Traceback (most recent call last):
  File "/home/heety/gsplat/examples/simple_trainer.py", line 43, in <module>
    from gsplat.optimizers import SelectiveAdam
ModuleNotFoundError: No module named 'gsplat.optimizers'

@tmyok
Copy link

tmyok commented Oct 26, 2024

I faced the same issue, but it worked when I installed it from the source code.

pip install git+https://github.com/nerfstudio-project/gsplat.git

It seems that the latest version on PyPI (1.4.0) is from before the changes for gsplat.optimizers were included.
https://github.com/nerfstudio-project/gsplat/pull/432/files

@MasahiroOgawa
Copy link
Contributor Author

Ah, I see. Thank you! I will try it.

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

3 participants