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

renderer fixes #15

Merged
merged 1 commit into from
Aug 10, 2021
Merged

renderer fixes #15

merged 1 commit into from
Aug 10, 2021

Conversation

orperel
Copy link
Contributor

@orperel orperel commented Aug 10, 2021

The sdf_renderer.py example from the README.md is currently broken, this PR attempts to apply an ad-hoc fix to re-enable this app.

Seems like the app is outdated compared to the training example in main.py, in particular:

  1. Renderer() requires a tracer arg (and missing from lib.tracer import * at the top, so SphereTracer can be constructed).
  2. Renderer.eval() is called, but the class is not a torch module
  3. fv parameter -> fov

@orperel orperel mentioned this pull request Aug 10, 2021
@tovacinni
Copy link
Collaborator

Thanks for this fix. The changes look good- I'll fix the rest of the issues today.

@tovacinni tovacinni closed this Aug 10, 2021
@tovacinni tovacinni reopened this Aug 10, 2021
@tovacinni tovacinni merged commit cbad458 into nv-tlabs:main Aug 10, 2021
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