1. demo.py
画像上の単一の画像の検出は、次のコマンドで実行できます。
python3 demo.py --config-file ../configs/PascalVOC-Detection/faster_rcnn_R_50_FPN.yaml \
--input cat.jpg \
--output result_cat_voc.jpg \
--opts MODEL.WEIGHTS ../tools/output_bak/model_final.pth
demo.py
デモフォルダdetectron2、
``
元の画像の
検出結果は