mmtracking icon indicating copy to clipboard operation
mmtracking copied to clipboard

ref_gt_bboxes_ignore

Open jzpcn opened this issue 3 years ago • 4 comments

The dataset has an ignore area (usually more than one image), how do we load it so that it ignores this area during training

jzpcn avatar Aug 20 '22 02:08 jzpcn

Hi, what task do you work on?

dyhBUPT avatar Aug 21 '22 13:08 dyhBUPT

Thank you for your answer,I want to work on VID task.

jzpcn avatar Aug 21 '22 13:08 jzpcn

Hi, you can refer to this code: https://github.com/open-mmlab/mmtracking/blob/be8a7afbd719b7846a76caca74dd7f331036cdc3/mmtrack/datasets/coco_video_dataset.py#L327-L328

That is, you can set the iscrowd as True for those bboxes in ignore regions.

dyhBUPT avatar Aug 22 '22 01:08 dyhBUPT

oh, thank you , I see.

jzpcn avatar Aug 22 '22 07:08 jzpcn