
GPUS=$1
RESULTNAME=$2
ANNFILE=$3

python tools/test.py configs/multiphase/coco/faster_rcnn_r50_fpn_1x_coco_pl.py  work_dirs/multiphase_fs_1/epoch_12.pth $GPUS --out $RESULTNAME

python scripts/coco/pkl2json.py $RESULTNAME

python scripts/coco/filter_pl.py $RESULTNAME

python scripts/coco/form_ann.py $RESULTNAME $ANNFILE 0.5
