mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 03:42:50 +08:00
Bugfix in reduction feature aggr.
Summary: Bugfix Reviewed By: bottler Differential Revision: D40146840 fbshipit-source-id: a8415c361ed3cd939999b87311aff4d3bb1bcfe1
This commit is contained in:
parent
4c8338b00f
commit
73ba66e4ab
@ -229,7 +229,7 @@ class ReductionFeatureAggregator(torch.nn.Module, FeatureAggregatorBase):
|
||||
masks_sampled.device,
|
||||
self.exclude_target_view,
|
||||
)
|
||||
aggr_weigths = masks_sampled * sampling_mask
|
||||
aggr_weigths = masks_sampled[..., 0] * sampling_mask[..., None]
|
||||
feats_aggregated = {
|
||||
k: _avgmaxstd_reduction_function(
|
||||
f,
|
||||
|
Loading…
x
Reference in New Issue
Block a user