-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update NGP related models with nerfacc 0.5.2 #1809
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for updating. The results look promising!
In summary:
The major difference is that now we re-enable the non-gradient skipping for the occluded regions in the sampling procedure. |
if self.config.disable_scene_contraction: | ||
scene_contraction = None | ||
else: | ||
scene_contraction = SceneContraction(order=float("inf")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@liruilong940607 is scene contraction meant to be used with the new multi-level grid? Should TCNNNerfactoField just not take the expanded aabb as in https://github.com/KAIR-BAIR/nerfacc/blob/master/examples/train_ngp_nerf_occ.py#L130
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The field and multi-level occ grid are completely separated with each other. The new occ grid does not support contraction anymore but the field can still do contraction. I didn't play around with the field to compare it with/without contraction so I just kept it as is.
Plz share if you find anything!
This PR separates nerfacc update from the PR #1705. It bumps the
nerfacc
dependence to its latest version (0.5.2), and updates NGP related models (instant-ngp
,instant-ngp-bounded
,nerfplayer-ngp
) with the latest nerfacc.Note on the master branch, for some reason the non-gradient skipping is disabled with nerfacc. This PR re-enables that with the latest nerfacc.
After this PR, we can update the docs for the ngp-based methods, such as #1774.