updates
This commit is contained in:
		
							parent
							
								
									daed93102c
								
							
						
					
					
						commit
						429fd6121c
					
				| 
						 | 
					@ -42,7 +42,6 @@ class load_images():  # for inference
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Padded resize
 | 
					        # Padded resize
 | 
				
			||||||
        img, ratio, padw, padh = letterbox(img0, height=self.height, color=(127.5, 127.5, 127.5))
 | 
					        img, ratio, padw, padh = letterbox(img0, height=self.height, color=(127.5, 127.5, 127.5))
 | 
				
			||||||
        print(ratio, padw, padh)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Normalize RGB
 | 
					        # Normalize RGB
 | 
				
			||||||
        img = img[:, :, ::-1].transpose(2, 0, 1)
 | 
					        img = img[:, :, ::-1].transpose(2, 0, 1)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue