mirror of
https://github.com/THU-MIG/yolov10.git
synced 2025-05-23 21:44:22 +08:00

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
937 B
937 B
Contributing to Ultralytics: The YOLO framework
We love your input! We want to make contributing to YOLOv5 as easy and transparent as possible, whether it's:
Reporting a bug Discussing the current state of the code Submitting a fix Proposing a new feature Becoming a maintainer
Here are some things to keep in mind when making PRs:
Docstrings
Not all functions or classes require docstrings but when they do, we follow google-stlye docstrings format. Here is an example:
'''
What the function does - performs nms on given detection predictions
Args:
arg1: The description of the 1st argument
arg2: The description of the 2nd argument
Returns:
What the function returns. Empty if nothing is returned
Raises:
Exception Class: When and why this exception can be raised by the function.
'''