Closed wizyoung closed 4 years ago
Be advised that the https://github.com/ultralytics/xview-yolov3 repository is not under active development anymore. We recommend you use https://github.com/ultralytics/yolov3 instead, our main YOLOv3 repository.
Even though it isn't under active development anymore doesn't mean you can't at least answer their question.
@wizyoung @mseals1 image normalization has various forms. The native darknet method is more of a rescaling than a normalization. https://github.com/ultralytics/yolov3 performs this rescaling, which you may be more familiar with, though it does not normalize the mean and the standard deviation in the more robust statistical sense, which is what this repo does.
In your code, the image normalization method is
(img - mean) / sigma
, is that consistent with the original repo? Many articles I googled useimg / 255.
to normalize the image from [0, 255] to [0, 1] instead. Which one is correct?