From 5b8a9b34a00e4a1c840fb60c54917dcf5732b10b Mon Sep 17 00:00:00 2001 From: Jeremy Reizenstein Date: Fri, 5 Aug 2022 03:39:39 -0700 Subject: [PATCH] clarify GM.bg_color Summary: This field is specific to one purpose. Reviewed By: patricklabatut Differential Revision: D38424891 fbshipit-source-id: e017304497012430c30e436da7052b9ad6fc7614 --- pytorch3d/implicitron/models/generic_model.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pytorch3d/implicitron/models/generic_model.py b/pytorch3d/implicitron/models/generic_model.py index 8df1bac4..a51fb5f3 100644 --- a/pytorch3d/implicitron/models/generic_model.py +++ b/pytorch3d/implicitron/models/generic_model.py @@ -147,7 +147,9 @@ class GenericModel(ImplicitronModelBase): # pyre-ignore: 13 thresholded by this value before being applied to the RGB/Depth images output_rasterized_mc: If True, visualize the Monte-Carlo pixel renders by splatting onto an image grid. Default: False. - bg_color: RGB values for the background color. Default (0.0, 0.0, 0.0) + bg_color: RGB values for setting the background color of input image + if mask_images=True. Defaults to (0.0, 0.0, 0.0). Each renderer has its own + way to determine the background color of its output, unrelated to this. num_passes: The specified implicit_function is initialized num_passes times and run sequentially. chunk_size_grid: The total number of points which can be rendered