Setting up the environment

Unfortunately, MobileNet V2 is not present in the MXNet Model Zoo. We will use two different GitHub repositories to get the symbol, params, and synset files.

Firstly, please navigate to the KeyKy Mobile Net repository (https://github.com/KeyKy/mobilenet-mxnet) and download the following two files:

  • mobilenet_v2-0000.params
  • mobilenet_v2-symbol.json

Next, navigate to the MobileNet Caffe implementation (https://github.com/shicai/MobileNet-Caffe) and download synset.txt.

Place all of the downloaded files into the weights/mobilenet-v2 folder.

Get Hands-On Computer Vision with Julia now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.