multi-model-server
multi-model-server copied to clipboard
Fix "import imp" warning message for the usage command
Instead of using "import imp", I suggest to use "import importlib" based on the error message below:
$ mxnet-model-export /Users/thakerb/anaconda3/envs/mms_feb_2018_1/lib/python3.6/site-packages/mms/export_model.py:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp usage: mxnet-model-export [-h] --model-name MODEL_NAME --model-path MODEL_PATH [--service-file-path SERVICE_FILE_PATH] mxnet-model-export: error: the following arguments are required: --model-name, --model-path
duplicate of #254