microsoft / MMdnn

MMdnn is a set of tools to help users inter-operate among different deep learning frameworks. E.g. model conversion and visualization. Convert models between Caffe, Keras, MXNet, Tensorflow, CNTK, PyTorch Onnx and CoreML.
MIT License
5.79k stars 964 forks source link

Convert CoreML to ONNX Failed. #654

Open bemoregt opened 5 years ago

bemoregt commented 5 years ago

Hi, @kant @BlaiseRitchie @fran6co @martinwoodward @liangfu

Platform (like ubuntu 16.04/win10): MacOSX Mojave

Python version: 3.7.2

Source framework with version (like Tensorflow 1.4.1 with GPU): CoreML2 with GPU(OpenCL)

Destination framework with version (like CNTK 2.3 with GPU): ONNX with GPU, or CPU

Pre-trained model path (webpath or webdisk path): webpath or webdisk path

Running scripts: ./mmdownload -f coreml -n resnet152 -o ./ ./mmconvert -sf coreml -in imagenet_resnet152.mlmodel.meta -iw imagenet_resnet152.mlmodel --dstNodeName MMdnn_Output -df onnx -om coreml_resnet_to_onnx.onnx

Thanks in advance.

JiahaoYao commented 5 years ago

Hi @bemoregt, could you please include your error information?

bemoregt commented 5 years ago

HI, @JiahaoYao @kant @BlaiseRitchie

There is no coremltools .

JiahaoYao commented 5 years ago

Please follow the instructions on Coremltools for the installation.