Open bitwangdan opened 1 year ago
Hi, in sd_driviing_line_dataset.py, if instance_class == "lane", the category of curb is 6, but the curb is six-category branch, index=[0, 1, 2, 3, 4, 5], Wouldn't this index out of bounds?
@zyc10ud
You can refer to the source code of the focal loss in mmdet. https://github.com/open-mmlab/mmdetection/blob/f78af7785ada87f1ced75a2313746e4ba3149760/mmdet/models/losses/focal_loss.py#L238C21-L239C53
focal loss
mmdet
Hi, in sd_driviing_line_dataset.py, if instance_class == "lane", the category of curb is 6, but the curb is six-category branch, index=[0, 1, 2, 3, 4, 5], Wouldn't this index out of bounds?