mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2026-03-15 17:05:58 +08:00
suppress errors in vision/fair/pytorch3d
Differential Revision: D37172764 fbshipit-source-id: a2ec367e56de2781a17f5e708eb5832ec9d7e6b4
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ea4f3260e4
commit
7978ffd1e4
@@ -394,6 +394,7 @@ def ndc_grid_sample(
|
||||
|
||||
grid_ndc_flat = grid_ndc.reshape(batch, -1, 1, 2)
|
||||
|
||||
# pyre-fixme[6]: For 2nd param expected `Tuple[int, int]` but got `Size`.
|
||||
grid_flat = ndc_to_grid_sample_coords(grid_ndc_flat, input.shape[2:])
|
||||
|
||||
sampled_input_flat = torch.nn.functional.grid_sample(
|
||||
|
||||
Reference in New Issue
Block a user