Contributing — Guide to Core ML Tools (original) (raw)

Contributing#

The Core ML .mlmodel file format is a publicly documented specification. The Core ML Tools source code is 100% open source under the BSD license.

As the Core ML open source community, we welcome all contributions and ideas to grow the product. We ask that you follow the contributing guidelines and code of conduct](https://github.com/apple/coremltools/blob/master/CONTRIBUTING.md, which are typical of open source communities. See Contribution Guidelines.

You can contribute in the following ways:

Issues and queries#

We encourage you to resolve or add comments to any open issue in the repository.

Use these templates to tell us about a bug or issue, request a feature or enhancement, or ask a question. Fill in the template as much as possible to help others in the community understand what you are saying, so that they can promptly respond. If applicable, provide the model you used when logging an issue, and any code or scripts to reproduce the issue.

If you find a software issue, follow these steps:

  1. Enter the following pip command to ensure that you are using the newest version of the coremltools package:
    pip install coremltools --upgrade
  2. Check currently open pull requests in the repository to see if the issue is already being addressed.
  3. Check open issues to see if the issue has already been reported. Use the Label dropdown menu to filter issues by a label such as bug. If an issue already exists, add a comment or thumbs-up to indicate that the others are having the same problem.
  4. Try to reproduce the problem, copy any results or errors, and paste them into your issue report.
  5. Provide useful information about your configuration, such as the OS version, coremltools version, and so on. The template walks you through this process.

Security issue

An ideal issue report includes a script to completely reproduce the issue along with models, sample code, or data required for the script. If you are not comfortable sharing this publicly, please file a report with developer.apple.com.

Once you submit an issue, feature request, or question, members of the community will review it. The Core ML team will determine how to proceed with it, and add the appropriate labels to it.

Documentation#

Help us improve the documentation. Even if you find only a typo, don’t hesitate to report it. To make changes, send a pull request as described in Contributions and add the docs label to it (see Labels for details).

Contributions#

Add new functionality to the Core ML Tools repository by submitting a GitHub pull request.

Before contributing code, be sure to install the source code properly and test your code. For details, see Building from Source.

Once you submit a pull request, members of the community will review it. The Core ML team will determine how to proceed with it, and add the appropriate labels to it. A pull request must be approved by a Core ML team member.

Labels#

Core ML team members will add labels to your issues, requests, questions, or pull requests. For a description of each label, see the labels page in the repository. An issue typically has the following types of labels: