-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix use_appearance_embedding
for instant-ngp
#1999
Conversation
( for context this is related to PR #1809 ) |
I remember when I was working on that PR, using the nerfacto field gives noticeable better result than ngp field on the I was not sure what's the reason, but considering those two are very similar and the nerfacto field has been actively maintained, I felt it's a reasonable choice to just use the nerfacto field. If you confirm the poster scene has similar result then I think it's fine to switch back. Other choice i would propose, is to modify the config |
Ok I just tried it out; I can confirm that the poster scene looks worse after this PR with the default settings, but at least qualitatively the NGP and nerfacto fields look the same when I set All of this does raise the question of: do we even need separate Nerfacto field and NGP field implementations? Currently the latter is completely unused, and I agree it would make sense to just modify the Nerfacto field instantiation to respect |
The only reason I was keeping the NGP field there is that the nerfplayer was relying on that (they have a ngp variation that inherits from ngp field). I think it makes sense to just get rid of the ngp field as the nerfacto field is a superset of that, with only minor differences on the default behavior of the appearance embedding (anything else?). |
It would be nice to remove |
Sounds good, might take a few days but I can try to remove the separate NGP field implementation. In that direction, we could also add occupancy grid support to the |
Any updates on this @brentyi ? |
Forgot about it, but just added to my to-do list... |
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
…brent/fix_instant_ngp
…/nerfstudio into brent/fix_instant_ngp
@liruilong940607 can you take a glance at this?
The issue I was trying to resolve was that the
use_appearance_embedding
config field is being ignored, which led to noticing that theTCNNInstantNGPField
class isn't being used anywhere.Perhaps this was changed temporarily to the nerfacto field and then accidentally merged?
After changing the NGP model's field from the nerfacto field to the NGP field I can still get reasonable results on lego, as long as I pass
--alpha-color black
to the dataparser config. (also not sure if this is the intended behavior)cc @kevin-thankyou-lin