At the output of the final layer of yolo, a leaky-relu is applied to the output, so if we have negative values for the width and height, the cost function will return a null value since we would have square rooted a negative value at the second sum of the cost. Thus not able to update the weights using back prop.
Am I wrong about this or is there something I am missing here? If I am not wrong, how do we guarantee the width and height to be positive?