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
I'm training my own dataset with mask scoring rcnn. When I run with "configs/e2e_ms_rcnn_R_50_FPN_1x.yaml", error occurred.
error to do with training:
Traceback (most recent call last):
File "tools/train_net.py", line 171, in
main()
File "tools/train_net.py", line 167, in main
test(cfg, model, args.distributed)
File "tools/train_net.py", line 104, in test
maskiou_on=cfg.MODEL.MASKIOU_ON
File"/home/zhhu/wjy/mask_scoring_RCNN/maskscoring_rcnn/maskrcnn_benchmark/engine/inference.py", line 430, in inference
dataset.coco, coco_results[iou_type], file_path, iou_type
File"/home/zhhu/wjy/mask_scoring_RCNN/maskscoring_rcnn/maskrcnn_benchmark/engine/inference.py", line 258, in evaluate_predictions_on_coco
coco_dt = coco_gt.loadRes(str(json_result_file))
File "/home/zhhu/python3.6.7/lib/python3.6/site-packages/pycocotools/coco.py", line 318, in loadRes
if 'caption' in anns[0]:
IndexError: list index out of range
error to do with testing:
Traceback (most recent call last):
File ''tools/test_net.py'' , line 94 , in
main()
File ''tools/test_net.py'', line 88,in main
maskiou_on=cfg.MODEL.MASKI0U_ON
File"/home/zhhu/wjy/mask_scoring_RCNN/maskscoring_rcnn/maskrcnn_benchmark/engine/inference.py", line 430, in inference
dataset.coco, coco_results[iou_type], file_path, iou_type
File"/home/zhhu/wjy/mask_scoring_RCNN/maskscoring_rcnn/maskrcnn_benchmark/engine/inference.py", line 258, in evaluate_predictions_on_coco
coco_dt = coco_gt.loadRes(str(json_result_file))
File "/home/zhhu/python3.6.7/lib/python3.6/site-packages/pycocotools/coco.py", line 318, in loadRes
if 'caption' in anns[0]:
IndexError: list index out of range
I have double checked my json file in "annotations", but really don't know what's wrong! Need your help! Thank you in advance!!
The text was updated successfully, but these errors were encountered:
Hi, please, I also have a problem testing my model. Can you show me how you run tools/test_net.py. I used python tools/test_net.py --config-file "configs/e2e_ms_rcnn_R_50_FPN_1x.yaml" command but I get an error different from yours
I'm training my own dataset with mask scoring rcnn. When I run with "configs/e2e_ms_rcnn_R_50_FPN_1x.yaml", error occurred.
error to do with training:
Traceback (most recent call last):
File "tools/train_net.py", line 171, in
main()
File "tools/train_net.py", line 167, in main
test(cfg, model, args.distributed)
File "tools/train_net.py", line 104, in test
maskiou_on=cfg.MODEL.MASKIOU_ON
File"/home/zhhu/wjy/mask_scoring_RCNN/maskscoring_rcnn/maskrcnn_benchmark/engine/inference.py", line 430, in inference
dataset.coco, coco_results[iou_type], file_path, iou_type
File"/home/zhhu/wjy/mask_scoring_RCNN/maskscoring_rcnn/maskrcnn_benchmark/engine/inference.py", line 258, in evaluate_predictions_on_coco
coco_dt = coco_gt.loadRes(str(json_result_file))
File "/home/zhhu/python3.6.7/lib/python3.6/site-packages/pycocotools/coco.py", line 318, in loadRes
if 'caption' in anns[0]:
IndexError: list index out of range
error to do with testing:
Traceback (most recent call last):
File ''tools/test_net.py'' , line 94 , in
main()
File ''tools/test_net.py'', line 88,in main
maskiou_on=cfg.MODEL.MASKI0U_ON
File"/home/zhhu/wjy/mask_scoring_RCNN/maskscoring_rcnn/maskrcnn_benchmark/engine/inference.py", line 430, in inference
dataset.coco, coco_results[iou_type], file_path, iou_type
File"/home/zhhu/wjy/mask_scoring_RCNN/maskscoring_rcnn/maskrcnn_benchmark/engine/inference.py", line 258, in evaluate_predictions_on_coco
coco_dt = coco_gt.loadRes(str(json_result_file))
File "/home/zhhu/python3.6.7/lib/python3.6/site-packages/pycocotools/coco.py", line 318, in loadRes
if 'caption' in anns[0]:
IndexError: list index out of range
I have double checked my json file in "annotations", but really don't know what's wrong! Need your help! Thank you in advance!!
The text was updated successfully, but these errors were encountered: