piyushghai commented on a change in pull request #12830: Java Inference api and SSD example URL: https://github.com/apache/incubator-mxnet/pull/12830#discussion_r226025841
########## File path: scala-package/examples/scripts/infer/objectdetector/run_ssd_example.sh ########## @@ -17,9 +17,21 @@ # specific language governing permissions and limitations # under the License. +hw_type=cpu +if [[ $1 = gpu ]] +then + hw_type=gpu +fi + +platform=linux-x86_64 + +if [[ $OSTYPE = [darwin]* ]] Review comment: $1 thing is to pick up CPU or GPU because you need to append that as well to the path. ---------------------------------------------------------------- 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
