Open travisCxy opened 4 months ago
Some questions:
Also, double check that mixup augmentation is not ruining your training. Try seeing if augmentation is what you expect. Below is a script I use to visualize the augmentation:
@ankandrew hello
Hi @travisCxy! Sorry for late response. I think your analysis on point (3) seems accurate. Seems existing MDPIoU
loss could be used instead of currently one used CIoU
. The MDPIoU
includes a penalty term based on the distance between the corners of the bounding boxes, which should make it more suitable for text detection where corner alignment is critical to avoid cropping letters (like in your examples). Let me know if this helps in your dataset.
You can use my branch to select the bounding box loss function or cherry pick my commit to easily test other loss functions than default one https://github.com/ankandrew/yolov9/commit/9527269002a87a448091ac13cc041972c2e40caa.
Hi @travisCxy did close_mosaic solve this issue? and if you each for the root cause of this problem?
hello, thank you for your code. I am training a yolov9-model for document image layout detection。I got a good map on my validate set。But the question is text detection some time got a bad width regression。can u help me?