YOLOv3_TensorFlow2 icon indicating copy to clipboard operation
YOLOv3_TensorFlow2 copied to clipboard

a small bug on test_on_single_image.py

Open oujin opened this issue 5 years ago • 1 comments
trafficstars

In the 36th line of test_on_single_image.py, '''img_tensor = img_tensor / 255.0''', but in the 34th line '''resize_image_with_pad''' had done it (in the 10th line of utils.preprocess.py), that means max(img_tensor)=0.0039 not 1.

oujin avatar Nov 15 '20 05:11 oujin

Fixed. Thanks!

calmiLovesAI avatar Oct 14 '21 07:10 calmiLovesAI