Open newforrestgump001 opened 3 months ago
the shell to reproduce the issue:
1、python tools/infer.py --config configs/mask_rcnn/mask_rcnn_r50_1x_coco.yml -o weights=mask_rcnn_r50_1x_coco.pdparams --infer_img=demo/000000014439_640x640.jpg
2 、python deploy/python/infer.py --config configs/mask_rcnn/mask_rcnn_r50_1x_coco.yml -o weights=output_inference3/mask_rcnn_r50_1x_coco/model --infer_img=demo/000000014439_640x640.jpg
3、./vision_detection_paddledetection_infer_mask_rcnn output_inference3/mask_rcnn_r50_1x_coco demo/000000014439_640x640.jpg 1
step 1 and 2 get the right result. But step 3 only gets the detection box without the mask.
infer_mask_rcnn.cc get empty mask(all 0),the detection box is right, but python test bed gives right mask result. Thank you a lot!