lanking520 commented on a change in pull request #13162: [MXNET-1198] MXNet 
Java API
URL: https://github.com/apache/incubator-mxnet/pull/13162#discussion_r233579841
 
 

 ##########
 File path: 
scala-package/examples/src/main/java/org/apache/mxnetexamples/javaapi/infer/objectdetector/README.md
 ##########
 @@ -0,0 +1,116 @@
+# Single Shot Multi Object Detection using Scala Inference API
+
+In this example, you will learn how to use Scala Inference API to run 
Inference on pre-trained Single Shot Multi Object Detection (SSD) MXNet model.
+
+The model is trained on the [Pascal VOC 2012 
dataset](http://host.robots.ox.ac.uk/pascal/VOC/voc2012/index.html). 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).
+
+
+## Contents
+
+1. [Prerequisites](#prerequisites)
+2. [Download artifacts](#download-artifacts)
+3. [Setup datapath and parameters](#setup-datapath-and-parameters)
+4. [Run the image inference example](#run-the-image-inference-example)
+5. [Infer APIs](#infer-api-details)
+6. [Next steps](#next-steps)
+
+
+## Prerequisites
+
+1. MXNet
+2. MXNet Scala Package
+3. [IntelliJ IDE (or alternative IDE) project 
setup](http://mxnet.incubator.apache.org/tutorials/scala/mxnet_scala_on_intellij.html)
 with the MXNet Scala Package
+4. wget
+
+
+## Setup Guide
+
+### Download Artifacts
+#### Step 1
+You can download the files using the script `get_ssd_data.sh`. It will 
download and place the model files in a `model` folder and the test image files 
in a `image` folder in the current directory.
+From the `scala-package/examples/scripts/infer/imageclassifier/` folder run:
+
+```bash
+./get_ssd_data.sh
+```
+
+**Note**: You may need to run `chmod +x get_resnet_data.sh` before running 
this script.
 
 Review comment:
   ssd_data

----------------------------------------------------------------
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

Reply via email to