mirror of
				https://github.com/facebookresearch/pytorch3d.git
				synced 2025-11-04 18:02:14 +08:00 
			
		
		
		
	suppress errors in vision/fair/pytorch3d
				
					
				
			Differential Revision: D42775736 fbshipit-source-id: 8425305cd99d50ebc155502d56c0deeee1d078ab
This commit is contained in:
		
							parent
							
								
									3239594f78
								
							
						
					
					
						commit
						0b11a5dc6d
					
				@ -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)
 | 
			
		||||
 | 
			
		||||
@ -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]]:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user