coremltools
Core ML tools contain supporting tools for Core ML model conversion, editing, and validation.
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
5 of 188 committers (2.7%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.5%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Core ML tools contain supporting tools for Core ML model conversion, editing, and validation.
Basic Info
- Host: GitHub
- Owner: apple
- License: bsd-3-clause
- Language: Python
- Default Branch: main
- Homepage: https://coremltools.readme.io
- Size: 81.5 MB
Statistics
- Stars: 4,928
- Watchers: 125
- Forks: 713
- Open Issues: 425
- Releases: 44
Topics
Metadata Files
README.md
Core ML Tools

Use Core ML Tools (coremltools) to convert machine learning models from third-party libraries to the Core ML format. This Python package contains the supporting tools for converting models from training libraries such as the following:
- TensorFlow 1.x
- TensorFlow 2.x
- PyTorch
- Non-neural network frameworks:
With coremltools, you can:
- Convert trained models to the Core ML format.
- Read, write, and optimize Core ML models.
- Verify conversion/creation (on macOS) by making predictions using Core ML.
After conversion, you can integrate the Core ML models with your app using Xcode.
Install Version 8.3
To install the latest non-beta version, run the following command in your terminal:
shell
pip install -U coremltools
Install 9.0 Beta 1
The Coremltools version 9 beta 1 is now out. To install, run the following command in your terminal:
shell
pip install coremltools==9.0b1
Core ML
Core ML is an Apple framework to integrate machine learning models into your app. Core ML provides a unified representation for all models. Your app uses Core ML APIs and user data to make predictions, and to fine-tune models, all on the user’s device. Core ML optimizes on-device performance by leveraging the CPU, GPU, and Neural Engine while minimizing its memory footprint and power consumption. Running a model strictly on the user’s device removes any need for a network connection, which helps keep the user’s data private and your app responsive.
Resources
To install coremltools, see Installing Core ML Tools. For more information, see the following:
Owner
- Name: Apple
- Login: apple
- Kind: organization
- Location: Cupertino, CA
- Website: https://apple.com
- Repositories: 305
- Profile: https://github.com/apple
GitHub Events
Total
- Create event: 11
- Release event: 4
- Issues event: 164
- Watch event: 481
- Delete event: 4
- Member event: 8
- Issue comment event: 509
- Push event: 75
- Pull request event: 142
- Pull request review event: 232
- Pull request review comment event: 106
- Fork event: 82
Last Year
- Create event: 11
- Release event: 4
- Issues event: 164
- Watch event: 481
- Delete event: 4
- Member event: 8
- Issue comment event: 509
- Push event: 75
- Pull request event: 142
- Pull request review event: 232
- Pull request review comment event: 106
- Fork event: 82
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Toby Roseman | t****n@a****m | 115 |
| Tony Bove | 7****e | 77 |
| Aseem Wadhwa | a****c@g****m | 65 |
| Yuduo | y****o@a****m | 47 |
| jakesabathia2 | s****o@a****m | 45 |
| Allen Lin | s****n@a****m | 38 |
| Zach Nation | z****n@a****m | 38 |
| Yifan Shen | y****z@j****u | 29 |
| fukatani | n****a@g****m | 26 |
| Aseem Wadhwa | a****a@a****m | 24 |
| Zaccharie Ramzi | z****e@x****o | 23 |
| bhushans_22 | b****e@a****m | 22 |
| Krishna Sridhar | s****r@a****m | 20 |
| rehan.rishi | r****i@a****m | 18 |
| Gustav Larsson | g****n@a****m | 18 |
| Krishna Sridhar | 18 | |
| Sohaib Qureshi | s****q@a****m | 13 |
| junpeiz | j****6@g****m | 12 |
| DawerG | d****h@g****m | 10 |
| Gitesh Dawer | g****r@a****m | 10 |
| Gyanendra Sinha | g****a@a****m | 8 |
| Mstronach | 5****h | 7 |
| M_noAria | 4****a | 7 |
| Chris Kelly | g****2@g****m | 7 |
| Keith Wyss | K****b@g****m | 6 |
| Pedro Cuenca | p****o@h****o | 6 |
| Krishna Sridhar | s****a@a****m | 6 |
| cpompeo | c****o@a****m | 5 |
| Richard Wei | r****i@g****m | 5 |
| Arjun Sharda | 7****7 | 5 |
| and 158 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 507
- Total pull requests: 483
- Average time to close issues: 4 months
- Average time to close pull requests: 14 days
- Total issue authors: 352
- Total pull request authors: 82
- Average comments per issue: 2.82
- Average comments per pull request: 1.45
- Merged pull requests: 368
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 131
- Pull requests: 161
- Average time to close issues: 8 days
- Average time to close pull requests: 8 days
- Issue authors: 94
- Pull request authors: 35
- Average comments per issue: 0.95
- Average comments per pull request: 1.37
- Merged pull requests: 113
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- YifanShenSZ (12)
- metascroy (9)
- 0seba (8)
- nighting0le01 (8)
- smpanaro (7)
- TobyRoseman (7)
- johan-sightic (5)
- yuxiaohui78 (5)
- 119458 (4)
- xorange (4)
- atiorh (4)
- TimYao18 (4)
- rustui (3)
- james-p-xu (3)
- ivyas21 (3)
Pull Request Authors
- tonybove-apple (72)
- TobyRoseman (68)
- YifanShenSZ (59)
- cymbalrush (20)
- M-Quadra (16)
- cpompeo (16)
- junpeiz (15)
- aseemw (13)
- fukatani (11)
- DawerG (11)
- metascroy (9)
- jakesabathia2 (9)
- johnnynunez (6)
- smpanaro (6)
- pcuenca (6)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 4
-
Total downloads:
- pypi 1,028,557 last-month
- Total docker downloads: 353,028
-
Total dependent packages: 43
(may contain duplicates) -
Total dependent repositories: 690
(may contain duplicates) - Total versions: 58
- Total maintainers: 3
pypi.org: coremltools
Community Tools for Core ML
- Homepage: https://github.com/apple/coremltools
- Documentation: https://coremltools.readthedocs.io/
- License: BSD
-
Latest release: 8.3.0
published 10 months ago
Rankings
Maintainers (3)
proxy.golang.org: github.com/apple/coremltools
- Homepage: https://github.com/apple/coremltools
- Documentation: https://pkg.go.dev/github.com/apple/coremltools#section-documentation
- License: BSD-3-Clause
-
Latest release: v0.5.1
published over 8 years ago
Rankings
conda-forge.org: coremltools
Core ML is an Apple framework to integrate machine learning models into your app. Use the coremltools Python package to convert models from third-party training libraries such as TensorFlow and PyTorch to the Core ML format. You can then use Core ML to integrate the models into your app. Core ML provides a unified representation for all models. Your app uses Core ML APIs and user data to make predictions, and to fine-tune models, all on the user’s device. Running a model strictly on the user’s device removes any need for a network connection, which helps keep the user’s data private and your app responsive. Core ML optimizes on-device performance by leveraging the CPU, GPU, and Neural Engine while minimizing its memory footprint and power consumption.
- Homepage: https://github.com/apple/coremltools
- License: BSD-3-Clause
-
Latest release: 4.1
published about 5 years ago
Rankings
anaconda.org: coremltools
Core ML is an Apple framework to integrate machine learning models into your app. Use the coremltools Python package to convert models from third-party training libraries such as TensorFlow and PyTorch to the Core ML format. You can then use Core ML to integrate the models into your app. Core ML provides a unified representation for all models. Your app uses Core ML APIs and user data to make predictions, and to fine-tune models, all on the user’s device. Running a model strictly on the user’s device removes any need for a network connection, which helps keep the user’s data private and your app responsive. Core ML optimizes on-device performance by leveraging the CPU, GPU, and Neural Engine while minimizing its memory footprint and power consumption.
- Homepage: https://github.com/apple/coremltools
- License: BSD-3-Clause
-
Latest release: 4.1
published about 4 years ago
Rankings
Dependencies
- debian latest build
- 32bit/debian latest build
- centos 6.6 build
- junit:junit 4.4
- org.easymock:easymock 2.2
- org.easymock:easymockclassextension 2.2.1
- com.google.protobuf.compatibility:compatibility-protos 2.5.0
- com.google.protobuf:protobuf-java ${more_protos.protobuf.version}
- com.google.protobuf:protobuf-java ${protos.protobuf.version}
- com.google.protobuf.compatibility:compatibility-more-protos 2.5.0
- com.google.protobuf.compatibility:compatibility-protos 2.5.0
- com.google.protobuf:protobuf-java ${tests.protobuf.version}
- junit:junit 4.4
- org.easymock:easymock 2.2
- org.easymock:easymockclassextension 2.2.1
- com.google.truth:truth test
- junit:junit test
- org.easymock:easymock test
- org.easymock:easymockclassextension test
- junit:junit
- org.easymock:easymock
- org.easymock:easymockclassextension
- com.google.code.gson:gson 2.7
- com.google.guava:guava
- com.google.protobuf:protobuf-java 3.3.0
- junit:junit
- org.easymock:easymock
- org.easymock:easymockclassextension
- junit:junit 4.4 test
- org.easymock:easymock 2.2 test
- org.easymock:easymockclassextension 2.2.1 test
- org.jruby:jruby-complete 1.7.13 provided
- com.fasterxml.jackson.core:jackson-core 2.4.3
- com.google.protobuf:protobuf-java 3.0.0
- glob ~6.0.4 development
- google-closure-compiler ~20160619.0.0 development
- google-closure-library ~20160125.0.0 development
- gulp ~3.9.0 development
- jasmine ~2.4.1 development
- phpunit/phpunit >=4.8.0 development
- php >=5.5.0
- phpunit/phpunit >=4.8.0 development
- php >=5.5.0
- setuptools *
- six >=1.9
- setuptools *
- six >=1.9
- breathe ==4.34.0
- furo ==2022.6.21
- sphinx ==5.0.2
- sphinx-copybutton ==0.5.0
- sphinxcontrib-moderncmakedomain ==3.21.4
- sphinxcontrib-svg2pdfconverter ==1.2.0
- build ==0.8.0 test
- numpy ==1.21.5 test
- numpy ==1.19.3 test
- numpy ==1.22.2 test
- pytest ==7.0.0 test
- pytest-timeout * test
- scipy ==1.5.4 test
- scipy ==1.8.0 test
- attrs >=21.3.0
- cattrs *
- numpy *
- packaging *
- protobuf *
- pyaml *
- sympy *
- tqdm *
- rake-compiler ~> 0.9.5 development
- rake-compiler-dock ~> 0.6.0 development
- rubygems-tasks ~> 0.2.4 development
- test-unit ~> 3.0, >= 3.0.9 development
- doxygen
- pip
- python 3.5