mirror of
				https://github.com/facebookresearch/pytorch3d.git
				synced 2025-11-04 18:02:14 +08:00 
			
		
		
		
	upgrade pyre version in fbcode/vision - batch 2
				
					
				
			Differential Revision: D51902460 fbshipit-source-id: 3ffc5d7d2da5c5d4e971ee8275bd999c709e0b12
This commit is contained in:
		
							parent
							
								
									6b8766080d
								
							
						
					
					
						commit
						fbc6725f03
					
				@ -112,6 +112,7 @@ class VideoWriter:
 | 
			
		||||
                resize = im.size
 | 
			
		||||
            # make sure size is divisible by 2
 | 
			
		||||
            resize = tuple([resize[i] + resize[i] % 2 for i in (0, 1)])
 | 
			
		||||
            # pyre-fixme[16]: Module `Image` has no attribute `ANTIALIAS`.
 | 
			
		||||
            im = im.resize(resize, Image.ANTIALIAS)
 | 
			
		||||
            im.save(outfile)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user