Commit 0c3599e8 authored by David Novotny's avatar David Novotny Committed by Facebook GitHub Bot
Browse files

Correct MC rasterization pt. radius

Summary: Fixes the MC rasterization bug

Reviewed By: bottler

Differential Revision: D38312234

fbshipit-source-id: 910cf809ef3faff3de7a8d905b0821f395a52edf
parent 14bd5e28
......@@ -838,7 +838,7 @@ class GenericModel(ImplicitronModelBase): # pyre-ignore: 13
# Estimate the rasterization point radius so that we approximately fill
# the whole image given the number of rasterized points.
pt_radius = 2.0 * math.sqrt(xys.shape[1])
pt_radius = 2.0 / math.sqrt(xys.shape[1])
# Rasterize the samples.
features_depth_render, masks_render = rasterize_mc_samples(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment