MMdnn
coremltools
Our great sponsors
MMdnn | coremltools | |
---|---|---|
3 | 11 | |
5,782 | 4,049 | |
0.2% | 2.5% | |
0.0 | 8.7 | |
7 months ago | 6 days ago | |
Python | Python | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MMdnn
-
[R] Importing TensorFlow neural networks stored as *.h5
The only way I found online is to convert the *.h5 files to MXNet files using Microsoft model management of deep neural networks (link)
- [D] Tools for converting TF code to Pytorch
-
Apple’s New M1 Chip is a Machine Learning Beast
Yes. But that's missing the point. Almost everything in the space uses a framework other than Core ML. Therefore most people need good development support for PyTorch/Tensorflow etc., not Core ML. The fact that Apple has a tool to import/convert models is nice, but not relevant. Also, there is onnx as an exchange format between the frameworks, and tools like MMdnn and others.
coremltools
- CoreML commit from Apple mentions iOS17 exclusive features
-
Lisa Su Saved AMD. Now She Wants Nvidia's AI Crown
Instead of trying to integrate the whole stack of, say, pytorch, Apple's primary approach has been converting models to work with Apple's stack.
https://github.com/apple/coremltools
Clearly no one is going to be doing training or even fine tuning on Apple hardware at any scale (it competes at the low end, but at scale you invariably will be using nvidia hardware), but once you have a decent model it's a robust way of using it on Apple devices.
-
Stable Diffusion for M1 iPad
There is one guy who was able to run it on iOS. See this thread for more information. Basically, the idea is to convert torch models to CoreMl. Only the CLIP tokenizer's implementation is currently missing. I guess this guy will keep modifications private, but he is trying to optimize model for lower RAM requirements.
-
MacBook Pro 14” M1 Pro (worth buying for programming)
Afaik (correct me if I’m wrong) both PyTorch and tensorflow only use the gpu when training and not the neural engine. I think the neural engines can be used for inference if the model is in the CoreML format (https://github.com/apple/coremltools)
- Is it possible to convert a yolov5 model to a CoreML/.mlmodel to work in an IOS app?
-
ML model conversion
CoreML Tools
-
Supreme Court, in a 6–2 ruling in Google v. Oracle, concludes that Google’s use of Java API was a fair use of that material
And Python.
-
Apple’s New M1 Chip is a Machine Learning Beast
There's literally an Apple provided tool, called [coremltools[(https://github.com/apple/coremltools) to convert many common PyTorch and TensorFlow models to CoreML.
What are some alternatives?
Pytorch - Tensors and Dynamic neural networks in Python with strong GPU acceleration
RobustVideoMatting - Robust Video Matting in PyTorch, TensorFlow, TensorFlow.js, ONNX, CoreML!
keras-onnx - Convert tf.keras/Keras models to ONNX
redisai-examples - RedisAI showcase
tensorflow_macos - TensorFlow for macOS 11.0+ accelerated using Apple's ML Compute framework.
yolor - implementation of paper - You Only Learn One Representation: Unified Network for Multiple Tasks (https://arxiv.org/abs/2105.04206)
3d-model-convert-to-gltf - Convert 3d model (STL/IGES/STEP/OBJ/FBX) to gltf and compression
torchinfo - View model summaries in PyTorch!
password-manager-resources - A place for creators and users of password managers to collaborate on resources to make password management better.
keras-ncp - PyTorch and TensorFlow implementation of NCP, LTC, and CfC wired neural models
hummingbird - Hummingbird compiles trained ML models into tensor computation for faster inference.