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

Fix an issue where gradient accumulation could not be passed as argument due to a type error. #2910

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

SharkWipf
Copy link
Contributor

As discussed on Discord (Thanks Brent), --gradient-accumulation-steps did not properly cast its values to int and would error because it received a string.
There is still a separate bug where specifying camera_opt on nerfacto will cause an error, and the documentation on the --gradient-accumulation-steps could be better (accepted values are currently proposal_networks, fields and camera_opts, but there's no way to figure this out without without diving into the code AFAICT), but that's for another time/person/PR.

Copy link
Collaborator

@brentyi brentyi left a comment

Choose a reason for hiding this comment

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

looks great, thanks @SharkWipf!!

cc @kerrj for issue on gradient accumulation

@brentyi brentyi enabled auto-merge (squash) February 13, 2024 18:02
@brentyi brentyi merged commit 4f798b2 into nerfstudio-project:main Feb 13, 2024
2 checks passed
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.

None yet

2 participants