Skip to content

Commit

Permalink
Merge pull request #104 from martinResearch/improving_viewer_code
Browse files Browse the repository at this point in the history
Improving viewer code
  • Loading branch information
martinResearch committed Mar 6, 2021
2 parents 6c36083 + 29daf20 commit d575ecf
Show file tree
Hide file tree
Showing 2 changed files with 430 additions and 231 deletions.
4 changes: 2 additions & 2 deletions deodr/differentiable_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def render_error_backward(self, err_buffer_b, make_copies=True):

if not self.backface_culling:
raise BaseException(
"use backface_culling=True if you use gradient backpropagation to get valid gradient through edge antialiazing."
"use backface_culling=True if you use gradient backpropagation to get valid gradient through edge anti-aliasing."
)
sigma, obs, image, z_buffer, err_buffer = self.store_backward
antialiase_error = True
Expand Down Expand Up @@ -598,7 +598,7 @@ def render_backward(self, image_b, make_copies=True):
)
if not self.backface_culling:
raise BaseException(
"use backface_culling=True if you use gradient backpropagation to get valid gradient through edge antialiazing."
"use backface_culling=True if you use gradient backpropagation to get valid gradient through edge anti-aliasing."
)
sigma, image, z_buffer = self.store_backward
antialiase_error = False
Expand Down
Loading

0 comments on commit d575ecf

Please sign in to comment.