gaussian-splatting icon indicating copy to clipboard operation
gaussian-splatting copied to clipboard

submodules\diff-gaussian-rasterization\diff_gaussian_rasterization\__init__.py

Open yyyyiiiinnnn opened this issue 11 months ago • 5 comments

Hello, I would like to ask why "hello" is not printed when I print out "hello" in the forward function in "submodules\diff-gaussian-rasterization\diff_gaussian_rasterization_init_.py", which makes me suspect that I This function is not passed during runtime. I would be very grateful if you could see it and help me answer it!

yyyyiiiinnnn avatar Mar 07 '24 00:03 yyyyiiiinnnn

Hey, I think once you build the package, the actual library is in another path.

ex: /home/micromamba/envs/3dgs/lib/python3.11/site-packages/diff_gaussian_rasterization/init.py

You should either change this file or rebuild the package I think.

LoickCh avatar Mar 07 '24 09:03 LoickCh

Thanks! I found it! ! I would also like to ask if I want to modify the content in "submodules\diff-gaussian-rasterization\cuda_rasterizer\forward.cu", where should I go to modify it (because I did not print it out when debugging in forward.cu Corresponding debugging content)

yyyyiiiinnnn avatar Mar 07 '24 11:03 yyyyiiiinnnn

Thanks! I found it! ! I would also like to ask if I want to modify the content in "submodules\diff-gaussian-rasterization\cuda_rasterizer\forward.cu", where should I go to modify it (because I did not print it out when debugging in forward.cu Corresponding debugging content)

When debugging, you can't enter the contents of the .cu, because the .cu file is compiled into .so in advance and put it in your environment

520jz avatar Mar 08 '24 08:03 520jz

Thanks! I found it! ! I would also like to ask if I want to modify the content in "submodules\diff-gaussian-rasterization\cuda_rasterizer\forward.cu", where should I go to modify it (because I did not print it out when debugging in forward.cu Corresponding debugging content)

When debugging, you can't enter the contents of the .cu, because the .cu file is compiled into .so in advance and put it in your environment

So if I want to modify the content in .cu, what should I do? Thanks!

yyyyiiiinnnn avatar Mar 08 '24 10:03 yyyyiiiinnnn

Since this is cuda and cpp code, after making any changes, it is needed to recompile/rebuild by running pip install submodules/diff-gaussian-rasterization

PanagiotisP avatar Apr 29 '24 13:04 PanagiotisP