chensjtu / GaussianObject

GaussianObject: High-Quality 3D Object Reconstruction from Four Views with Gaussian Splatting (SIGGRAPH Asia 2024, TOG)
887 stars 54 forks source link

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

Closed anekha closed 3 weeks ago

anekha commented 4 weeks ago

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 commented 3 weeks ago

same question, how can i resolve it?

seulqxq commented 3 weeks ago

same

eternalland commented 3 weeks ago

@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 commented 3 weeks ago

@eternalland thanks - trying this now. Hope it works

anekha commented 3 weeks ago

@eternalland Thanks a lot, this worked