File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -80,14 +80,16 @@ curl -o signature.json https://s3.amazonaws.com/model-server/model_archive_1.0/e
8080
8181### Create a ` .mar ` file from onnx model
8282
83- Since the model has the ` .onnx ` extension, it will be detected and the converted to mxnet models accordingly.
83+ The model file in this example contains` .onnx ` extension.
84+
85+ In order to convert the model with ` .onnx ` extension to an MXNet model, we would need to use the ` -c ` option of the model-archiver tool.
8486
8587Now you can use the ` model-archiver ` command to output ` onnx-squeezenet.mar ` file.
8688
8789``` bash
8890cd multi-model-server/examples
8991
90- model-archiver --model-name onnx-squeezenet --model-path onnx-squeezenet --handler mxnet_vision_service:handle
92+ model-archiver --model-name onnx-squeezenet --model-path onnx-squeezenet --handler mxnet_vision_service:handle -c -f
9193```
9294
9395Now start the server:
You can’t perform that action at this time.
0 commit comments