• This repository has been archived on 07/Feb/2023
  • Stars
    star
    389
  • Rank 106,970 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created over 6 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ONNX to Core ML Converter

Convert ONNX models into Apple Core ML format.

onnx-coreml package is no longer supported and will not be maintained.

PyTorch Models

For converting PyTorch models to CoreML format, the recommended approach is to use new PyTorch to Core ML converter, introduced in the coremltools 4.0 python package. Please read the coremltools documentation on PyTorch conversion for example usage.

ONNX Models

Code for ONNX to Core ML conversion is now available through coremltools python package and coremltools.converters.onnx.convert is the only supported API for conversion. To read more about exporting ONNX models to Core ML format, please visit coremltools documentation on ONNX conversion.

Note: ONNX converter is not under any active feature development. For access to bug fixes, community support and requests, please use coremltools github repository.

Installation

To install coremltools package, please follow these instructions in the coremltools documentation.

License

Copyright © 2018 by Apple Inc., Facebook Inc., and Prisma Labs Inc.

Use of this source code is governed by the MIT License that can be found in the LICENSE.txt file.

More Repositories

1

onnx

Open standard for machine learning interoperability
Python
16,640
star
2

models

A collection of pre-trained, state-of-the-art models in the ONNX format
Jupyter Notebook
7,054
star
3

tutorials

Tutorials for creating and using ONNX models
Jupyter Notebook
3,175
star
4

onnx-tensorrt

ONNX-TensorRT: TensorRT backend for ONNX
C++
2,769
star
5

tensorflow-onnx

Convert TensorFlow, Keras, Tensorflow.js and Tflite models to ONNX
Jupyter Notebook
2,224
star
6

onnx-tensorflow

Tensorflow Backend for ONNX
Python
1,238
star
7

onnxmltools

ONNXMLTools enables conversion of models to ONNX
Python
936
star
8

onnx-mlir

Representation and Reference Lowering of ONNX Models in MLIR Compiler Infrastructure
C++
686
star
9

optimizer

Actively maintained ONNX Optimizer
C++
579
star
10

sklearn-onnx

Convert scikit-learn models and pipelines to ONNX
Python
508
star
11

keras-onnx

Convert tf.keras/Keras models to ONNX
Python
379
star
12

onnx-caffe2

Caffe2 implementation of Open Neural Network Exchange (ONNX)
Python
168
star
13

onnx-docker

Dockerfiles and scripts for ONNX container images
Jupyter Notebook
129
star
14

onnx-mxnet

ONNX model format support for Apache MXNet
Python
96
star
15

turnkeyml

The AI insights toolchain
Python
45
star
16

onnx-r

R Interface to Open Neural Network Exchange (ONNX)
R
42
star
17

backend-scoreboard

Scoreboard for ONNX Backend Compatibility
Python
23
star
18

onnx.github.io

Code of the official webpage of onnx
HTML
22
star
19

steering-committee

Notes and artifacts from the ONNX steering committee
Jupyter Notebook
22
star
20

working-groups

Repository for ONNX working group artifacts
Jupyter Notebook
20
star
21

sigs

Repository for ONNX SIG artifacts
19
star
22

onnx-xla

XLA integration of Open Neural Network Exchange (ONNX)
C++
18
star
23

wheel-builder

Utils for building and publishing ONNX wheels
Shell
7
star
24

onnx-cntk

Python
6
star