yihua7 / SC-GS

[CVPR 2024] Code for SC-GS: Sparse-Controlled Gaussian Splatting for Editable Dynamic Scenes
https://yihua7.github.io/SC-GS-web/
MIT License
427 stars 21 forks source link

About requirements.txt #6

Closed HaoZhiG closed 4 months ago

HaoZhiG commented 4 months ago

I'm delighted to see the code published and eager to get started. However, I'm encountering some difficulties with dependency installation while trying to train a model. Initially, I installed the dependencies listed in requirements.txt, but when I attempted to train the model, I received errors indicating missing modules such as imageio, plyfile, and pytorch3d. After installing these modules, I encountered another error stating a missing module torch.func. image

My environment is set up with torch==1.12.1+cu113.

I'd greatly appreciate any guidance or suggestions on how to resolve this issue.

yihua7 commented 4 months ago

Hi, Indeed the importing here is unnecessary and I just removed it in the latest commit d77da02270671d31f3f18b3331c763701ec66de9. Please try the latest code and feel free to ask any questions :)

yihua7 commented 4 months ago

Thanks for the reminder, I've also added imageio, plyfile, and pytorch3d to requirements.txt (refer to 2d414ce06a71f5284253b537ae2a5d313a7e9582) :)

HaoZhiG commented 4 months ago

image image image image image

Indeed, there are a few more modules that I encountered needing to be downloaded and installed. But these are specific to my situation and may vary. I just wanted to mention it for reference. Thank you for your assistance!

yihua7 commented 4 months ago

Great thanks to your feedback! I supplemented more packages to the requirements.txt. It can definitely benefit every user:)