File size: 548 Bytes
d84c647 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # inference
python predict_image.py \
--config_file ./work_dirs/twohands_cb_to_obj2_ccda/twohands_cb_to_obj2_ccda.py \
--checkpoint_file ./work_dirs/twohands_cb_to_obj2_ccda/best_mIoU_iter_32000.pth \
--img_dir ../testimages/images \
--pred_seg_dir ../testimages/pred_obj2
# visualize
python visualize.py \
--mode twohands_obj2 \
--img_dir ../testimages/images \
--twohands_dir ../testimages/pred_twohands \
--obj2_dir ../testimages/pred_obj2 \
--vis_dir ../testimages/pred_obj2_vis
|