We want to make contributing to this project as easy and transparent as possible.
Minor changes and improvements will be released on an ongoing basis. Larger changes (e.g., changesets implementing a new paper) will be released on a more periodic basis.
We actively welcome your pull requests.
- Fork the repo and create your branch from
master
. - If you've added code that should be tested, add tests.
- If you've changed APIs, update the documentation.
- Ensure the test suite passes.
- Make sure your code lints.
- Ensure no regressions in baseline model speed and accuracy.
- If you haven't already, complete the Contributor License Agreement ("CLA").
In order to accept your pull request, we need you to submit a CLA. You only need to do this once to work on any of Facebook's open source projects.
Complete your CLA here: https://code.facebook.com/cla
GitHub issues will be largely unattended and are mainly intended as a community forum for collectively debugging issues, hopefully leading to pull requests with fixes when appropriate.
- 4 spaces for indentation rather than tabs
- 80 character line length
- PEP8 formatting
By contributing to Detectron, you agree that your contributions will be licensed under the LICENSE file in the root directory of this source tree.