Git Product home page Git Product logo

muflhi01 / coremltools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apple/coremltools

0.0 0.0 0.0 33.91 MB

Core ML tools contain supporting tools for Core ML model conversion, editing, and validation.

Home Page: https://coremltools.readme.io

License: BSD 3-Clause "New" or "Revised" License

Shell 0.31% C++ 22.22% Python 75.27% C 1.27% Objective-C 0.06% Objective-C++ 0.44% Makefile 0.07% CMake 0.32% Mustache 0.04%

coremltools's Introduction

Build Status PyPI Release Python Versions

Use 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:

With coremltools, you can do the following:

  • 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.

Version 5

The coremltools 5 package offers several performance improvements over previous versions, including the following new features:

  • Core ML model package: A new model container format that separates the model into components and offers more flexible metadata editing and better source control.
  • ML program: A new model type that represents computation as programmatic instructions, offers more control over the precision of its intermediate tensors and better performance.

To install coremltools, use the following command in your terminal:

pip install coremltools

Version 6

To install the first beta of coremltools 6.0 use the following command in your terminal:

pip install coremltools==6.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 the “Installation“ page. For more information, see the following:

coremltools's People

Contributors

aseemw avatar 1duo avatar tobyroseman avatar slin07 avatar srikris avatar jakesabathia2 avatar tonybove-apple avatar gustavla avatar bhushan23 avatar dawerg avatar znation avatar mstronach avatar fukatani avatar ghop02 avatar necross avatar keith-wyss avatar arjunsharda avatar mrfarhadi avatar rxwei avatar seibert avatar vladx avatar freedomtan avatar msiracusa avatar y-ich avatar diddlypop avatar sberardi-apple avatar shantanuchhabra avatar califrench avatar denmoroz avatar tucan9389 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.