Open akashAD98 opened 3 years ago
same question.
Hello, @akashAD98. You'd better merge you last two issies into single one.
@akashAD98 Some answers about new_coords=1 in mish and csp models.
[convolutional] activation=logistic and [yolo] new_coords=1 should be used together.
https://github.com/AlexeyAB/darknet/issues/7141#issuecomment-747806742
Shortly, main difference btw old version and new_coords=1 is how at the end bbox is calculated. In new yolov4_mish and yolov4_csp models for x, y, w, h logistic regression is used:
We use Logistic (sigmoid) not only for x,y, but for x,y,w,h
x_bbox = sigmoid(x) y_bbox = ... w_bbox = sigmoid(w) sigmoid(w) 4 h_bbox = ...
In contrast, in older versions yolov4, yolov4 tiny here was linear regression. x_bbox = sigmoid(x) y_bbox = ... w_bbox = exp(w) h_bbox = ...
Read more about it here:
https://github.com/AlexeyAB/darknet/issues/6987#issuecomment-729218069
Hope I could help you. All the best.
what is the impact of using new_coords=1 ?? can someone please explain this concept in detail?? why sigmoid instead of liner activation function before yolo layer??