You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/03/20 11:03:39 UTC

[GitHub] Bathilde opened a new issue #10171: CoreML tool, wrong mlmodelc file name for Inception-BN

Bathilde opened a new issue #10171: CoreML tool, wrong mlmodelc file name for Inception-BN
URL: https://github.com/apache/incubator-mxnet/issues/10171
 
 
   I am currently using the CoreML tool to transform my models to mlmodel files. The example perfectly work on my mac, I was able to develop a simple application using CoreML and a squeezenet model.
   
   I have downloaded an Inception-BN model (from: http://data.dmlc.ml/mxnet/models/imagenet/inception-bn.tar.gz) and compiled the model with the tools without any error. When the mlmodel file is included in my xcode proj, the compilation works.
   
   At runtime, the application crashes. It seems the model was not correctly build, the mlmodelc is not found.
   
   The generated swift file specify the mlmodelc name "Inception_BN_1" but the real file name contains inside the bundle is "Inception-BN".
   
   Is it your tool that define this name ? Do you know where I can update the mlmodelc file name (outside of the generated swift class file)
   
   
   The model was build with the following command line:
   `/usr/bin/python2.7  mxnet_coreml_converter.py --model-prefix='Inception-BN' --epoch=126 --input-shape='{"data":"3,224,224"}' --mode=classifier --pre-processing-arguments='{"image_input_names":"data"}' --class-labels synset.txt --output-file="Inception-BN.mlmodel"`
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services