mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2026-03-02 10:15:59 +08:00
upgrade pyre version in fbcode/vision - batch 2
Reviewed By: bottler Differential Revision: D60992234 fbshipit-source-id: 899db6ed590ef966ff651c11027819e59b8401a3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1e0b1d9c72
commit
38afdcfc68
@@ -16,8 +16,6 @@ from pytorch3d.renderer.implicit.sample_pdf import sample_pdf
|
||||
|
||||
|
||||
@expand_args_fields
|
||||
# pyre-fixme[13]: Attribute `n_pts_per_ray` is never initialized.
|
||||
# pyre-fixme[13]: Attribute `random_sampling` is never initialized.
|
||||
class RayPointRefiner(Configurable, torch.nn.Module):
|
||||
"""
|
||||
Implements the importance sampling of points along rays.
|
||||
@@ -45,7 +43,9 @@ class RayPointRefiner(Configurable, torch.nn.Module):
|
||||
for Anti-Aliasing Neural Radiance Fields." ICCV 2021.
|
||||
"""
|
||||
|
||||
# pyre-fixme[13]: Attribute `n_pts_per_ray` is never initialized.
|
||||
n_pts_per_ray: int
|
||||
# pyre-fixme[13]: Attribute `random_sampling` is never initialized.
|
||||
random_sampling: bool
|
||||
add_input_samples: bool = True
|
||||
blurpool_weights: bool = False
|
||||
|
||||
Reference in New Issue
Block a user