Detectron 图片测试结果
随机找的图片进行测试,结果很惊喜,很赞!!!
1. Box 与 Mask
python2 tools/infer_simple.py \
--cfg configs/baselines/e2e_mask_rcnn_R--FPN_2x.yaml \
--output-dir /tmp/detectron-visualizations \
--image-ext jpg \
--wts https://s3-us-west-2.amazonaws.com/detectron/35861858/baselines/e2e_mask_rcnn_R--FPN_2x.yaml..SgT4y1cO/output/train/coco_2014_train:coco_2014_valminusminival/generalized_rcnn/model_final.pkl \
demo
2 Box 与 Keypoints
python2 tools/infer_simple.py \
--cfg configs/baselines/e2e_keypoint_rcnn_R--FPN_s1x.yaml \
--output-dir /tmp/detectron-visualizations \
--image-ext jpg \
--wts https://s3-us-west-2.amazonaws.com/detectron/37698009/baselines/e2e_keypoint_rcnn_R--FPN_s1x.yaml.08_45_57.YkrJgP6O/output/train/keypoints_coco_2014_train%Akeypoints_coco_2014_valminusminival/generalized_rcnn/model_final.pkl \
demo