mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-22 07:10:34 +08:00
suppress errors in vision/fair/pytorch3d
Differential Revision: D33202801 fbshipit-source-id: d4cb0f4f4a8ad5a6519ce4b8c640e8f96fbeaccb
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ccfb72cc50
commit
315f2487db
@@ -39,7 +39,6 @@ class GraphConv(nn.Module):
|
||||
if init == "normal":
|
||||
nn.init.normal_(self.w0.weight, mean=0, std=0.01)
|
||||
nn.init.normal_(self.w1.weight, mean=0, std=0.01)
|
||||
# pyre-fixme[16]: Optional type has no attribute `data`.
|
||||
self.w0.bias.data.zero_()
|
||||
self.w1.bias.data.zero_()
|
||||
elif init == "zero":
|
||||
|
||||
@@ -87,6 +87,7 @@ def vert_align(
|
||||
padding_mode=padding_mode,
|
||||
align_corners=align_corners,
|
||||
) # (N, C, 1, V)
|
||||
# pyre-fixme[28]: Unexpected keyword argument `dim`.
|
||||
feat_sampled = feat_sampled.squeeze(dim=2).transpose(1, 2) # (N, V, C)
|
||||
feats_sampled.append(feat_sampled)
|
||||
feats_sampled = torch.cat(feats_sampled, dim=2) # (N, V, sum(C))
|
||||
|
||||
Reference in New Issue
Block a user