suppress errors in vision/fair/pytorch3d

Differential Revision: D42775736

fbshipit-source-id: 8425305cd99d50ebc155502d56c0deeee1d078ab
This commit is contained in:
generatedunixname89002005307016 2023-01-26 07:04:18 -08:00 committed by Facebook GitHub Bot
parent 3239594f78
commit 0b11a5dc6d
2 changed files with 3 additions and 1 deletions

View File

@ -894,11 +894,11 @@ class JsonIndexDataset(DatasetBase, ReplaceableBase):
for idx in idxs:
if (
subset_filter is not None
# pyre-fixme[16]: `JsonIndexDataset` has no attribute `frame_annots`.
and self.frame_annots[idx]["subset"] not in subset_filter
):
continue
# pyre-ignore[16]
frame_annotation = self.frame_annots[idx]["frame_annotation"]
out.append(
(frame_annotation.frame_number, frame_annotation.frame_timestamp)

View File

@ -46,6 +46,8 @@ class SingleSceneDataset(DatasetBase, Configurable):
def __len__(self) -> int:
return len(self.poses)
# pyre-fixme[14]: `sequence_frames_in_order` overrides method defined in
# `DatasetBase` inconsistently.
def sequence_frames_in_order(
self, seq_name: str
) -> Iterator[Tuple[float, int, int]]: