You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If it looks like if is_crowd=1, the IoU computation from pycocotool will use a modified criterion that considers the union of gt_mask and pred_mask as pred_mask alone, resulting in a higher number than the standard IoU definition.
The reason for this is not clear to me, just following the API of pycocotools. However, I guess this is not a big problem since crowd regions are rare in RefCOCO-series datasets
Hi, thanks for sharing the great work. I have a question about the
is_crowd
flag. Why do you need to set it to 1 for multiple masks/ polygons when loading the data?https://github.com/sean-zhuh/SeqTR/blob/36f74bb9da4bcf81775f9f3bb3e54b170860c536/seqtr/datasets/pipelines/loading.py#L126
If it looks like if
is_crowd=1
, the IoU computation frompycocotool
will use a modified criterion that considers the union ofgt_mask
andpred_mask
aspred_mask
alone, resulting in a higher number than the standard IoU definition.https://github.com/sean-zhuh/SeqTR/blob/36f74bb9da4bcf81775f9f3bb3e54b170860c536/seqtr/apis/test.py#L19
(See the note in
pycocotool
https://github.com/cocodataset/cocoapi/blob/8c9bcc3cf640524c4c20a9c40e89cb6a2f2fa0e9/PythonAPI/pycocotools/mask.py#L65)
Do I understand this correctly? Thanks for your help!
The text was updated successfully, but these errors were encountered: