minghanqin / LangSplat

Official implementation of the paper "LangSplat: 3D Language Gaussian Splatting" [CVPR2024 Highlight]
https://langsplat.github.io/
Other
636 stars 63 forks source link

IndexError: index 4 is out of bounds for dimension 1 with size 4 #8

Closed TheScientist1900 closed 5 months ago

TheScientist1900 commented 8 months ago

File "LangSplat/scene/cameras.py", line 73, in get_language_feature seg = seg_map[:, y, x].squeeze(-1).long() IndexError: index 4 is out of bounds for dimension 1 with size 4

can you fix the bug? and there are some bugs in the process.sh file also.

minghanqin commented 5 months ago

Thank you for your interest in our project. The code is now functioning properly, and we have also open-sourced more content for everyone to use!

41xu commented 4 months ago

hey I still face the same questions when I use preprocess.py on teatime. but there are no questions when I use the preprocessed sofa.zip provided on the project page. @TheScientist1900 do you still have this problem? also @minghanqin did I do something wrong?

clytze0216 commented 4 months ago

嘿,当我在下午茶时间使用时,我仍然面临同样的问题preprocess.py。但是当我使用项目页面上提供的预处理的沙发.zip 时没有任何问题。 @TheScientist1900你还有这个问题吗?还@minghanqin我做错什么了吗?

i also met this issues, what can i do to solve it?