MMdetection Train & Inference

less than 1 minute read

TrainPermalink

python tools/train.py configs/_base_/deepfashion_dev1.py --work-dir working_test

Inference to generate json filePermalink

python tools/test.py configs/_base_/deepfashion_dev1.py \ 
working_test/epoch_9.pth \
--format-only --eval-options "jsonfile_prefix=./result_epoch9"

https://github.com/dacon-ai/K-fashion-baseline/blob/master/docs/getting_started.md https://github.com/open-mmlab/mmdetection/blob/master/docs/tutorials/robustness_benchmarking.md

Inference with shof resulting imagesPermalink

python tools/test.py configs/_base_/deepfashion_dev1.py \
 working_test/epoch_9.pth \
 --show-dir deepfashion_dev1_result

Inference with existing models (input is only image)Permalink

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
view raw inference_demo.ipynb hosted with ❀ by GitHub

https://github.com/open-mmlab/mmdetection/blob/master/demo/inference_demo.ipynb

Leave a comment