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

return unscaled input in positional encoding #1736

Merged
merged 3 commits into from
Apr 17, 2023

Conversation

hturki
Copy link
Contributor

@hturki hturki commented Apr 14, 2023

Right now the [0, 1] in_tensor is getting multiplied to [0, 2pi], and then being returned in that range instead of being returned unmodified

Copy link
Contributor

@tancik tancik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Good catch, this will make the encoded_inputs zero centered. I wonder if it makes a noticeable difference.

@hturki
Copy link
Contributor Author

hturki commented Apr 17, 2023

@tancik I think the "Viewer Build and Deploy. / Build (pull_request)" test just failed (doubt this PR is causing it). In either case I don't think that I'm able to merge this PR myself

@tancik
Copy link
Contributor

tancik commented Apr 17, 2023

Re-ran the tests, they pass now.

@tancik tancik merged commit 2f18e32 into nerfstudio-project:main Apr 17, 2023
chris838 pushed a commit to chris838/nerfstudio that referenced this pull request Apr 22, 2023
* return unscaled input in positional encoding

* Update encodings.py
lucasthahn pushed a commit to tne-ai/nerfstudio that referenced this pull request Apr 23, 2023
* return unscaled input in positional encoding

* Update encodings.py
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

Successfully merging this pull request may close these issues.

2 participants