mirror of
				https://github.com/facebookresearch/pytorch3d.git
				synced 2025-11-04 18:02:14 +08:00 
			
		
		
		
	Adding default values to FrameData for internal usage
Summary: Ensuring all fields in FrameData have defaults. Reviewed By: bottler Differential Revision: D67762780 fbshipit-source-id: b680d29a1a11689850905978df544cdb4eb7ddcd
This commit is contained in:
		
							parent
							
								
									64a5bfadc8
								
							
						
					
					
						commit
						e41aff47db
					
				@ -122,9 +122,9 @@ class FrameData(Mapping[str, Any]):
 | 
			
		||||
        meta: A dict for storing additional frame information.
 | 
			
		||||
    """
 | 
			
		||||
 | 
			
		||||
    frame_number: Optional[torch.LongTensor]
 | 
			
		||||
    sequence_name: Union[str, List[str]]
 | 
			
		||||
    sequence_category: Union[str, List[str]]
 | 
			
		||||
    frame_number: Optional[torch.LongTensor] = None
 | 
			
		||||
    sequence_name: Union[str, List[str]] = ""
 | 
			
		||||
    sequence_category: Union[str, List[str]] = ""
 | 
			
		||||
    frame_timestamp: Optional[torch.Tensor] = None
 | 
			
		||||
    image_size_hw: Optional[torch.LongTensor] = None
 | 
			
		||||
    effective_image_size_hw: Optional[torch.LongTensor] = None
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user