Correct MC rasterization pt. radius

Summary: Fixes the MC rasterization bug

Reviewed By: bottler

Differential Revision: D38312234

fbshipit-source-id: 910cf809ef3faff3de7a8d905b0821f395a52edf
This commit is contained in:
David Novotny 2022-08-01 04:53:59 -07:00 committed by Facebook GitHub Bot
parent 14bd5e28e8
commit 0c3599e8ee

View File

@ -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(