Skip to content

Commit b675879

Browse files
Pyre Bot Jrfacebook-github-bot
authored andcommitted
suppress errors in vision/fair/detectron2/projects/DensePose
Differential Revision: D36118810 fbshipit-source-id: e33a0b5e17d45f344b84b2e780b6d1b300721aa3
1 parent af089a6 commit b675879

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

projects/DensePose/densepose/modeling/cse/embedder.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,6 @@ def load_from_model_checkpoint(self, fpath: str, prefix: Optional[str] = None):
109109
v_key = torch.from_numpy(v_key)
110110
state_dict_local[key[len(prefix) :]] = v_key
111111
# non-strict loading to finetune on different meshes
112-
# pyre-fixme[6]: Expected `OrderedDict[typing.Any, typing.Any]` for 1st
113-
# param but got `Dict[typing.Any, typing.Any]`.
114112
self.load_state_dict(state_dict_local, strict=False)
115113

116114
def forward(self, mesh_name: str) -> torch.Tensor:

0 commit comments

Comments
 (0)