"vscode:/vscode.git/clone" did not exist on "9fcc4d8a9a507044bfaa7028c45aada9d3f2caf3"
Commit 3809b609 authored by Pyre Bot Jr's avatar Pyre Bot Jr Committed by Facebook GitHub Bot
Browse files

suppress errors in `vision/fair/pytorch3d`

Differential Revision: D35455033

fbshipit-source-id: c4fe9577edd7beb9c40be1cb387f125d53a6a577
parent 72264686
......@@ -144,8 +144,7 @@ class ResNetFeatureExtractor(Configurable, torch.nn.Module):
def get_feat_dims(self, size_dict: bool = False):
if size_dict:
return copy.deepcopy(self._feat_dim)
# pyre-fixme[16]: Item `Tensor` of `Union[Tensor, Module]` has no attribute
# `values`.
# pyre-fixme[29]: `Union[BoundMethod[typing.Callable(torch.Tensor.values)[[Na...
return sum(self._feat_dim.values())
def forward(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment