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

diff-gaussian-rasterization-w-pose not being found #49

Closed
anekha opened this issue Sep 27, 2024 · 5 comments
Closed

diff-gaussian-rasterization-w-pose not being found #49

anekha opened this issue Sep 27, 2024 · 5 comments

Comments

@anekha
Copy link

anekha commented Sep 27, 2024

Hello,

I have tried for over 2 weeks to install GaussianObject. I am using CUDA 11.8 and python 3.11 as per instructions on the Github page but each time I am getting the error during training where it says it cannot find the submodule and I do not know what to do at this point as I have tried installing it again

Traceback (most recent call last):
File "/content/GaussianObject/train_gs.py", line 26, in
from gaussian_renderer import network_gui
File "/content/GaussianObject/gaussian_renderer/init.py", line 15, in
from diff_gaussian_rasterization_w_pose import GaussianRasterizationSettings as GaussianRasterizationSettings_w_pose, GaussianRasterizer as GaussianRasterizer_w_pose
ModuleNotFoundError: No module named 'diff_gaussian_rasterization_w_pose'

I would be grateful for any help. I was working on the shared colab notebook but I think versions are out of date so I created a new one based on that.
Thanks

@eternalland
Copy link

same question, how can i resolve it?

@seulqxq
Copy link

seulqxq commented Sep 30, 2024

same

@eternalland
Copy link

eternalland commented Oct 1, 2024

@anekha @seulqxq

Because the installation name of file "/submodules/diff_gaussian_rasterization" and file "/submodules/diff-gaussian-rasterization-w-pose" are the same, they conflict.

  1. change all the word "diff_gaussian_rasterization" to "diff_gaussian_rasterization_w_pose" in this file "/submodules/diff-gaussian-rasterization-w-pose/setup.py"
  2. change the filename of file "diff_gaussian_rasterization" to "diff_gaussian_rasterization_w_pose" under this path "/submodules/diff-gaussian-rasterization-w-pose"
  3. pip install ./submodules/diff-gaussian-rasterization-w-pose
  4. test:
    $python
    import diff_gaussian_rasterization_w_pose

@anekha
Copy link
Author

anekha commented Oct 2, 2024

@eternalland thanks - trying this now. Hope it works

@anekha
Copy link
Author

anekha commented Oct 3, 2024

@eternalland Thanks a lot, this worked

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