{"id":13443298,"url":"https://github.com/apple/coremltools","last_synced_at":"2025-05-13T15:08:16.305Z","repository":{"id":37432567,"uuid":"95862535","full_name":"apple/coremltools","owner":"apple","description":"Core ML tools contain supporting tools for Core ML model conversion, editing, and validation.","archived":false,"fork":false,"pushed_at":"2025-05-05T22:57:40.000Z","size":86646,"stargazers_count":4703,"open_issues_count":386,"forks_count":682,"subscribers_count":123,"default_branch":"main","last_synced_at":"2025-05-06T14:58:06.960Z","etag":null,"topics":["coreml","coremltools","machine-learning","model-conversion","model-converter","pytorch","tensorflow"],"latest_commit_sha":null,"homepage":"https://coremltools.readme.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apple.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-06-30T07:39:02.000Z","updated_at":"2025-05-06T14:56:24.000Z","dependencies_parsed_at":"2024-02-15T22:24:46.526Z","dependency_job_id":"86962011-186a-4a08-9c75-bfb6db7108f4","html_url":"https://github.com/apple/coremltools","commit_stats":{"total_commits":900,"total_committers":185,"mean_commits":4.864864864864865,"dds":0.8811111111111111,"last_synced_commit":"40f6705a6a4c5ef1a616f01b444f1d6e5a0c1f59"},"previous_names":[],"tags_count":45,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apple%2Fcoremltools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apple%2Fcoremltools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apple%2Fcoremltools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apple%2Fcoremltools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apple","download_url":"https://codeload.github.com/apple/coremltools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253969229,"owners_count":21992262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coreml","coremltools","machine-learning","model-conversion","model-converter","pytorch","tensorflow"],"created_at":"2024-07-31T03:01:58.807Z","updated_at":"2025-05-13T15:08:11.285Z","avatar_url":"https://github.com/apple.png","language":"Python","readme":"[![Build Status](https://img.shields.io/gitlab/pipeline/coremltools1/coremltools/main)](https://gitlab.com/coremltools1/coremltools/-/pipelines?page=1\u0026scope=branches\u0026ref=main)\n[![PyPI Release](https://img.shields.io/pypi/v/coremltools.svg)](#)\n[![Python Versions](https://img.shields.io/pypi/pyversions/coremltools.svg)](#)\n\n[Core ML Tools](https://apple.github.io/coremltools/docs-guides/source/overview-coremltools.html)\n=======================\n\n![Core ML Tools logo](docs/logo.png)\n\nUse [Core ML Tools](https://apple.github.io/coremltools/docs-guides/source/overview-coremltools.html) (*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:\n\n* [TensorFlow 1.x](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf)\n* [TensorFlow 2.x](https://www.tensorflow.org/api_docs)\n* [PyTorch](https://pytorch.org/)\n* Non-neural network frameworks:\n\t* [scikit-learn](https://scikit-learn.org/stable/)\n\t* [XGBoost](https://xgboost.readthedocs.io/en/latest/)\n\t* [LibSVM](https://www.csie.ntu.edu.tw/~cjlin/libsvm/)\n\nWith coremltools, you can:\n\n* Convert trained models to the Core ML format.\n* Read, write, and optimize Core ML models.\n* Verify conversion/creation (on macOS) by making predictions using Core ML.\n\nAfter conversion, you can integrate the Core ML models with your app using Xcode.\n\n## Install Version 8.3\nTo install the latest non-beta version, run the following command in your terminal:\n```shell\npip install -U coremltools\n```\n\n## Core ML\n\n[Core ML](https://developer.apple.com/documentation/coreml) 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.\n\n## Resources\n\nTo install coremltools, see [Installing Core ML Tools](https://apple.github.io/coremltools/docs-guides/source/installing-coremltools.html). For more information, see the following:\n\n* [Release Notes](https://github.com/apple/coremltools/releases/)\n* [Guide and examples](https://apple.github.io/coremltools/docs-guides/index.html)\n* [API Reference](https://apple.github.io/coremltools/index.html)\n* [Core ML Specification](https://apple.github.io/coremltools/mlmodel/index.html)\n* [Building from Source](BUILDING.md)\n* [Contribution Guidelines](CONTRIBUTING.md)\n","funding_links":[],"categories":["Python","Deep Learning Framework","ONNX Generator","Utilities","模型序列化和转换","其他_机器学习与深度学习","Core ML Models","Repositories","Tools"],"sub_categories":["Deployment \u0026 Distribution","Requirements","Reinforcement Learning","Hard-ware Integration"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapple%2Fcoremltools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapple%2Fcoremltools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapple%2Fcoremltools/lists"}