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

Questions about certain code in fusion.py #21

Open
HuGhcat-code opened this issue Oct 17, 2024 · 1 comment
Open

Questions about certain code in fusion.py #21

HuGhcat-code opened this issue Oct 17, 2024 · 1 comment

Comments

@HuGhcat-code
Copy link

Dear author:
Thank you for sharing such a great piece of open-source work!
In fusion.py,I have questions about this part of the code:

features_mapping = features[:, mapping[:, 1], mapping[:, 2]]
features_mapping = features_mapping.permute(1, 0).cuda()
mask_k = mask != 0
#用于记录每个点在不同视图中被观察到的次数
gaussians._times[mask_k] += 1
#更新高斯模型的语义特征
gaussians._features_semantic[mask_k] += features_mapping[mask_k]

I don't understand what features_mapping and gaussians._times mean here
Also, why is the Gaussian semantic information from different views accumulated and then averaged?

@HuGhcat-code
Copy link
Author

Hi,I can roughly judge that features_mapping refers to the features of the visible Gaussians in the current view, but I don't understand why the order of dimension 0 and dimension 1 of this tensor needs to be swapped using codefeatures_mapping = features_mapping.permute(1, 0).cuda()

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

1 participant