mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 20:02:49 +08:00
suppress errors in vision/fair/pytorch3d
Differential Revision: D35455033 fbshipit-source-id: c4fe9577edd7beb9c40be1cb387f125d53a6a577
This commit is contained in:
parent
722646863c
commit
3809b6094c
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user