InternImage icon indicating copy to clipboard operation
InternImage copied to clipboard

TypeError: forward_train() missing 2 required positional arguments: 'gt_labels' and 'gt_masks'

Open Coriander60 opened this issue 2 years ago • 0 comments

when train with mask2former

File "/root/InternImage/segmentation/mmseg_custom/models/segmentors/encoder_decoder_mask2former.py", line 88, in _decode_head_forward_train gt_semantic_seg, **kwargs) TypeError: forward_train() missing 2 required positional arguments: 'gt_labels' and 'gt_masks'

Coriander60 avatar Oct 14 '23 08:10 Coriander60