larroy commented on a change in pull request #13201: [MXNET-1187] Added Java SSD Inference Tutorial for website URL: https://github.com/apache/incubator-mxnet/pull/13201#discussion_r232429611
########## File path: docs/tutorials/java/ssd_inference.md ########## @@ -0,0 +1,182 @@ +# Multi Object Detection using pre-trained SSD Model via Java Inference APIs + +This tutorial shows how to use MXNet Java Inference APIs to run inference on a pre-trained Single Shot Detection (SSD) Model. + +The SSD model is trained on the Pascal VOC 2012 dataset. The network is a SSD model built on Resnet50 as base network to extract image features. The model is trained to detect the following entities (classes): ['aeroplane', 'bicycle', 'bird', 'boat', 'bottle', 'bus', 'car', 'cat', 'chair', 'cow', 'diningtable', 'dog', 'horse', 'motorbike', 'person', 'pottedplant', 'sheep', 'sofa', 'train', 'tvmonitor']. For more details about the model, you can refer to the [MXNet SSD example](https://github.com/apache/incubator-mxnet/tree/master/example/ssd). + +## Pre-Requisites + +To complete this tutorial, we need : +* [MXNet Java Setup on IntelliJ IDEA](/java/mxnet_java_on_intellij.html) +* [wget](https://www.gnu.org/software/wget/) To download model artifacts +* SSD Model artifacts + * Use the following script to get the SSD Model files : + ```bash + data_path=/tmp/resnet50_ssd + mkdir -p "$data_path" + wget https://s3.amazonaws.com/model-server/models/resnet50_ssd/resnet50_ssd_model-symbol.json -P $data_path + wget https://s3.amazonaws.com/model-server/models/resnet50_ssd/resnet50_ssd_model-0000.params -P $data_path + wget https://s3.amazonaws.com/model-server/models/resnet50_ssd/synset.txt -P $data_path + ``` +* Dataset : A few sample images to run inference on. + * Use the following script to download sample images : Review comment: Wouldn't it be better to add a link instead of reproducing verbatim and duplicating the code which can get out of sync? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
