hello,
error:
subsample()->prepare_targets() : for proposals_per_image, targets_per_image in zip(proposals, targets): TypeError: 'NoneType'
I met the error in fcos_core/modeling/roi_heads/box_head/loss.py line 55,
it seems the targets were not input, i find the dataloader only load sigle dataset(in
fcos_core/data/build.py def build_dataset()) during training. Is it the reason?
How can i fix it?
ps:
In fcos_core/modeling/roi_heads/box_head/roi_box_feature_extractors.py around line 28, I changed head = resnet.ResNetHead to head = resnet.ResNet(config), is it right? Does the change caused the error above?
hello, error: subsample()->prepare_targets() : for proposals_per_image, targets_per_image in zip(proposals, targets): TypeError: 'NoneType' I met the error in fcos_core/modeling/roi_heads/box_head/loss.py line 55, it seems the targets were not input, i find the dataloader only load sigle dataset(in fcos_core/data/build.py def build_dataset()) during training. Is it the reason? How can i fix it?
ps: In fcos_core/modeling/roi_heads/box_head/roi_box_feature_extractors.py around line 28, I changed head = resnet.ResNetHead to head = resnet.ResNet(config), is it right? Does the change caused the error above?
thanks, waiting for your reply!