├── .github ├── ISSUE_TEMPLATE │ ├── bug-report.yml │ ├── config.yml │ ├── feature-request.yml │ └── question.yml ├── dependabot.yml └── workflows │ ├── ci.yml │ ├── cla.yml │ ├── format.yml │ ├── links.yml │ └── stale.yml ├── .gitignore ├── LICENSE ├── README.md ├── README.zh-CN.md ├── example_datasets ├── coco8-human.zip ├── coco8-human │ ├── LICENSE │ ├── README.md │ ├── coco8-human.yaml │ ├── images │ │ ├── train │ │ │ ├── 000000000113.jpg │ │ │ ├── 000000000294.jpg │ │ │ ├── 000000000326.jpg │ │ │ └── 000000542449.jpg │ │ └── val │ │ │ ├── 000000000241.jpg │ │ │ ├── 000000000589.jpg │ │ │ ├── 000000000897.jpg │ │ │ └── 000000001592.jpg │ └── labels │ │ ├── train │ │ ├── 000000000113.txt │ │ ├── 000000000294.txt │ │ ├── 000000000326.txt │ │ └── 000000542449.txt │ │ └── val │ │ ├── 000000000241.txt │ │ ├── 000000000589.txt │ │ ├── 000000000897.txt │ │ └── 000000001592.txt ├── coco8-pose.zip ├── coco8-pose │ ├── LICENSE │ ├── README.md │ ├── coco8-pose.yaml │ ├── images │ │ ├── train │ │ │ ├── 000000000036.jpg │ │ │ ├── 000000000049.jpg │ │ │ ├── 000000000077.jpg │ │ │ └── 000000000086.jpg │ │ └── val │ │ │ ├── 000000000110.jpg │ │ │ ├── 000000000113.jpg │ │ │ ├── 000000000136.jpg │ │ │ └── 000000000151.jpg │ └── labels │ │ ├── train │ │ ├── 000000000036.txt │ │ ├── 000000000049.txt │ │ ├── 000000000077.txt │ │ └── 000000000086.txt │ │ └── val │ │ ├── 000000000110.txt │ │ ├── 000000000113.txt │ │ ├── 000000000136.txt │ │ └── 000000000151.txt ├── coco8-seg.zip ├── coco8-seg │ ├── LICENSE │ ├── README.md │ ├── coco8-seg.yaml │ ├── images │ │ ├── train │ │ │ ├── 000000000009.jpg │ │ │ ├── 000000000025.jpg │ │ │ ├── 000000000030.jpg │ │ │ └── 000000000034.jpg │ │ └── val │ │ │ ├── 000000000036.jpg │ │ │ ├── 000000000042.jpg │ │ │ ├── 000000000049.jpg │ │ │ └── 000000000061.jpg │ └── labels │ │ ├── train │ │ ├── 000000000009.txt │ │ ├── 000000000025.txt │ │ ├── 000000000030.txt │ │ └── 000000000034.txt │ │ └── val │ │ ├── 000000000036.txt │ │ ├── 000000000042.txt │ │ ├── 000000000049.txt │ │ └── 000000000061.txt ├── coco8.zip ├── coco8 │ ├── LICENSE │ ├── README.md │ ├── coco8.yaml │ ├── images │ │ ├── train │ │ │ ├── 000000000009.jpg │ │ │ ├── 000000000025.jpg │ │ │ ├── 000000000030.jpg │ │ │ └── 000000000034.jpg │ │ └── val │ │ │ ├── 000000000036.jpg │ │ │ ├── 000000000042.jpg │ │ │ ├── 000000000049.jpg │ │ │ └── 000000000061.jpg │ └── labels │ │ ├── train │ │ ├── 000000000009.txt │ │ ├── 000000000025.txt │ │ ├── 000000000030.txt │ │ └── 000000000034.txt │ │ └── val │ │ ├── 000000000036.txt │ │ ├── 000000000042.txt │ │ ├── 000000000049.txt │ │ └── 000000000061.txt ├── dota8.zip ├── dota8 │ ├── LICENSE │ ├── README.md │ ├── dota8.yaml │ ├── images │ │ ├── train │ │ │ ├── P0861__1024__0___1648.jpg │ │ │ ├── P1053__1024__0___90.jpg │ │ │ ├── P1142__1024__0___824.jpg │ │ │ └── P1161__1024__3296___1648.jpg │ │ └── val │ │ │ ├── P1470__1024__3296___1648.jpg │ │ │ ├── P1571__1024__2976___0.jpg │ │ │ ├── P1580__1024__824___824.jpg │ │ │ └── P1724__1024__0___824.jpg │ └── labels │ │ ├── train.cache │ │ ├── train │ │ ├── P0861__1024__0___1648.txt │ │ ├── P1053__1024__0___90.txt │ │ ├── P1142__1024__0___824.txt │ │ └── P1161__1024__3296___1648.txt │ │ ├── val.cache │ │ └── val │ │ ├── P1470__1024__3296___1648.txt │ │ ├── P1571__1024__2976___0.txt │ │ ├── P1580__1024__824___824.txt │ │ └── P1724__1024__0___824.txt ├── imagenet10.zip └── imagenet10 │ ├── train │ ├── cock │ │ └── n01514668_23019.JPEG │ ├── electric_ray │ │ └── n01496331_33488.JPEG │ ├── goldfish │ │ └── n01443537_22323.JPEG │ ├── great_white_shark │ │ └── n01484850_7967.JPEG │ ├── hammerhead │ │ └── n01494475_16184.JPEG │ ├── hen │ │ └── n01514859_3376.JPEG │ ├── ostrich │ │ └── n01518878_42327.JPEG │ ├── stingray │ │ └── n01498041_4566.JPEG │ ├── tench │ │ ├── n01440764_2923 copy.JPEG │ │ └── n01440764_2923.JPEG │ └── tiger_shark │ │ └── n01491361_2692.JPEG │ └── val │ ├── cock │ └── ILSVRC2012_val_00003606.JPEG │ ├── electric_ray │ └── ILSVRC2012_val_00042751.JPEG │ ├── goldfish │ ├── ILSVRC2012_val_00002241 copy.JPEG │ └── ILSVRC2012_val_00002241.JPEG │ ├── great_white_shark │ └── ILSVRC2012_val_00044052.JPEG │ ├── hammerhead │ └── ILSVRC2012_val_00021325.JPEG │ ├── hen │ └── ILSVRC2012_val_00021430.JPEG │ ├── ostrich │ └── ILSVRC2012_val_00017839.JPEG │ ├── stingray │ └── ILSVRC2012_val_00006402.JPEG │ ├── tench │ └── ILSVRC2012_val_00041939.JPEG │ └── tiger_shark │ └── ILSVRC2012_val_00030926.JPEG ├── hub.ipynb └── requirements.txt /.github/ISSUE_TEMPLATE/bug-report.yml: -------------------------------------------------------------------------------- 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license 2 | 3 | name: 🐛 Bug Report 4 | # title: " " 5 | description: Problems with HUB 6 | labels: [bug, triage] 7 | body: 8 | - type: markdown 9 | attributes: 10 | value: | 11 | Thank you for submitting an [Ultralytics HUB](https://hub.ultralytics.com) 🐛 Bug Report! 12 | 13 | - type: checkboxes 14 | attributes: 15 | label: Search before asking 16 | description: > 17 | Please search the [issues](https://github.com/ultralytics/hub/issues) to see if a similar bug report already exists. 18 | options: 19 | - label: > 20 | I have searched the HUB [issues](https://github.com/ultralytics/hub/issues) and found no similar bug report. 21 | required: true 22 | 23 | - type: dropdown 24 | attributes: 25 | label: HUB Component 26 | description: | 27 | Please select the part of the HUB where you found the bug. 28 | multiple: true 29 | options: 30 | - "Signin" 31 | - "Datasets" 32 | - "Models" 33 | - "Projects" 34 | - "Training" 35 | - "Export" 36 | - "Inference" 37 | - "Settings" 38 | - "API Key" 39 | 40 | validations: 41 | required: false 42 | 43 | - type: textarea 44 | attributes: 45 | label: Bug 46 | description: Provide console output with error messages and/or screenshots of the bug. 47 | placeholder: | 48 | 💡 ProTip! Include as much information as possible (screenshots, logs, tracebacks etc.) to receive the most helpful response. 49 | validations: 50 | required: true 51 | 52 | - type: textarea 53 | attributes: 54 | label: Environment 55 | description: Please specify the software and hardware you used to produce the bug. 56 | placeholder: | 57 | - Computer: iMac (Retina 5K, 27-inch, Late 2020) 58 | - OS: MacOS 11.6.1 59 | - Browser: Chrome Version 95.0.4638.69 (Official Build) (x86_64) 60 | 61 | validations: 62 | required: false 63 | 64 | - type: textarea 65 | attributes: 66 | label: Minimal Reproducible Example 67 | description: > 68 | When asking a question, people will be better able to provide help if you provide code that they can easily understand and use to **reproduce** the problem. 69 | This is referred to by community members as creating a [minimal reproducible example](https://docs.ultralytics.com/help/minimum_reproducible_example/). 70 | placeholder: | 71 | Steps to reproduce the problem, i.e.: 72 | 1. Login to Hub 73 | 2. Click Datasets 74 | 3. ... 75 | validations: 76 | required: false 77 | 78 | - type: textarea 79 | attributes: 80 | label: Additional 81 | description: Anything else you would like to share? 82 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license 2 | 3 | blank_issues_enabled: true 4 | contact_links: 5 | - name: 📄 Docs 6 | url: https://docs.ultralytics.com/ 7 | about: Full Ultralytics Documentation 8 | - name: 💬 Forum 9 | url: https://community.ultralytics.com/ 10 | about: Ask on Ultralytics Community Forum 11 | - name: 🎧 Discord 12 | url: https://ultralytics.com/discord 13 | about: Ask on Ultralytics Discord 14 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request.yml: -------------------------------------------------------------------------------- 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license 2 | 3 | name: 🚀 Feature Request 4 | description: Suggest a HUB idea 5 | # title: " " 6 | labels: [enhancement] 7 | body: 8 | - type: markdown 9 | attributes: 10 | value: | 11 | Thank you for submitting an [Ultralytics HUB](https://hub.ultralytics.com) 🚀 Feature Request! 12 | 13 | - type: checkboxes 14 | attributes: 15 | label: Search before asking 16 | description: > 17 | Please search the [issues](https://github.com/ultralytics/hub/issues) to see if a similar feature request already exists. 18 | options: 19 | - label: > 20 | I have searched the HUB [issues](https://github.com/ultralytics/hub/issues) and found no similar feature requests. 21 | required: true 22 | 23 | - type: textarea 24 | attributes: 25 | label: Description 26 | description: A short description of your feature. 27 | placeholder: | 28 | What new feature would you like to see in HUB? 29 | validations: 30 | required: true 31 | 32 | - type: textarea 33 | attributes: 34 | label: Use case 35 | description: | 36 | Describe the use case of your feature request. It will help us understand and prioritize the feature request. 37 | placeholder: | 38 | How would this feature be used, and who would use it? 39 | 40 | - type: textarea 41 | attributes: 42 | label: Additional 43 | description: Anything else you would like to share? 44 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/question.yml: -------------------------------------------------------------------------------- 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license 2 | 3 | name: ❓ Question 4 | description: Ask a HUB question 5 | # title: " " 6 | labels: [question] 7 | body: 8 | - type: markdown 9 | attributes: 10 | value: | 11 | Thank you for asking an [Ultralytics HUB](https://hub.ultralytics.com) ❓ Question! 12 | 13 | - type: checkboxes 14 | attributes: 15 | label: Search before asking 16 | description: > 17 | Please search the [issues](https://github.com/ultralytics/hub/issues) and [discussions](https://github.com/ultralytics/hub/discussions) to see if a similar question already exists. 18 | options: 19 | - label: > 20 | I have searched the HUB [issues](https://github.com/ultralytics/hub/issues) and [discussions](https://github.com/ultralytics/hub/discussions) and found no similar questions. 21 | required: true 22 | 23 | - type: textarea 24 | attributes: 25 | label: Question 26 | description: What is your question? 27 | placeholder: | 28 | 💡 ProTip! Include as much information as possible (screenshots, logs, tracebacks etc.) to receive the most helpful response. 29 | validations: 30 | required: true 31 | 32 | - type: textarea 33 | attributes: 34 | label: Additional 35 | description: Anything else you would like to share? 36 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license 2 | 3 | # Dependabot for package version updates 4 | # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates 5 | 6 | version: 2 7 | updates: 8 | - package-ecosystem: pip 9 | directory: "/" 10 | schedule: 11 | interval: weekly 12 | time: "04:00" 13 | open-pull-requests-limit: 10 14 | reviewers: 15 | - glenn-jocher 16 | labels: 17 | - dependencies 18 | 19 | - package-ecosystem: github-actions 20 | directory: "/.github/workflows" 21 | schedule: 22 | interval: weekly 23 | time: "04:00" 24 | open-pull-requests-limit: 5 25 | reviewers: 26 | - glenn-jocher 27 | labels: 28 | - dependencies 29 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license 2 | 3 | name: HUB CI 4 | 5 | on: 6 | push: 7 | branches: [main] 8 | pull_request: 9 | branches: [main] 10 | workflow_dispatch: 11 | schedule: 12 | - cron: "0 2 * * *" # runs every 24 hours, starting at 02:00 UTC 13 | 14 | env: 15 | API_KEY: ${{ secrets.ULTRALYTICS_HUB_API_KEY }} 16 | MODEL_ID: ${{ secrets.ULTRALYTICS_HUB_MODEL_ID }} 17 | HUB_TEAM_SLACK_ID: ${{ secrets.HUB_TEAM_SLACK_ID }} 18 | 19 | jobs: 20 | Tests: 21 | runs-on: ${{ matrix.os }} 22 | strategy: 23 | fail-fast: false 24 | matrix: 25 | os: [ubuntu-latest] 26 | python-version: ["3.11"] 27 | timeout-minutes: 60 28 | steps: 29 | - uses: actions/checkout@v4 30 | - uses: actions/setup-python@v5 31 | with: 32 | python-version: ${{ matrix.python-version }} 33 | - uses: astral-sh/setup-uv@v6 34 | with: 35 | enable-cache: false 36 | - name: Install requirements 37 | run: | 38 | uv pip install --system ultralytics hub-sdk --extra-index-url https://download.pytorch.org/whl/cpu 39 | - name: Check environment 40 | run: | 41 | yolo checks 42 | uv pip list 43 | - name: Test HUB training 44 | continue-on-error: false 45 | shell: python 46 | run: | 47 | import os 48 | from ultralytics import YOLO, hub 49 | api_key, model_id = os.environ['API_KEY'], os.environ['MODEL_ID'] 50 | hub.login(api_key) 51 | hub.reset_model(model_id) 52 | model = YOLO('https://hub.ultralytics.com/models/' + model_id) 53 | model.train() 54 | - name: Test HUB inference API 55 | shell: python 56 | run: | 57 | import os 58 | import requests 59 | import json 60 | from io import BytesIO 61 | api_key, model_id = os.environ['API_KEY'], os.environ['MODEL_ID'] 62 | url = f"https://api.ultralytics.com/v1/predict/{model_id}" 63 | headers = {"x-api-key": api_key} 64 | data = {"size": 320, "confidence": 0.25, "iou": 0.45} 65 | f = BytesIO(requests.get("https://github.com/ultralytics/assets/releases/download/v0.0.0/zidane.jpg").content) 66 | response = requests.post(url, headers=headers, data=data, files={"image": f}) 67 | response.raise_for_status() # ensure we got a successful response 68 | print(json.dumps(response.json(), indent=2)) 69 | - name: Test HUB export 70 | if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' 71 | shell: python 72 | run: | 73 | import os 74 | import time 75 | from ultralytics import YOLO, checks, hub 76 | checks() 77 | api_key, model_id = os.environ['API_KEY'], os.environ['MODEL_ID'] 78 | hub.login(api_key) 79 | success = [] 80 | for f in ('torchscript', 'onnx', 'openvino', 'coreml', 'saved_model', 'pb', 'tflite', 'edgetpu', 'tfjs', 81 | 'paddle', 'ultralytics_tflite', 'ultralytics_coreml', 'ncnn'): 82 | backoff_times = [60, 120, 240, 480] # exponential backoff waits in seconds 83 | for wait_time in backoff_times: 84 | try: 85 | print(f'Starting {f} export... ', end='') 86 | hub.export_model(model_id, format=f) 87 | time.sleep(wait_time) # wait for export to complete 88 | success.append(hub.get_export(model_id, format=f)['success']) 89 | print('done ✅' if success[-1] else 'Error ❌') 90 | break # exit the loop if no exception is raised 91 | except Exception as e: 92 | if wait_time == backoff_times[-1]: # if it's the last backoff time 93 | success.append(False) 94 | print(f'Error ❌ {f} export {e}') 95 | else: 96 | print(f'Retrying {f} export in {wait_time // 60} minutes due to error: {e}') 97 | time.sleep(wait_time) 98 | assert all(success) 99 | - name: Notify on failure 100 | if: (cancelled() || failure()) && github.repository == 'ultralytics/hub' && (github.event_name == 'schedule' || github.event_name == 'push') && github.run_attempt == '1' 101 | uses: slackapi/slack-github-action@v2.1.0 102 | with: 103 | webhook-type: incoming-webhook 104 | webhook: ${{ secrets.SLACK_WEBHOOK_URL_HUBWEB }} 105 | payload: | 106 | text: " GitHub Actions error for ${{ github.workflow }} ❌\n\n\n*Repository:* https://github.com/${{ github.repository }}\n*Action:* https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\n*Author:* ${{ github.actor }}\n*Event:* ${{ github.event_name }}\n" 107 | -------------------------------------------------------------------------------- /.github/workflows/cla.yml: -------------------------------------------------------------------------------- 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license 2 | 3 | # Ultralytics Contributor License Agreement (CLA) action https://docs.ultralytics.com/help/CLA 4 | # This workflow automatically requests Pull Requests (PR) authors to sign the Ultralytics CLA before PRs can be merged 5 | 6 | name: CLA Assistant 7 | on: 8 | issue_comment: 9 | types: 10 | - created 11 | pull_request_target: 12 | types: 13 | - reopened 14 | - opened 15 | - synchronize 16 | 17 | permissions: 18 | actions: write 19 | contents: write 20 | pull-requests: write 21 | statuses: write 22 | 23 | jobs: 24 | CLA: 25 | if: github.repository == 'ultralytics/hub' 26 | runs-on: ubuntu-latest 27 | steps: 28 | - name: CLA Assistant 29 | if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I sign the CLA') || github.event_name == 'pull_request_target' 30 | uses: contributor-assistant/github-action@v2.6.1 31 | env: 32 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 33 | # Must be repository secret PAT 34 | PERSONAL_ACCESS_TOKEN: ${{ secrets._GITHUB_TOKEN }} 35 | with: 36 | path-to-signatures: "signatures/version1/cla.json" 37 | path-to-document: "https://docs.ultralytics.com/help/CLA" # CLA document 38 | # Branch must not be protected 39 | branch: cla-signatures 40 | allowlist: dependabot[bot],github-actions,[pre-commit*,pre-commit*,bot* 41 | 42 | remote-organization-name: ultralytics 43 | remote-repository-name: cla 44 | custom-pr-sign-comment: "I have read the CLA Document and I sign the CLA" 45 | custom-allsigned-prcomment: All Contributors have signed the CLA. ✅ 46 | -------------------------------------------------------------------------------- /.github/workflows/format.yml: -------------------------------------------------------------------------------- 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license 2 | 3 | # Ultralytics Actions https://github.com/ultralytics/actions 4 | # This workflow formats code and documentation in PRs to Ultralytics standards 5 | 6 | name: Ultralytics Actions 7 | 8 | on: 9 | issues: 10 | types: [opened] 11 | pull_request: 12 | branches: [main] 13 | types: [opened, closed, synchronize, review_requested] 14 | 15 | permissions: 16 | contents: write # Modify code in PRs 17 | pull-requests: write # Add comments and labels to PRs 18 | issues: write # Add comments and labels to issues 19 | 20 | jobs: 21 | actions: 22 | runs-on: ubuntu-latest 23 | steps: 24 | - name: Run Ultralytics Actions 25 | uses: ultralytics/actions@main 26 | with: 27 | token: ${{ secrets._GITHUB_TOKEN || secrets.GITHUB_TOKEN }} # Auto-generated token 28 | labels: true # Auto-label issues/PRs using AI 29 | python: true # Format Python with Ruff and docformatter 30 | prettier: true # Format YAML, JSON, Markdown, CSS 31 | spelling: true # Check spelling with codespell 32 | links: false # Check broken links with Lychee 33 | summary: true # Generate AI-powered PR summaries 34 | openai_api_key: ${{ secrets.OPENAI_API_KEY }} # Powers PR summaries, labels and comments 35 | brave_api_key: ${{ secrets.BRAVE_API_KEY }} # Used for broken link resolution 36 | first_issue_response: | 37 | 👋 Hello @${{ github.actor }}, thank you for raising an issue about [Ultralytics HUB](https://hub.ultralytics.com) 🚀! Please visit our [HUB Docs](https://docs.ultralytics.com/hub) to learn more: 38 | - [**Quickstart**](https://docs.ultralytics.com/hub/quickstart). Start training and deploying YOLO models with HUB in seconds. 39 | - [**Datasets: Preparing and Uploading**](https://docs.ultralytics.com/hub/datasets). Learn how to prepare and upload your datasets to HUB in YOLO format. 40 | - [**Projects: Creating and Managing**](https://docs.ultralytics.com/hub/projects). Group your models into projects for improved organization. 41 | - [**Models: Training and Exporting**](https://docs.ultralytics.com/hub/models). Train YOLOv5 and YOLOv8 models on your custom datasets and export them to various formats for deployment. 42 | - [**Integrations**](https://docs.ultralytics.com/hub/integrations). Explore different integration options for your trained models, such as TensorFlow, ONNX, OpenVINO, CoreML, and PaddlePaddle. 43 | - [**Ultralytics HUB App**](https://docs.ultralytics.com/hub/app). Learn about the Ultralytics App for iOS and Android, which allows you to run models directly on your mobile device. 44 | * [**iOS**](https://docs.ultralytics.com/hub/app/ios). Learn about YOLO CoreML models accelerated on Apple's Neural Engine on iPhones and iPads. 45 | * [**Android**](https://docs.ultralytics.com/hub/app/android). Explore TFLite acceleration on mobile devices. 46 | - [**Inference API**](https://docs.ultralytics.com/hub/inference-api). Understand how to use the Inference API for running your trained models in the cloud to generate predictions. 47 | If this is a 🐛 Bug Report, please provide screenshots and steps to [reproduce](https://docs.ultralytics.com/help/minimum_reproducible_example/) your problem to help us get started working on a fix. 48 | If this is a ❓ Question, please provide as much information as possible, including dataset, model, environment details etc. so that we might provide the most helpful response. 49 | We try to respond to all issues as promptly as possible. Thank you for your patience! 50 | -------------------------------------------------------------------------------- /.github/workflows/links.yml: -------------------------------------------------------------------------------- 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license 2 | 3 | # Continuous Integration (CI) GitHub Actions tests broken link checker using https://github.com/lycheeverse/lychee 4 | # Ignores the following status codes to reduce false positives: 5 | # - 403(OpenVINO, 'forbidden') 6 | # - 429(Instagram, 'too many requests') 7 | # - 500(Zenodo, 'cached') 8 | # - 502(Zenodo, 'bad gateway') 9 | # - 999(LinkedIn, 'unknown status code') 10 | 11 | name: Check Broken links 12 | 13 | on: 14 | workflow_dispatch: 15 | schedule: 16 | - cron: "0 0 * * *" # runs at 00:00 UTC every day 17 | 18 | jobs: 19 | Links: 20 | runs-on: ubuntu-latest 21 | steps: 22 | - uses: actions/checkout@v4 23 | 24 | - name: Download and install lychee 25 | run: | 26 | LYCHEE_URL=$(curl -s https://api.github.com/repos/lycheeverse/lychee/releases/latest | grep "browser_download_url" | grep "x86_64-unknown-linux-gnu.tar.gz" | cut -d '"' -f 4) 27 | curl -L $LYCHEE_URL | tar xz -C /usr/local/bin 28 | 29 | - name: Test Markdown and HTML links with retry 30 | uses: ultralytics/actions/retry@main 31 | with: 32 | timeout_minutes: 5 33 | retry_delay_seconds: 60 34 | retries: 2 35 | run: | 36 | lychee \ 37 | --scheme 'https' \ 38 | --accept 403,429,500,502,999 \ 39 | --exclude-loopback \ 40 | --exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|fonts\.gstatic\.com|url\.com)' \ 41 | --exclude-path '**/ci.yml' \ 42 | --github-token ${{ secrets.GITHUB_TOKEN }} \ 43 | --header "User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.6478.183 Safari/537.36" \ 44 | './**/*.md' \ 45 | './**/*.html' | tee -a $GITHUB_STEP_SUMMARY 46 | 47 | # Raise error if broken links found 48 | if ! grep -q "0 Errors" $GITHUB_STEP_SUMMARY; then 49 | exit 1 50 | fi 51 | 52 | - name: Test Markdown, HTML, YAML, Python and Notebook links with retry 53 | if: github.event_name == 'workflow_dispatch' 54 | uses: ultralytics/actions/retry@main 55 | with: 56 | timeout_minutes: 5 57 | retry_delay_seconds: 60 58 | retries: 2 59 | run: | 60 | lychee \ 61 | --scheme 'https' \ 62 | --accept 429,999 \ 63 | --exclude-loopback \ 64 | --exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|fonts\.gstatic\.com|url\.com)' \ 65 | --exclude-path '**/ci.yml' \ 66 | --github-token ${{ secrets.GITHUB_TOKEN }} \ 67 | --header "User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.6478.183 Safari/537.36" \ 68 | './**/*.md' \ 69 | './**/*.html' \ 70 | './**/*.yml' \ 71 | './**/*.yaml' \ 72 | './**/*.py' \ 73 | './**/*.ipynb' | tee -a $GITHUB_STEP_SUMMARY 74 | 75 | # Raise error if broken links found 76 | if ! grep -q "0 Errors" $GITHUB_STEP_SUMMARY; then 77 | exit 1 78 | fi 79 | -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license 2 | 3 | name: Close stale issues 4 | on: 5 | schedule: 6 | - cron: "0 0 * * *" # Runs at 00:00 UTC every day 7 | 8 | jobs: 9 | stale: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/stale@v9 13 | with: 14 | repo-token: ${{ secrets.GITHUB_TOKEN }} 15 | 16 | stale-issue-message: | 17 | 👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help. 18 | 19 | For additional resources and information, please see the links below: 20 | 21 | - **Docs**: https://docs.ultralytics.com 22 | - **HUB**: https://hub.ultralytics.com 23 | - **Community**: https://community.ultralytics.com 24 | 25 | Feel free to inform us of any other **issues** you discover or **feature requests** that come to mind in the future. Pull Requests (PRs) are also always welcomed! 26 | 27 | Thank you for your contributions to YOLO 🚀 and Vision AI ⭐ 28 | 29 | stale-pr-message: | 30 | 👋 Hello there! We wanted to let you know that we've decided to close this pull request due to inactivity. We appreciate the effort you put into contributing to our project, but unfortunately, not all contributions are suitable or aligned with our product roadmap. 31 | 32 | We hope you understand our decision, and please don't let it discourage you from contributing to open source projects in the future. We value all of our community members and their contributions, and we encourage you to keep exploring new projects and ways to get involved. 33 | 34 | For additional resources and information, please see the links below: 35 | 36 | - **Docs**: https://docs.ultralytics.com 37 | - **HUB**: https://hub.ultralytics.com 38 | - **Community**: https://community.ultralytics.com 39 | 40 | Thank you for your contributions to YOLO 🚀 and Vision AI ⭐ 41 | 42 | days-before-issue-stale: 30 43 | days-before-issue-close: 10 44 | days-before-pr-stale: 90 45 | days-before-pr-close: 30 46 | exempt-issue-labels: "documentation,tutorial,TODO" 47 | operations-per-run: 300 # The maximum number of operations per run, used to control rate limiting. 48 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | build/ 12 | develop-eggs/ 13 | dist/ 14 | downloads/ 15 | eggs/ 16 | .eggs/ 17 | lib/ 18 | lib64/ 19 | parts/ 20 | sdist/ 21 | var/ 22 | wheels/ 23 | pip-wheel-metadata/ 24 | share/python-wheels/ 25 | *.egg-info/ 26 | .installed.cfg 27 | *.egg 28 | MANIFEST 29 | 30 | # PyInstaller 31 | # Usually these files are written by a python script from a template 32 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 33 | *.manifest 34 | *.spec 35 | 36 | # Installer logs 37 | pip-log.txt 38 | pip-delete-this-directory.txt 39 | 40 | # Unit test / coverage reports 41 | htmlcov/ 42 | .tox/ 43 | .nox/ 44 | .coverage 45 | .coverage.* 46 | .cache 47 | nosetests.xml 48 | coverage.xml 49 | *.cover 50 | *.py,cover 51 | .hypothesis/ 52 | .pytest_cache/ 53 | 54 | # Translations 55 | *.mo 56 | *.pot 57 | 58 | # Django stuff: 59 | *.log 60 | local_settings.py 61 | db.sqlite3 62 | db.sqlite3-journal 63 | 64 | # Flask stuff: 65 | instance/ 66 | .webassets-cache 67 | 68 | # Scrapy stuff: 69 | .scrapy 70 | 71 | # Sphinx documentation 72 | docs/_build/ 73 | 74 | # PyBuilder 75 | target/ 76 | 77 | # Jupyter Notebook 78 | .ipynb_checkpoints 79 | 80 | # IPython 81 | profile_default/ 82 | ipython_config.py 83 | 84 | # Profiling 85 | *.pclprof 86 | 87 | # pyenv 88 | .python-version 89 | 90 | # pipenv 91 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. 92 | # However, in case of collaboration, if having platform-specific dependencies or dependencies 93 | # having no cross-platform support, pipenv may install dependencies that don't work, or not 94 | # install all needed dependencies. 95 | #Pipfile.lock 96 | 97 | # PEP 582; used by e.g. github.com/David-OConnor/pyflow 98 | __pypackages__/ 99 | 100 | # Celery stuff 101 | celerybeat-schedule 102 | celerybeat.pid 103 | 104 | # SageMath parsed files 105 | *.sage.py 106 | 107 | # Environments 108 | .env 109 | .venv 110 | .idea 111 | env/ 112 | venv/ 113 | ENV/ 114 | env.bak/ 115 | venv.bak/ 116 | 117 | # Spyder project settings 118 | .spyderproject 119 | .spyproject 120 | 121 | # VSCode project settings 122 | .vscode/ 123 | 124 | # Rope project settings 125 | .ropeproject 126 | 127 | # mkdocs documentation 128 | /site 129 | mkdocs_github_authors.yaml 130 | 131 | # mypy 132 | .mypy_cache/ 133 | .dmypy.json 134 | dmypy.json 135 | 136 | # Pyre type checker 137 | .pyre/ 138 | 139 | # datasets and projects 140 | datasets/ 141 | runs/ 142 | wandb/ 143 | tests/ 144 | .DS_Store 145 | 146 | # Neural Network weights ----------------------------------------------------------------------------------------------- 147 | weights/ 148 | *.weights 149 | *.pt 150 | *.pb 151 | *.onnx 152 | *.engine 153 | *.mlmodel 154 | *.mlpackage 155 | *.torchscript 156 | *.tflite 157 | *.h5 158 | *_saved_model/ 159 | *_web_model/ 160 | *_openvino_model/ 161 | *_paddle_model/ 162 | pnnx* 163 | 164 | # Autogenerated files for tests 165 | /ultralytics/assets/ 166 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU AFFERO GENERAL PUBLIC LICENSE 2 | Version 3, 19 November 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU Affero General Public License is a free, copyleft license for 11 | software and other kinds of works, specifically designed to ensure 12 | cooperation with the community in the case of network server software. 13 | 14 | The licenses for most software and other practical works are designed 15 | to take away your freedom to share and change the works. By contrast, 16 | our General Public Licenses are intended to guarantee your freedom to 17 | share and change all versions of a program--to make sure it remains free 18 | software for all its users. 19 | 20 | When we speak of free software, we are referring to freedom, not 21 | price. Our General Public Licenses are designed to make sure that you 22 | have the freedom to distribute copies of free software (and charge for 23 | them if you wish), that you receive source code or can get it if you 24 | want it, that you can change the software or use pieces of it in new 25 | free programs, and that you know you can do these things. 26 | 27 | Developers that use our General Public Licenses protect your rights 28 | with two steps: (1) assert copyright on the software, and (2) offer 29 | you this License which gives you legal permission to copy, distribute 30 | and/or modify the software. 31 | 32 | A secondary benefit of defending all users' freedom is that 33 | improvements made in alternate versions of the program, if they 34 | receive widespread use, become available for other developers to 35 | incorporate. Many developers of free software are heartened and 36 | encouraged by the resulting cooperation. However, in the case of 37 | software used on network servers, this result may fail to come about. 38 | The GNU General Public License permits making a modified version and 39 | letting the public access it on a server without ever releasing its 40 | source code to the public. 41 | 42 | The GNU Affero General Public License is designed specifically to 43 | ensure that, in such cases, the modified source code becomes available 44 | to the community. It requires the operator of a network server to 45 | provide the source code of the modified version running there to the 46 | users of that server. Therefore, public use of a modified version, on 47 | a publicly accessible server, gives the public access to the source 48 | code of the modified version. 49 | 50 | An older license, called the Affero General Public License and 51 | published by Affero, was designed to accomplish similar goals. This is 52 | a different license, not a version of the Affero GPL, but Affero has 53 | released a new version of the Affero GPL which permits relicensing under 54 | this license. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | TERMS AND CONDITIONS 60 | 61 | 0. Definitions. 62 | 63 | "This License" refers to version 3 of the GNU Affero General Public License. 64 | 65 | "Copyright" also means copyright-like laws that apply to other kinds of 66 | works, such as semiconductor masks. 67 | 68 | "The Program" refers to any copyrightable work licensed under this 69 | License. Each licensee is addressed as "you". "Licensees" and 70 | "recipients" may be individuals or organizations. 71 | 72 | To "modify" a work means to copy from or adapt all or part of the work 73 | in a fashion requiring copyright permission, other than the making of an 74 | exact copy. The resulting work is called a "modified version" of the 75 | earlier work or a work "based on" the earlier work. 76 | 77 | A "covered work" means either the unmodified Program or a work based 78 | on the Program. 79 | 80 | To "propagate" a work means to do anything with it that, without 81 | permission, would make you directly or secondarily liable for 82 | infringement under applicable copyright law, except executing it on a 83 | computer or modifying a private copy. Propagation includes copying, 84 | distribution (with or without modification), making available to the 85 | public, and in some countries other activities as well. 86 | 87 | To "convey" a work means any kind of propagation that enables other 88 | parties to make or receive copies. Mere interaction with a user through 89 | a computer network, with no transfer of a copy, is not conveying. 90 | 91 | An interactive user interface displays "Appropriate Legal Notices" 92 | to the extent that it includes a convenient and prominently visible 93 | feature that (1) displays an appropriate copyright notice, and (2) 94 | tells the user that there is no warranty for the work (except to the 95 | extent that warranties are provided), that licensees may convey the 96 | work under this License, and how to view a copy of this License. If 97 | the interface presents a list of user commands or options, such as a 98 | menu, a prominent item in the list meets this criterion. 99 | 100 | 1. Source Code. 101 | 102 | The "source code" for a work means the preferred form of the work 103 | for making modifications to it. "Object code" means any non-source 104 | form of a work. 105 | 106 | A "Standard Interface" means an interface that either is an official 107 | standard defined by a recognized standards body, or, in the case of 108 | interfaces specified for a particular programming language, one that 109 | is widely used among developers working in that language. 110 | 111 | The "System Libraries" of an executable work include anything, other 112 | than the work as a whole, that (a) is included in the normal form of 113 | packaging a Major Component, but which is not part of that Major 114 | Component, and (b) serves only to enable use of the work with that 115 | Major Component, or to implement a Standard Interface for which an 116 | implementation is available to the public in source code form. A 117 | "Major Component", in this context, means a major essential component 118 | (kernel, window system, and so on) of the specific operating system 119 | (if any) on which the executable work runs, or a compiler used to 120 | produce the work, or an object code interpreter used to run it. 121 | 122 | The "Corresponding Source" for a work in object code form means all 123 | the source code needed to generate, install, and (for an executable 124 | work) run the object code and to modify the work, including scripts to 125 | control those activities. However, it does not include the work's 126 | System Libraries, or general-purpose tools or generally available free 127 | programs which are used unmodified in performing those activities but 128 | which are not part of the work. For example, Corresponding Source 129 | includes interface definition files associated with source files for 130 | the work, and the source code for shared libraries and dynamically 131 | linked subprograms that the work is specifically designed to require, 132 | such as by intimate data communication or control flow between those 133 | subprograms and other parts of the work. 134 | 135 | The Corresponding Source need not include anything that users 136 | can regenerate automatically from other parts of the Corresponding 137 | Source. 138 | 139 | The Corresponding Source for a work in source code form is that 140 | same work. 141 | 142 | 2. Basic Permissions. 143 | 144 | All rights granted under this License are granted for the term of 145 | copyright on the Program, and are irrevocable provided the stated 146 | conditions are met. This License explicitly affirms your unlimited 147 | permission to run the unmodified Program. The output from running a 148 | covered work is covered by this License only if the output, given its 149 | content, constitutes a covered work. This License acknowledges your 150 | rights of fair use or other equivalent, as provided by copyright law. 151 | 152 | You may make, run and propagate covered works that you do not 153 | convey, without conditions so long as your license otherwise remains 154 | in force. You may convey covered works to others for the sole purpose 155 | of having them make modifications exclusively for you, or provide you 156 | with facilities for running those works, provided that you comply with 157 | the terms of this License in conveying all material for which you do 158 | not control copyright. Those thus making or running the covered works 159 | for you must do so exclusively on your behalf, under your direction 160 | and control, on terms that prohibit them from making any copies of 161 | your copyrighted material outside their relationship with you. 162 | 163 | Conveying under any other circumstances is permitted solely under 164 | the conditions stated below. Sublicensing is not allowed; section 10 165 | makes it unnecessary. 166 | 167 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 168 | 169 | No covered work shall be deemed part of an effective technological 170 | measure under any applicable law fulfilling obligations under article 171 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 172 | similar laws prohibiting or restricting circumvention of such 173 | measures. 174 | 175 | When you convey a covered work, you waive any legal power to forbid 176 | circumvention of technological measures to the extent such circumvention 177 | is effected by exercising rights under this License with respect to 178 | the covered work, and you disclaim any intention to limit operation or 179 | modification of the work as a means of enforcing, against the work's 180 | users, your or third parties' legal rights to forbid circumvention of 181 | technological measures. 182 | 183 | 4. Conveying Verbatim Copies. 184 | 185 | You may convey verbatim copies of the Program's source code as you 186 | receive it, in any medium, provided that you conspicuously and 187 | appropriately publish on each copy an appropriate copyright notice; 188 | keep intact all notices stating that this License and any 189 | non-permissive terms added in accord with section 7 apply to the code; 190 | keep intact all notices of the absence of any warranty; and give all 191 | recipients a copy of this License along with the Program. 192 | 193 | You may charge any price or no price for each copy that you convey, 194 | and you may offer support or warranty protection for a fee. 195 | 196 | 5. Conveying Modified Source Versions. 197 | 198 | You may convey a work based on the Program, or the modifications to 199 | produce it from the Program, in the form of source code under the 200 | terms of section 4, provided that you also meet all of these conditions: 201 | 202 | a) The work must carry prominent notices stating that you modified 203 | it, and giving a relevant date. 204 | 205 | b) The work must carry prominent notices stating that it is 206 | released under this License and any conditions added under section 207 | 7. This requirement modifies the requirement in section 4 to 208 | "keep intact all notices". 209 | 210 | c) You must license the entire work, as a whole, under this 211 | License to anyone who comes into possession of a copy. This 212 | License will therefore apply, along with any applicable section 7 213 | additional terms, to the whole of the work, and all its parts, 214 | regardless of how they are packaged. This License gives no 215 | permission to license the work in any other way, but it does not 216 | invalidate such permission if you have separately received it. 217 | 218 | d) If the work has interactive user interfaces, each must display 219 | Appropriate Legal Notices; however, if the Program has interactive 220 | interfaces that do not display Appropriate Legal Notices, your 221 | work need not make them do so. 222 | 223 | A compilation of a covered work with other separate and independent 224 | works, which are not by their nature extensions of the covered work, 225 | and which are not combined with it such as to form a larger program, 226 | in or on a volume of a storage or distribution medium, is called an 227 | "aggregate" if the compilation and its resulting copyright are not 228 | used to limit the access or legal rights of the compilation's users 229 | beyond what the individual works permit. Inclusion of a covered work 230 | in an aggregate does not cause this License to apply to the other 231 | parts of the aggregate. 232 | 233 | 6. Conveying Non-Source Forms. 234 | 235 | You may convey a covered work in object code form under the terms 236 | of sections 4 and 5, provided that you also convey the 237 | machine-readable Corresponding Source under the terms of this License, 238 | in one of these ways: 239 | 240 | a) Convey the object code in, or embodied in, a physical product 241 | (including a physical distribution medium), accompanied by the 242 | Corresponding Source fixed on a durable physical medium 243 | customarily used for software interchange. 244 | 245 | b) Convey the object code in, or embodied in, a physical product 246 | (including a physical distribution medium), accompanied by a 247 | written offer, valid for at least three years and valid for as 248 | long as you offer spare parts or customer support for that product 249 | model, to give anyone who possesses the object code either (1) a 250 | copy of the Corresponding Source for all the software in the 251 | product that is covered by this License, on a durable physical 252 | medium customarily used for software interchange, for a price no 253 | more than your reasonable cost of physically performing this 254 | conveying of source, or (2) access to copy the 255 | Corresponding Source from a network server at no charge. 256 | 257 | c) Convey individual copies of the object code with a copy of the 258 | written offer to provide the Corresponding Source. This 259 | alternative is allowed only occasionally and noncommercially, and 260 | only if you received the object code with such an offer, in accord 261 | with subsection 6b. 262 | 263 | d) Convey the object code by offering access from a designated 264 | place (gratis or for a charge), and offer equivalent access to the 265 | Corresponding Source in the same way through the same place at no 266 | further charge. You need not require recipients to copy the 267 | Corresponding Source along with the object code. If the place to 268 | copy the object code is a network server, the Corresponding Source 269 | may be on a different server (operated by you or a third party) 270 | that supports equivalent copying facilities, provided you maintain 271 | clear directions next to the object code saying where to find the 272 | Corresponding Source. Regardless of what server hosts the 273 | Corresponding Source, you remain obligated to ensure that it is 274 | available for as long as needed to satisfy these requirements. 275 | 276 | e) Convey the object code using peer-to-peer transmission, provided 277 | you inform other peers where the object code and Corresponding 278 | Source of the work are being offered to the general public at no 279 | charge under subsection 6d. 280 | 281 | A separable portion of the object code, whose source code is excluded 282 | from the Corresponding Source as a System Library, need not be 283 | included in conveying the object code work. 284 | 285 | A "User Product" is either (1) a "consumer product", which means any 286 | tangible personal property which is normally used for personal, family, 287 | or household purposes, or (2) anything designed or sold for incorporation 288 | into a dwelling. In determining whether a product is a consumer product, 289 | doubtful cases shall be resolved in favor of coverage. For a particular 290 | product received by a particular user, "normally used" refers to a 291 | typical or common use of that class of product, regardless of the status 292 | of the particular user or of the way in which the particular user 293 | actually uses, or expects or is expected to use, the product. A product 294 | is a consumer product regardless of whether the product has substantial 295 | commercial, industrial or non-consumer uses, unless such uses represent 296 | the only significant mode of use of the product. 297 | 298 | "Installation Information" for a User Product means any methods, 299 | procedures, authorization keys, or other information required to install 300 | and execute modified versions of a covered work in that User Product from 301 | a modified version of its Corresponding Source. The information must 302 | suffice to ensure that the continued functioning of the modified object 303 | code is in no case prevented or interfered with solely because 304 | modification has been made. 305 | 306 | If you convey an object code work under this section in, or with, or 307 | specifically for use in, a User Product, and the conveying occurs as 308 | part of a transaction in which the right of possession and use of the 309 | User Product is transferred to the recipient in perpetuity or for a 310 | fixed term (regardless of how the transaction is characterized), the 311 | Corresponding Source conveyed under this section must be accompanied 312 | by the Installation Information. But this requirement does not apply 313 | if neither you nor any third party retains the ability to install 314 | modified object code on the User Product (for example, the work has 315 | been installed in ROM). 316 | 317 | The requirement to provide Installation Information does not include a 318 | requirement to continue to provide support service, warranty, or updates 319 | for a work that has been modified or installed by the recipient, or for 320 | the User Product in which it has been modified or installed. Access to a 321 | network may be denied when the modification itself materially and 322 | adversely affects the operation of the network or violates the rules and 323 | protocols for communication across the network. 324 | 325 | Corresponding Source conveyed, and Installation Information provided, 326 | in accord with this section must be in a format that is publicly 327 | documented (and with an implementation available to the public in 328 | source code form), and must require no special password or key for 329 | unpacking, reading or copying. 330 | 331 | 7. Additional Terms. 332 | 333 | "Additional permissions" are terms that supplement the terms of this 334 | License by making exceptions from one or more of its conditions. 335 | Additional permissions that are applicable to the entire Program shall 336 | be treated as though they were included in this License, to the extent 337 | that they are valid under applicable law. If additional permissions 338 | apply only to part of the Program, that part may be used separately 339 | under those permissions, but the entire Program remains governed by 340 | this License without regard to the additional permissions. 341 | 342 | When you convey a copy of a covered work, you may at your option 343 | remove any additional permissions from that copy, or from any part of 344 | it. (Additional permissions may be written to require their own 345 | removal in certain cases when you modify the work.) You may place 346 | additional permissions on material, added by you to a covered work, 347 | for which you have or can give appropriate copyright permission. 348 | 349 | Notwithstanding any other provision of this License, for material you 350 | add to a covered work, you may (if authorized by the copyright holders of 351 | that material) supplement the terms of this License with terms: 352 | 353 | a) Disclaiming warranty or limiting liability differently from the 354 | terms of sections 15 and 16 of this License; or 355 | 356 | b) Requiring preservation of specified reasonable legal notices or 357 | author attributions in that material or in the Appropriate Legal 358 | Notices displayed by works containing it; or 359 | 360 | c) Prohibiting misrepresentation of the origin of that material, or 361 | requiring that modified versions of such material be marked in 362 | reasonable ways as different from the original version; or 363 | 364 | d) Limiting the use for publicity purposes of names of licensors or 365 | authors of the material; or 366 | 367 | e) Declining to grant rights under trademark law for use of some 368 | trade names, trademarks, or service marks; or 369 | 370 | f) Requiring indemnification of licensors and authors of that 371 | material by anyone who conveys the material (or modified versions of 372 | it) with contractual assumptions of liability to the recipient, for 373 | any liability that these contractual assumptions directly impose on 374 | those licensors and authors. 375 | 376 | All other non-permissive additional terms are considered "further 377 | restrictions" within the meaning of section 10. If the Program as you 378 | received it, or any part of it, contains a notice stating that it is 379 | governed by this License along with a term that is a further 380 | restriction, you may remove that term. If a license document contains 381 | a further restriction but permits relicensing or conveying under this 382 | License, you may add to a covered work material governed by the terms 383 | of that license document, provided that the further restriction does 384 | not survive such relicensing or conveying. 385 | 386 | If you add terms to a covered work in accord with this section, you 387 | must place, in the relevant source files, a statement of the 388 | additional terms that apply to those files, or a notice indicating 389 | where to find the applicable terms. 390 | 391 | Additional terms, permissive or non-permissive, may be stated in the 392 | form of a separately written license, or stated as exceptions; 393 | the above requirements apply either way. 394 | 395 | 8. Termination. 396 | 397 | You may not propagate or modify a covered work except as expressly 398 | provided under this License. Any attempt otherwise to propagate or 399 | modify it is void, and will automatically terminate your rights under 400 | this License (including any patent licenses granted under the third 401 | paragraph of section 11). 402 | 403 | However, if you cease all violation of this License, then your 404 | license from a particular copyright holder is reinstated (a) 405 | provisionally, unless and until the copyright holder explicitly and 406 | finally terminates your license, and (b) permanently, if the copyright 407 | holder fails to notify you of the violation by some reasonable means 408 | prior to 60 days after the cessation. 409 | 410 | Moreover, your license from a particular copyright holder is 411 | reinstated permanently if the copyright holder notifies you of the 412 | violation by some reasonable means, this is the first time you have 413 | received notice of violation of this License (for any work) from that 414 | copyright holder, and you cure the violation prior to 30 days after 415 | your receipt of the notice. 416 | 417 | Termination of your rights under this section does not terminate the 418 | licenses of parties who have received copies or rights from you under 419 | this License. If your rights have been terminated and not permanently 420 | reinstated, you do not qualify to receive new licenses for the same 421 | material under section 10. 422 | 423 | 9. Acceptance Not Required for Having Copies. 424 | 425 | You are not required to accept this License in order to receive or 426 | run a copy of the Program. Ancillary propagation of a covered work 427 | occurring solely as a consequence of using peer-to-peer transmission 428 | to receive a copy likewise does not require acceptance. However, 429 | nothing other than this License grants you permission to propagate or 430 | modify any covered work. These actions infringe copyright if you do 431 | not accept this License. Therefore, by modifying or propagating a 432 | covered work, you indicate your acceptance of this License to do so. 433 | 434 | 10. Automatic Licensing of Downstream Recipients. 435 | 436 | Each time you convey a covered work, the recipient automatically 437 | receives a license from the original licensors, to run, modify and 438 | propagate that work, subject to this License. You are not responsible 439 | for enforcing compliance by third parties with this License. 440 | 441 | An "entity transaction" is a transaction transferring control of an 442 | organization, or substantially all assets of one, or subdividing an 443 | organization, or merging organizations. If propagation of a covered 444 | work results from an entity transaction, each party to that 445 | transaction who receives a copy of the work also receives whatever 446 | licenses to the work the party's predecessor in interest had or could 447 | give under the previous paragraph, plus a right to possession of the 448 | Corresponding Source of the work from the predecessor in interest, if 449 | the predecessor has it or can get it with reasonable efforts. 450 | 451 | You may not impose any further restrictions on the exercise of the 452 | rights granted or affirmed under this License. For example, you may 453 | not impose a license fee, royalty, or other charge for exercise of 454 | rights granted under this License, and you may not initiate litigation 455 | (including a cross-claim or counterclaim in a lawsuit) alleging that 456 | any patent claim is infringed by making, using, selling, offering for 457 | sale, or importing the Program or any portion of it. 458 | 459 | 11. Patents. 460 | 461 | A "contributor" is a copyright holder who authorizes use under this 462 | License of the Program or a work on which the Program is based. The 463 | work thus licensed is called the contributor's "contributor version". 464 | 465 | A contributor's "essential patent claims" are all patent claims 466 | owned or controlled by the contributor, whether already acquired or 467 | hereafter acquired, that would be infringed by some manner, permitted 468 | by this License, of making, using, or selling its contributor version, 469 | but do not include claims that would be infringed only as a 470 | consequence of further modification of the contributor version. For 471 | purposes of this definition, "control" includes the right to grant 472 | patent sublicenses in a manner consistent with the requirements of 473 | this License. 474 | 475 | Each contributor grants you a non-exclusive, worldwide, royalty-free 476 | patent license under the contributor's essential patent claims, to 477 | make, use, sell, offer for sale, import and otherwise run, modify and 478 | propagate the contents of its contributor version. 479 | 480 | In the following three paragraphs, a "patent license" is any express 481 | agreement or commitment, however denominated, not to enforce a patent 482 | (such as an express permission to practice a patent or covenant not to 483 | sue for patent infringement). To "grant" such a patent license to a 484 | party means to make such an agreement or commitment not to enforce a 485 | patent against the party. 486 | 487 | If you convey a covered work, knowingly relying on a patent license, 488 | and the Corresponding Source of the work is not available for anyone 489 | to copy, free of charge and under the terms of this License, through a 490 | publicly available network server or other readily accessible means, 491 | then you must either (1) cause the Corresponding Source to be so 492 | available, or (2) arrange to deprive yourself of the benefit of the 493 | patent license for this particular work, or (3) arrange, in a manner 494 | consistent with the requirements of this License, to extend the patent 495 | license to downstream recipients. "Knowingly relying" means you have 496 | actual knowledge that, but for the patent license, your conveying the 497 | covered work in a country, or your recipient's use of the covered work 498 | in a country, would infringe one or more identifiable patents in that 499 | country that you have reason to believe are valid. 500 | 501 | If, pursuant to or in connection with a single transaction or 502 | arrangement, you convey, or propagate by procuring conveyance of, a 503 | covered work, and grant a patent license to some of the parties 504 | receiving the covered work authorizing them to use, propagate, modify 505 | or convey a specific copy of the covered work, then the patent license 506 | you grant is automatically extended to all recipients of the covered 507 | work and works based on it. 508 | 509 | A patent license is "discriminatory" if it does not include within 510 | the scope of its coverage, prohibits the exercise of, or is 511 | conditioned on the non-exercise of one or more of the rights that are 512 | specifically granted under this License. You may not convey a covered 513 | work if you are a party to an arrangement with a third party that is 514 | in the business of distributing software, under which you make payment 515 | to the third party based on the extent of your activity of conveying 516 | the work, and under which the third party grants, to any of the 517 | parties who would receive the covered work from you, a discriminatory 518 | patent license (a) in connection with copies of the covered work 519 | conveyed by you (or copies made from those copies), or (b) primarily 520 | for and in connection with specific products or compilations that 521 | contain the covered work, unless you entered into that arrangement, 522 | or that patent license was granted, prior to 28 March 2007. 523 | 524 | Nothing in this License shall be construed as excluding or limiting 525 | any implied license or other defenses to infringement that may 526 | otherwise be available to you under applicable patent law. 527 | 528 | 12. No Surrender of Others' Freedom. 529 | 530 | If conditions are imposed on you (whether by court order, agreement or 531 | otherwise) that contradict the conditions of this License, they do not 532 | excuse you from the conditions of this License. If you cannot convey a 533 | covered work so as to satisfy simultaneously your obligations under this 534 | License and any other pertinent obligations, then as a consequence you may 535 | not convey it at all. For example, if you agree to terms that obligate you 536 | to collect a royalty for further conveying from those to whom you convey 537 | the Program, the only way you could satisfy both those terms and this 538 | License would be to refrain entirely from conveying the Program. 539 | 540 | 13. Remote Network Interaction; Use with the GNU General Public License. 541 | 542 | Notwithstanding any other provision of this License, if you modify the 543 | Program, your modified version must prominently offer all users 544 | interacting with it remotely through a computer network (if your version 545 | supports such interaction) an opportunity to receive the Corresponding 546 | Source of your version by providing access to the Corresponding Source 547 | from a network server at no charge, through some standard or customary 548 | means of facilitating copying of software. This Corresponding Source 549 | shall include the Corresponding Source for any work covered by version 3 550 | of the GNU General Public License that is incorporated pursuant to the 551 | following paragraph. 552 | 553 | Notwithstanding any other provision of this License, you have 554 | permission to link or combine any covered work with a work licensed 555 | under version 3 of the GNU General Public License into a single 556 | combined work, and to convey the resulting work. The terms of this 557 | License will continue to apply to the part which is the covered work, 558 | but the work with which it is combined will remain governed by version 559 | 3 of the GNU General Public License. 560 | 561 | 14. Revised Versions of this License. 562 | 563 | The Free Software Foundation may publish revised and/or new versions of 564 | the GNU Affero General Public License from time to time. Such new versions 565 | will be similar in spirit to the present version, but may differ in detail to 566 | address new problems or concerns. 567 | 568 | Each version is given a distinguishing version number. If the 569 | Program specifies that a certain numbered version of the GNU Affero General 570 | Public License "or any later version" applies to it, you have the 571 | option of following the terms and conditions either of that numbered 572 | version or of any later version published by the Free Software 573 | Foundation. If the Program does not specify a version number of the 574 | GNU Affero General Public License, you may choose any version ever published 575 | by the Free Software Foundation. 576 | 577 | If the Program specifies that a proxy can decide which future 578 | versions of the GNU Affero General Public License can be used, that proxy's 579 | public statement of acceptance of a version permanently authorizes you 580 | to choose that version for the Program. 581 | 582 | Later license versions may give you additional or different 583 | permissions. However, no additional obligations are imposed on any 584 | author or copyright holder as a result of your choosing to follow a 585 | later version. 586 | 587 | 15. Disclaimer of Warranty. 588 | 589 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 590 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 591 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 592 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 593 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 594 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 595 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 596 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 597 | 598 | 16. Limitation of Liability. 599 | 600 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 601 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 602 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 603 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 604 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 605 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 606 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 607 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 608 | SUCH DAMAGES. 609 | 610 | 17. Interpretation of Sections 15 and 16. 611 | 612 | If the disclaimer of warranty and limitation of liability provided 613 | above cannot be given local legal effect according to their terms, 614 | reviewing courts shall apply local law that most closely approximates 615 | an absolute waiver of all civil liability in connection with the 616 | Program, unless a warranty or assumption of liability accompanies a 617 | copy of the Program in return for a fee. 618 | 619 | END OF TERMS AND CONDITIONS 620 | 621 | How to Apply These Terms to Your New Programs 622 | 623 | If you develop a new program, and you want it to be of the greatest 624 | possible use to the public, the best way to achieve this is to make it 625 | free software which everyone can redistribute and change under these terms. 626 | 627 | To do so, attach the following notices to the program. It is safest 628 | to attach them to the start of each source file to most effectively 629 | state the exclusion of warranty; and each file should have at least 630 | the "copyright" line and a pointer to where the full notice is found. 631 | 632 | 633 | Copyright (C) 634 | 635 | This program is free software: you can redistribute it and/or modify 636 | it under the terms of the GNU Affero General Public License as published by 637 | the Free Software Foundation, either version 3 of the License, or 638 | (at your option) any later version. 639 | 640 | This program is distributed in the hope that it will be useful, 641 | but WITHOUT ANY WARRANTY; without even the implied warranty of 642 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 643 | GNU Affero General Public License for more details. 644 | 645 | You should have received a copy of the GNU Affero General Public License 646 | along with this program. If not, see . 647 | 648 | Also add information on how to contact you by electronic and paper mail. 649 | 650 | If your software can interact with users remotely through a computer 651 | network, you should also make sure that it provides a way for users to 652 | get its source. For example, if your program is a web application, its 653 | interface could display a "Source" link that leads users to an archive 654 | of the code. There are many ways you could offer source, and different 655 | solutions will be better for different programs; see section 13 for the 656 | specific requirements. 657 | 658 | You should also get your employer (if you work as a programmer) or school, 659 | if any, to sign a "copyright disclaimer" for the program, if necessary. 660 | For more information on this, and how to apply and follow the GNU AGPL, see 661 | . 662 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
2 |

3 | 4 | 5 |

6 | 7 | [中文](https://docs.ultralytics.com/zh/hub/) | [한국어](https://docs.ultralytics.com/ko/hub/) | [日本語](https://docs.ultralytics.com/ja/hub/) | [Русский](https://docs.ultralytics.com/ru/hub/) | [Deutsch](https://docs.ultralytics.com/de/hub/) | [Français](https://docs.ultralytics.com/fr/hub/) | [Español](https://docs.ultralytics.com/es/hub/) | [Português](https://docs.ultralytics.com/pt/hub/) | [Türkçe](https://docs.ultralytics.com/tr/hub/) | [Tiếng Việt](https://docs.ultralytics.com/vi/hub/) | [العربية](https://docs.ultralytics.com/ar/hub/) 8 | 9 | [![Ultralytics Actions](https://github.com/ultralytics/hub/actions/workflows/ci.yml/badge.svg)](https://github.com/ultralytics/hub/actions/workflows/ci.yml) 10 | [![Ultralytics Discord](https://img.shields.io/discord/1089800235347353640?logo=discord&logoColor=white&label=Discord&color=blue)](https://discord.com/invite/ultralytics) 11 | [![Ultralytics Forums](https://img.shields.io/discourse/users?server=https%3A%2F%2Fcommunity.ultralytics.com&logo=discourse&label=Forums&color=blue)](https://community.ultralytics.com/) 12 | [![Ultralytics Reddit](https://img.shields.io/reddit/subreddit-subscribers/ultralytics?style=flat&logo=reddit&logoColor=white&label=Reddit&color=blue)](https://reddit.com/r/ultralytics) 13 | Open In Colab 14 | 15 | 👋 Welcome from the [Ultralytics](https://www.ultralytics.com/) Team! We're excited to introduce [Ultralytics HUB](https://www.ultralytics.com/hub), your all-in-one platform for training, deploying, and managing [Ultralytics YOLO](https://www.ultralytics.com/yolo) models—including [YOLO11](https://docs.ultralytics.com/models/yolo11/), [YOLOv8](https://docs.ultralytics.com/models/yolov8/), [YOLOv5](https://docs.ultralytics.com/models/yolov5/), and more—from a single, intuitive interface. 🚀 16 | 17 | Explore the [Ultralytics HUB documentation](https://docs.ultralytics.com/hub/) for comprehensive guides, open [GitHub Issues](https://github.com/ultralytics/hub/issues/new/choose) for support, and join our [Discord community](https://discord.com/invite/ultralytics) for discussions and collaboration! 18 | 19 |
20 |
21 | Ultralytics GitHub 22 | 23 | Ultralytics LinkedIn 24 | 25 | Ultralytics Twitter 26 | 27 | Ultralytics YouTube 28 | 29 | Ultralytics TikTok 30 | 31 | Ultralytics BiliBili 32 | 33 | Ultralytics Discord 34 |
35 |
36 | 37 | ## 🗂️ Upload a Dataset 38 | 39 | Ultralytics HUB datasets follow the same structure and labeling conventions as [YOLO11](https://docs.ultralytics.com/models/yolo11/), [YOLOv8](https://docs.ultralytics.com/models/yolov8/), and [YOLOv5](https://docs.ultralytics.com/models/yolov5/), ensuring seamless compatibility for [object detection](https://docs.ultralytics.com/tasks/detect/), [instance segmentation](https://docs.ultralytics.com/tasks/segment/), and [image classification](https://docs.ultralytics.com/tasks/classify/) projects. 40 | 41 | - Review dataset best practices in the [Ultralytics datasets documentation](https://docs.ultralytics.com/datasets/). 42 | - Learn about dataset annotation and preparation in the [data collection and annotation guide](https://docs.ultralytics.com/guides/data-collection-and-annotation/). 43 | - Explore open-source datasets such as [COCO](https://docs.ultralytics.com/datasets/detect/coco/), [LVIS](https://docs.ultralytics.com/datasets/detect/lvis/), and [ImageNet](https://docs.ultralytics.com/datasets/classify/imagenet/). 44 | 45 | ### Dataset Preparation 46 | 47 | Place your dataset YAML file in the root directory of your dataset. The YAML file, its directory, and the zipped archive should all share the same name for easy upload to [Ultralytics HUB](https://www.ultralytics.com/hub). For example, for a dataset called `coco8`, your structure should look like: 48 | 49 | - `coco8/` 50 | - `coco8.yaml` 51 | - `images/` 52 | - `labels/` 53 | - `coco8.zip` (the zipped directory for upload) 54 | 55 | You can zip your dataset using: 56 | 57 | ```bash 58 | # Zip the dataset directory for upload 59 | zip -r coco8.zip coco8 60 | ``` 61 | 62 | See [example_datasets/coco8.zip](./example_datasets/coco8.zip) for a working example. For more on dataset formats, visit the [Ultralytics datasets documentation](https://docs.ultralytics.com/datasets/). 63 | 64 |

65 | 66 |

67 | 68 | ### YAML Specifications 69 | 70 | The dataset YAML should follow the [YOLO dataset format](https://docs.ultralytics.com/guides/model-training-tips/). For detailed instructions, see the [model training tips guide](https://docs.ultralytics.com/guides/model-training-tips/). 71 | 72 | ```yaml 73 | # Example YAML configuration for a custom dataset 74 | path: ../datasets/coco8 # dataset root directory (relative or absolute) 75 | train: images/train # training images (relative to 'path') 76 | val: images/val # validation images (relative to 'path') 77 | test: # test images (optional) 78 | 79 | # Class labels 80 | names: 81 | 0: person 82 | 1: bicycle 83 | 2: car 84 | 3: motorcycle 85 | # Add more classes as needed 86 | ``` 87 | 88 | Upload your zipped dataset to [Ultralytics HUB](https://www.ultralytics.com/hub) by logging in, navigating to the [Datasets tab](https://docs.ultralytics.com/hub/datasets/), and selecting 'Upload Dataset'. You can preview and scan your dataset before training your YOLO models. 89 | 90 |

91 | Ultralytics HUB Dataset Upload Interface 92 |

93 | 94 | ## 🚀 Train a Model 95 | 96 | Connect to the Ultralytics HUB notebook and use your API key to start [training your models](https://docs.ultralytics.com/modes/train/)! Ultralytics HUB provides [cloud training](https://docs.ultralytics.com/hub/cloud-training/) for fast, scalable model development—no local GPU required. 97 | 98 | - Discover [model training tips](https://docs.ultralytics.com/guides/model-training-tips/) for best practices. 99 | - Learn about [hyperparameter tuning](https://docs.ultralytics.com/guides/hyperparameter-tuning/) to optimize your results. 100 | - Explore [experiment tracking integrations](https://docs.ultralytics.com/integrations/mlflow/) for reproducible research. 101 | 102 | 103 | Open In Colab 104 | 105 | 106 | ## 🌐 Deploy to the Real World 107 | 108 | After training, deploy your models to production using the [Export mode](https://docs.ultralytics.com/modes/export/). Ultralytics HUB supports 13+ export formats, including [TensorFlow](https://www.tensorflow.org/), [ONNX](https://onnx.ai/), [OpenVINO](https://docs.openvino.ai/latest/index.html), [CoreML](https://developer.apple.com/documentation/coreml), [PaddlePaddle](https://www.paddlepaddle.org.cn/en), and more. 109 | 110 | - Learn about [model deployment options](https://docs.ultralytics.com/guides/model-deployment-options/) for edge and cloud. 111 | - Explore [optimizing OpenVINO latency vs throughput](https://docs.ultralytics.com/guides/optimizing-openvino-latency-vs-throughput-modes/) for real-time inference. 112 | - Run your models on [iOS](https://apps.apple.com/app/ultralytics/id1583935240) or [Android](https://play.google.com/store/apps/details?id=com.ultralytics.ultralytics_app) devices with the [Ultralytics App](https://www.ultralytics.com/app-install). 113 | 114 | ## ❓ Have Issues or Questions? 115 | 116 | If you're new to [Ultralytics HUB](https://www.ultralytics.com/hub), the [GitHub Issues](https://github.com/ultralytics/hub/issues) tab is your go-to resource for support and bug reporting. Click 'New Issue' to share your questions, feedback, or report problems. Our team is dedicated to providing solutions and continuously improving your experience! 😃 117 | 118 | - Visit the [Ultralytics HUB FAQ](https://docs.ultralytics.com/help/FAQ/) for quick answers. 119 | - Explore the [Ultralytics help center](https://docs.ultralytics.com/help/) for troubleshooting and best practices. 120 | - Join the [Ultralytics Discord community](https://discord.com/invite/ultralytics) for real-time discussions. 121 | 122 | ## 🤝 Contribute 123 | 124 | We welcome and value your contributions! ❤️ See our [Contributing Guide](https://docs.ultralytics.com/help/contributing/) for details on how to get involved. Thank you to all our amazing contributors! 125 | 126 | [![Ultralytics open-source contributors](https://raw.githubusercontent.com/ultralytics/assets/main/im/image-contributors.png)](https://github.com/ultralytics/ultralytics/graphs/contributors) 127 | 128 |
129 |
130 | Ultralytics GitHub 131 | 132 | Ultralytics LinkedIn 133 | 134 | Ultralytics Twitter 135 | 136 | Ultralytics YouTube 137 | 138 | Ultralytics TikTok 139 | 140 | Ultralytics BiliBili 141 | 142 | Ultralytics Discord 143 |
144 | -------------------------------------------------------------------------------- /README.zh-CN.md: -------------------------------------------------------------------------------- 1 |
2 |

3 | 4 | 5 |

6 | 7 | [中文](https://docs.ultralytics.com/zh/hub/) | [한국어](https://docs.ultralytics.com/ko/hub/) | [日本語](https://docs.ultralytics.com/ja/hub/) | [Русский](https://docs.ultralytics.com/ru/hub/) | [Deutsch](https://docs.ultralytics.com/de/hub/) | [Français](https://docs.ultralytics.com/fr/hub/) | [Español](https://docs.ultralytics.com/es/hub/) | [Português](https://docs.ultralytics.com/pt/hub/) | [Türkçe](https://docs.ultralytics.com/tr/hub/) | [Tiếng Việt](https://docs.ultralytics.com/vi/hub/) | [العربية](https://docs.ultralytics.com/ar/hub/) 8 | 9 | [![Ultralytics Actions](https://github.com/ultralytics/hub/actions/workflows/ci.yml/badge.svg)](https://github.com/ultralytics/hub/actions/workflows/ci.yml) 10 | [![Ultralytics Discord](https://img.shields.io/discord/1089800235347353640?logo=discord&logoColor=white&label=Discord&color=blue)](https://discord.com/invite/ultralytics) 11 | [![Ultralytics Forums](https://img.shields.io/discourse/users?server=https%3A%2F%2Fcommunity.ultralytics.com&logo=discourse&label=Forums&color=blue)](https://community.ultralytics.com/) 12 | [![Ultralytics Reddit](https://img.shields.io/reddit/subreddit-subscribers/ultralytics?style=flat&logo=reddit&logoColor=white&label=Reddit&color=blue)](https://reddit.com/r/ultralytics) 13 | Open In Colab 14 | 15 | 👋 来自 [Ultralytics](https://www.ultralytics.com/) 团队的问候!我们一直致力于打造 [Ultralytics HUB](https://www.ultralytics.com/hub),这是一个全新平台,助您在一个中心位置轻松训练和部署所有 [Ultralytics YOLO](https://www.ultralytics.com/yolo) 模型,包括 [YOLOv5](https://docs.ultralytics.com/models/yolov5/)、[YOLOv8](https://docs.ultralytics.com/models/yolov8/) 及未来版本 🚀! 16 | 17 | 我们希望这里的资源能帮助您充分利用 Ultralytics HUB。欢迎查阅 [Ultralytics HUB 文档](https://docs.ultralytics.com/hub/) 了解详细指南,在 [GitHub Issues](https://github.com/ultralytics/hub/issues/new/choose) 提交问题以获得支持,并加入我们的 [Discord 社区](https://discord.com/invite/ultralytics) 参与讨论! 18 | 19 |
20 |
21 | Ultralytics GitHub 22 | 23 | Ultralytics LinkedIn 24 | 25 | Ultralytics Twitter 26 | 27 | Ultralytics YouTube 28 | 29 | Ultralytics TikTok 30 | 31 | Ultralytics BiliBili 32 | 33 | Ultralytics Discord 34 |
35 |
36 | 37 | ## 🗂️ 上传数据集 38 | 39 | Ultralytics HUB 数据集格式与 [YOLOv5](https://github.com/ultralytics/yolov5) 和 [YOLOv8](https://github.com/ultralytics/ultralytics) 完全兼容。它们采用统一的结构和标签规范,确保在 [目标检测](https://docs.ultralytics.com/tasks/detect/)、[分割](https://docs.ultralytics.com/tasks/segment/)、[分类](https://docs.ultralytics.com/tasks/classify/) 等任务中实现无缝体验。 40 | 41 | ### 数据集准备 42 | 43 | 请确保您的数据集根目录下包含描述数据集的 YAML 文件。准备好后,将整个目录压缩为 ZIP 文件,便于上传至 [Ultralytics HUB](https://www.ultralytics.com/hub)。YAML 文件、其所在目录及压缩包需保持同名。 44 | 45 | 例如,若您的数据集名为 'coco8',请参考 [ultralytics/hub/example_datasets/coco8.zip](./example_datasets/coco8.zip) 的结构,在 `coco8/` 目录下放置 `coco8.yaml` 文件。然后使用如下命令将其压缩: 46 | 47 | ```bash 48 | # 压缩数据集目录以便上传 49 | zip -r coco8.zip coco8 50 | ``` 51 | 52 | 建议浏览 [example_datasets/coco8.zip](./example_datasets/coco8.zip) 获取自定义数据集构建的实际案例。更多数据集格式说明,请参阅 [Ultralytics 数据集文档](https://docs.ultralytics.com/datasets/)。 53 | 54 |

55 | 56 |

57 | 58 | ### YAML 规范 59 | 60 | 数据集 YAML 文件遵循 YOLO 格式规范。详细说明请参考 [训练自定义数据指南](https://docs.ultralytics.com/guides/model-training-tips/)。 61 | 62 | ```yaml 63 | # 自定义数据集 YAML 配置示例 64 | path: ../datasets/coco8 # 数据集根目录(相对或绝对路径) 65 | train: images/train # 训练图像(相对 'path')8 张图像 66 | val: images/val # 验证图像(相对 'path')8 张图像 67 | test: # 测试图像(可选) 68 | 69 | # 类别标签 70 | names: 71 | 0: person 72 | 1: bicycle 73 | 2: car 74 | 3: motorcycle 75 | # 可根据需要添加更多类别 76 | ``` 77 | 78 | 登录 [Ultralytics HUB](https://www.ultralytics.com/hub),前往 ['Datasets' 选项卡](https://docs.ultralytics.com/hub/datasets/),点击 'Upload Dataset' 上传您的 ZIP 数据集。上传后,您可在训练 YOLO 模型前预览和检查数据集内容。 79 | 80 |

81 | Ultralytics HUB Dataset Upload Interface 82 |

83 | 84 | ## 🚀 训练模型 85 | 86 | 通过连接 Ultralytics HUB notebook 并使用 API 密钥,即可轻松开启 [模型训练](https://docs.ultralytics.com/modes/train/)。Ultralytics HUB 提供便捷的 [云训练](https://docs.ultralytics.com/hub/cloud-training/) 功能,让您无需本地硬件即可高效训练模型。 87 | 88 | 89 | Open In Colab 90 | 91 | 92 | ## 🌐 部署到现实世界 93 | 94 | 利用 [导出模式](https://docs.ultralytics.com/modes/export/),可将训练好的模型转换为多种格式,包括 [TensorFlow](https://www.tensorflow.org/)、[ONNX](https://onnx.ai/)、[OpenVINO](https://docs.openvino.ai/latest/index.html)、[CoreML](https://developer.apple.com/documentation/coreml)、[PaddlePaddle](https://www.paddlepaddle.org.cn/en) 等(支持 13+ 种格式)。下载 [Ultralytics App](https://www.ultralytics.com/app-install),即可在 [iOS](https://apps.apple.com/app/ultralytics/id1583935240) 或 [Android](https://play.google.com/store/apps/details?id=com.ultralytics.ultralytics_app) 移动设备上直接运行您的模型!探索更多适用于边缘设备和云平台的 [模型部署选项](https://docs.ultralytics.com/guides/model-deployment-options/)。 95 | 96 | ## ❓ 有问题或疑问? 97 | 98 | 如果您在使用 [Ultralytics HUB](https://www.ultralytics.com/hub) 过程中遇到问题,[GitHub Issues](https://github.com/ultralytics/hub/issues) 是获取支持和反馈的首选渠道。点击 'New Issue',提交您的建议、问题或遇到的挑战。我们致力于为您持续优化体验并提供高效解决方案!😃 99 | 100 | ## 贡献 101 | 102 | 我们欢迎您的贡献!❤️ 请参阅 [贡献指南](https://docs.ultralytics.com/help/contributing/) 了解参与方式。感谢所有为 Ultralytics 生态做出贡献的开发者! 103 | 104 | [![Ultralytics open-source contributors](https://raw.githubusercontent.com/ultralytics/assets/main/im/image-contributors.png)](https://github.com/ultralytics/ultralytics/graphs/contributors) 105 | 106 |
107 |
108 | Ultralytics GitHub 109 | 110 | Ultralytics LinkedIn 111 | 112 | Ultralytics Twitter 113 | 114 | Ultralytics YouTube 115 | 116 | Ultralytics TikTok 117 | 118 | Ultralytics BiliBili 119 | 120 | Ultralytics Discord 121 |
122 | -------------------------------------------------------------------------------- /example_datasets/coco8-human.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-human.zip -------------------------------------------------------------------------------- /example_datasets/coco8-human/README.md: -------------------------------------------------------------------------------- 1 | Ultralytics logo 2 | 3 | # Ultralytics coco8-human Dataset 4 | 5 | The **Ultralytics `coco8-human` dataset** is a compact, attribute-rich dataset designed for rapid testing and development within the [Ultralytics YOLO](https://github.com/ultralytics/ultralytics) ecosystem. It consists of 8 carefully selected images from the [COCO 2017 training set](https://cocodataset.org/#home), making it ideal for validating pipelines and experimenting with new features. 6 | 7 | These 8 images are split evenly, with 4 images for training and 4 for validation. Each image is annotated for the **'person'** class, including standard [bounding boxes](https://www.ultralytics.com/glossary/bounding-box) and detailed human attributes: 8 | 9 | - **Weight (kg)** 10 | - **Height (cm)** 11 | - **Gender** (0: female, 1: male) 12 | - **Age (years)** 13 | - **Ethnicity** 14 | (0: Asian, 1: White, 2: Middle Eastern, 3: Indian, 4: Latino, 5: Black) 15 | 16 | Despite its small size, the `coco8-human` dataset provides enough diversity to effectively test [object detection](https://www.ultralytics.com/glossary/object-detection) [training pipelines](https://docs.ultralytics.com/modes/train/) for errors or serve as a quick sanity check before scaling up to larger datasets such as the [full COCO dataset](https://docs.ultralytics.com/datasets/detect/coco/). It is particularly useful for experimenting with models like [Ultralytics YOLO](https://docs.ultralytics.com/models/yolo11/), [YOLOv8](https://docs.ultralytics.com/models/yolov8/), and other [YOLO model versions](https://docs.ultralytics.com/models/). 17 | 18 | This dataset is fully compatible with the Ultralytics framework and integrates seamlessly with [Ultralytics HUB](https://docs.ultralytics.com/hub/), enabling fast prototyping and validation. 19 | 20 | For more information on datasets, model training, and best practices, explore the [Ultralytics documentation](https://docs.ultralytics.com/), learn about [data annotation and collection](https://docs.ultralytics.com/guides/data-collection-and-annotation/), or discover [object detection solutions](https://www.ultralytics.com/solutions/ai-in-automotive). If you're interested in the latest trends in computer vision, check out the [Ultralytics blog](https://www.ultralytics.com/blog/a-guide-to-deep-dive-into-object-detection-in-2025). 21 | 22 | Join the discussion and get support from the community at the [Ultralytics Community Forums](https://community.ultralytics.com/) or connect with other users on [Ultralytics Discord](https://discord.com/invite/ultralytics). 23 | 24 | ## 📚 Resources 25 | 26 | Enhance your experience with COCO8-human and Ultralytics tools using these valuable resources: 27 | 28 | - [Ultralytics HUB Quickstart](https://docs.ultralytics.com/hub/quickstart/): Step-by-step guide to training models on datasets like COCO8 using Ultralytics HUB. 29 | - [Ultralytics Documentation](https://docs.ultralytics.com/): Comprehensive guides on model usage, best practices, and advanced features. 30 | - [COCO Dataset Overview](https://docs.ultralytics.com/datasets/detect/coco/): Learn more about the full COCO dataset and its applications in computer vision. 31 | - [Ultralytics Models](https://docs.ultralytics.com/models/): Explore available YOLO models for object detection, segmentation, and more. 32 | - [Ultralytics HUB GitHub Issues](https://github.com/ultralytics/hub/issues/new/choose): Report bugs, request features, or seek troubleshooting support. 33 | - [Ultralytics Discord Community](https://discord.com/invite/ultralytics): Connect with users, developers, and the Ultralytics team for real-time discussions. 34 | - [Ultralytics Community Forums](https://community.ultralytics.com/): Share your projects, ask questions, and engage with the broader Ultralytics community. 35 | - [Ultralytics YOLO11 Model Page](https://docs.ultralytics.com/models/yolo11/): Details on the latest YOLO model architecture and usage. 36 | - [Ultralytics Tasks Overview](https://docs.ultralytics.com/tasks/): Learn about supported computer vision tasks, including detection, segmentation, and more. 37 | - [Ultralytics Model Training Tips](https://docs.ultralytics.com/guides/model-training-tips/): Best practices for efficient and effective model training. 38 | - [Ultralytics Model Evaluation Insights](https://docs.ultralytics.com/guides/model-evaluation-insights/): Guidance on evaluating model performance and interpreting results. 39 | - [Ultralytics Model Deployment Options](https://docs.ultralytics.com/guides/model-deployment-options/): Explore deployment strategies for your trained models. 40 | - [Ultralytics License Information](https://www.ultralytics.com/license): For commercial use or custom solutions, complete the form to obtain an Enterprise License. 41 | 42 | ## 🚀 Contributions 43 | 44 | We welcome and value contributions from the community! If you'd like to improve the `coco8-human` dataset, suggest new features, or report issues, please visit the [Ultralytics GitHub repository](https://github.com/ultralytics/ultralytics) to submit a pull request or open an issue. Your feedback helps us make Ultralytics tools better for everyone. 45 | 46 | [![Ultralytics open-source contributors](https://raw.githubusercontent.com/ultralytics/assets/main/im/image-contributors.png)](https://github.com/ultralytics/ultralytics/graphs/contributors) 47 | -------------------------------------------------------------------------------- /example_datasets/coco8-human/coco8-human.yaml: -------------------------------------------------------------------------------- 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license 2 | 3 | # Ultralytics coco8-human dataset: 8 images from COCO train2017 annotated with person weight (kg), height (cm), gender (0: female, 1: male), age (years) and ethnicity (0: asian, 1: white, 2: middle eastern, 3: indian, 4: latino, 5: black) 4 | # Documentation: https://docs.ultralytics.com/datasets/human 5 | # Example usage: yolo train data=coco8-human.yaml 6 | # parent 7 | # ├── ultralytics 8 | # └── datasets 9 | # └── coco8-human ← downloads here (1 MB) 10 | 11 | # Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..] 12 | path: # dataset root dir (leave empty for HUB) 13 | train: images/train # train images (relative to 'path') 4 images 14 | val: images/val # val images (relative to 'path') 4 images 15 | test: # test images (optional) 16 | 17 | # Classes 18 | names: 19 | 0: person 20 | 21 | # Download script/URL (optional) 22 | download: 23 | -------------------------------------------------------------------------------- /example_datasets/coco8-human/images/train/000000000113.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-human/images/train/000000000113.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-human/images/train/000000000294.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-human/images/train/000000000294.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-human/images/train/000000000326.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-human/images/train/000000000326.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-human/images/train/000000542449.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-human/images/train/000000542449.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-human/images/val/000000000241.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-human/images/val/000000000241.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-human/images/val/000000000589.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-human/images/val/000000000589.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-human/images/val/000000000897.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-human/images/val/000000000897.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-human/images/val/000000001592.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-human/images/val/000000001592.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-human/labels/train/000000000113.txt: -------------------------------------------------------------------------------- 1 | 0 0.19273999333381653 0.4046249985694885 0.3646630048751831 0.7110620141029358 90 175 1 50 1 2 | 0 0.9103249907493591 0.41346099972724915 0.17935100197792053 0.5128909945487976 85 175 1 50 1 3 | 0 0.5911779999732971 0.37190601229667664 0.47019198536872864 0.6044999957084656 70 165 0 60 1 4 | -------------------------------------------------------------------------------- /example_datasets/coco8-human/labels/train/000000000294.txt: -------------------------------------------------------------------------------- 1 | 0 0.3283669948577881 0.5817679762840271 0.5701720118522644 0.836463987827301 95 175 1 35 1 2 | -------------------------------------------------------------------------------- /example_datasets/coco8-human/labels/train/000000000326.txt: -------------------------------------------------------------------------------- 1 | 0 0.5232890248298645 0.6055390238761902 0.5697969794273376 0.786346971988678 80 175 1 35 1 2 | -------------------------------------------------------------------------------- /example_datasets/coco8-human/labels/train/000000542449.txt: -------------------------------------------------------------------------------- 1 | 0 0.6290289759635925 0.42921900749206543 0.42336100339889526 0.7280939817428589 80 183 1 30 1 2 | 0 0.6847079992294312 0.577422022819519 0.19037599861621857 0.5224369764328003 68 175 1 30 1 3 | 0 0.8997700214385986 0.5686950087547302 0.18054300546646118 0.26351600885391235 95 178 1 45 1 4 | 0 0.11925899982452393 0.5370079874992371 0.23851799964904785 0.40976598858833313 78 183 1 25 1 5 | 0 0.9361900091171265 0.6518909931182861 0.12761999666690826 0.35350000858306885 78 178 1 25 1 6 | 0 0.4725469946861267 0.43805500864982605 0.2916490137577057 0.6874529719352722 78 180 1 28 4 7 | 0 0.16875800490379333 0.4726560115814209 0.2887890040874481 0.7135310173034668 78 183 1 28 1 -------------------------------------------------------------------------------- /example_datasets/coco8-human/labels/val/000000000241.txt: -------------------------------------------------------------------------------- 1 | 0 0.48524001240730286 0.49946099519729614 0.41756299138069153 0.9783909916877747 90 175 1 25 0 2 | 0 0.2172289937734604 0.6837109923362732 0.42845800518989563 0.543828010559082 85 175 1 28 4 3 | 0 0.7276769876480103 0.6119300127029419 0.22322900593280792 0.40179699659347534 60 165 0 30 5 4 | -------------------------------------------------------------------------------- /example_datasets/coco8-human/labels/val/000000000589.txt: -------------------------------------------------------------------------------- 1 | 0 0.6572269797325134 0.5764899849891663 0.22723400592803955 0.3839370012283325 75 175 1 25 1 2 | -------------------------------------------------------------------------------- /example_datasets/coco8-human/labels/val/000000000897.txt: -------------------------------------------------------------------------------- 1 | 0 0.6641950011253357 0.5529509782791138 0.5037660002708435 0.7146139740943909 70 175 1 30 1 2 | -------------------------------------------------------------------------------- /example_datasets/coco8-human/labels/val/000000001592.txt: -------------------------------------------------------------------------------- 1 | 0 0.5819650292396545 0.6450859904289246 0.6578590273857117 0.6047660112380981 60 165 0 30 1 2 | -------------------------------------------------------------------------------- /example_datasets/coco8-pose.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-pose.zip -------------------------------------------------------------------------------- /example_datasets/coco8-pose/README.md: -------------------------------------------------------------------------------- 1 | Ultralytics logo 2 | 3 | # Ultralytics COCO8-pose Dataset 4 | 5 | ## 🌟 Introduction 6 | 7 | Welcome to the Ultralytics COCO8-pose dataset! This compact and versatile dataset is designed for **pose estimation** tasks within the broader field of [computer vision](https://www.ultralytics.com/glossary/computer-vision-cv). It contains the first 8 images from the [COCO train 2017 set](https://cocodataset.org/#home), thoughtfully divided into 4 images for training and 4 for validation. 8 | 9 | COCO8-pose is ideal for quickly testing and debugging [pose estimation](https://www.ultralytics.com/blog/pose-estimation-with-ultralytics-yolov8) models, experimenting with new [machine learning](https://www.ultralytics.com/glossary/machine-learning-ml) or [pose estimation approaches](https://arxiv.org/abs/1812.08008), and verifying the integrity of your [training pipelines](https://docs.ultralytics.com/modes/train/). Its small size (just 8 images) makes it highly manageable, while still providing enough diversity for practical sanity checks before scaling up to larger [datasets](https://docs.ultralytics.com/datasets/). 10 | 11 | This dataset is optimized for use with [Ultralytics HUB](https://hub.ultralytics.com/) and the latest [Ultralytics YOLO](https://docs.ultralytics.com/models/yolo11/) models. Get started quickly by following the [Ultralytics HUB Quickstart guide](https://docs.ultralytics.com/hub/quickstart/). 12 | 13 | ## 🖼️ Sample Images and Annotations 14 | 15 | Below are examples showcasing images from the COCO8-pose dataset, visualized in a training mosaic with their corresponding pose annotations: 16 | 17 | Dataset sample image 18 | 19 | ## 📚 Resources 20 | 21 | Enhance your experience with COCO8-pose and Ultralytics tools using these valuable resources: 22 | 23 | - [Ultralytics HUB Quickstart](https://docs.ultralytics.com/hub/quickstart/): Step-by-step guide to training models on datasets like COCO8 using Ultralytics HUB. 24 | - [Ultralytics Documentation](https://docs.ultralytics.com/): Comprehensive guides on model usage, best practices, and advanced features. 25 | - [COCO Dataset Overview](https://docs.ultralytics.com/datasets/detect/coco/): Learn more about the full COCO dataset and its applications in computer vision. 26 | - [Ultralytics Models](https://docs.ultralytics.com/models/): Explore available YOLO models for object detection, segmentation, and more. 27 | - [Ultralytics HUB GitHub Issues](https://github.com/ultralytics/hub/issues/new/choose): Report bugs, request features, or seek troubleshooting support. 28 | - [Ultralytics Discord Community](https://discord.com/invite/ultralytics): Connect with users, developers, and the Ultralytics team for real-time discussions. 29 | - [Ultralytics Community Forums](https://community.ultralytics.com/): Share your projects, ask questions, and engage with the broader Ultralytics community. 30 | - [Ultralytics YOLO11 Model Page](https://docs.ultralytics.com/models/yolo11/): Details on the latest YOLO model architecture and usage. 31 | - [Ultralytics Tasks Overview](https://docs.ultralytics.com/tasks/): Learn about supported computer vision tasks, including detection, segmentation, and more. 32 | - [Ultralytics Model Training Tips](https://docs.ultralytics.com/guides/model-training-tips/): Best practices for efficient and effective model training. 33 | - [Ultralytics Model Evaluation Insights](https://docs.ultralytics.com/guides/model-evaluation-insights/): Guidance on evaluating model performance and interpreting results. 34 | - [Ultralytics Model Deployment Options](https://docs.ultralytics.com/guides/model-deployment-options/): Explore deployment strategies for your trained models. 35 | - [Ultralytics License Information](https://www.ultralytics.com/license): For commercial use or custom solutions, complete the form to obtain an Enterprise License. 36 | 37 | ## 🤝 Contributing 38 | 39 | Contributions are always welcome! If you'd like to improve this dataset or its documentation, please see our [Contributing Guide](https://docs.ultralytics.com/help/contributing/). Thank you for supporting the Ultralytics open-source community! 40 | 41 | [![Ultralytics open-source contributors](https://raw.githubusercontent.com/ultralytics/assets/main/im/image-contributors.png)](https://github.com/ultralytics/ultralytics/graphs/contributors) 42 | -------------------------------------------------------------------------------- /example_datasets/coco8-pose/coco8-pose.yaml: -------------------------------------------------------------------------------- 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license 2 | 3 | # COCO8-pose dataset (first 8 images from COCO train2017) by Ultralytics for HUB https://hub.ultralytics.com 4 | # Example usage: yolo train data=coco8-pose.yaml 5 | # parent 6 | # ├── ultralytics 7 | # └── datasets 8 | # └── coco8-pose ← downloads here (1 MB) 9 | 10 | # Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..] 11 | path: # dataset root dir (leave empty for HUB) 12 | train: images/train # train images (relative to 'path') 4 images 13 | val: images/val # val images (relative to 'path') 4 images 14 | test: # test images (optional) 15 | 16 | # Keypoints 17 | kpt_shape: [17, 3] # number of keypoints, number of dims (2 for x,y or 3 for x,y,visible) 18 | flip_idx: [0, 2, 1, 4, 3, 6, 5, 8, 7, 10, 9, 12, 11, 14, 13, 16, 15] 19 | 20 | # Classes 21 | names: 22 | 0: person 23 | 24 | # Download script/URL (optional) 25 | download: 26 | -------------------------------------------------------------------------------- /example_datasets/coco8-pose/images/train/000000000036.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-pose/images/train/000000000036.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-pose/images/train/000000000049.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-pose/images/train/000000000049.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-pose/images/train/000000000077.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-pose/images/train/000000000077.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-pose/images/train/000000000086.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-pose/images/train/000000000086.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-pose/images/val/000000000110.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-pose/images/val/000000000110.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-pose/images/val/000000000113.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-pose/images/val/000000000113.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-pose/images/val/000000000136.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-pose/images/val/000000000136.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-pose/images/val/000000000151.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-pose/images/val/000000000151.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-pose/labels/train/000000000036.txt: -------------------------------------------------------------------------------- 1 | 0 0.671279 0.617945 0.645759 0.726859 0.519751 0.381250 2.000000 0.550936 0.348438 2.000000 0.488565 0.367188 2.000000 0.642412 0.354687 2.000000 0.488565 0.395313 2.000000 0.738046 0.526563 2.000000 0.446985 0.534375 2.000000 0.846154 0.771875 2.000000 0.442827 0.812500 2.000000 0.925156 0.964063 2.000000 0.507277 0.698438 2.000000 0.702703 0.942187 2.000000 0.555094 0.950000 2.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 2 | -------------------------------------------------------------------------------- /example_datasets/coco8-pose/labels/train/000000000049.txt: -------------------------------------------------------------------------------- 1 | 0 0.620039 0.593900 0.172415 0.146080 0.658793 0.552000 2.000000 0.664042 0.550000 2.000000 0.656168 0.548000 2.000000 0.679790 0.554000 2.000000 0.000000 0.000000 0.000000 0.679790 0.570000 2.000000 0.648294 0.568000 2.000000 0.674541 0.588000 2.000000 0.606299 0.582000 2.000000 0.627297 0.562000 2.000000 0.603675 0.564000 2.000000 0.627297 0.616000 2.000000 0.000000 0.000000 0.000000 0.595801 0.604000 2.000000 0.000000 0.000000 0.000000 0.569554 0.644000 2.000000 0.000000 0.000000 0.000000 2 | 0 0.385525 0.585570 0.149370 0.125860 0.414698 0.540000 1.000000 0.419948 0.538000 2.000000 0.412073 0.538000 1.000000 0.438320 0.540000 2.000000 0.000000 0.000000 0.000000 0.435696 0.558000 2.000000 0.417323 0.554000 2.000000 0.396325 0.574000 2.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.414698 0.608000 2.000000 0.398950 0.604000 2.000000 0.372703 0.592000 2.000000 0.000000 0.000000 0.000000 0.346457 0.638000 2.000000 0.000000 0.000000 0.000000 3 | -------------------------------------------------------------------------------- /example_datasets/coco8-pose/labels/train/000000000077.txt: -------------------------------------------------------------------------------- 1 | 0 0.535530 0.308733 0.206900 0.317147 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.514000 0.194667 2.000000 0.534000 0.213333 2.000000 0.482000 0.224000 2.000000 0.526000 0.229333 2.000000 0.462000 0.186667 2.000000 0.568000 0.210667 2.000000 0.446000 0.165333 2.000000 0.610000 0.184000 2.000000 0.462000 0.336000 2.000000 0.498000 0.341333 2.000000 0.462000 0.368000 2.000000 0.536000 0.290667 2.000000 0.460000 0.453333 2.000000 0.508000 0.376000 2.000000 2 | 0 0.736090 0.272987 0.189260 0.259413 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.762000 0.184000 2.000000 0.000000 0.000000 0.000000 0.754000 0.178667 2.000000 0.710000 0.176000 2.000000 0.730000 0.178667 2.000000 0.674000 0.189333 2.000000 0.780000 0.202667 2.000000 0.652000 0.218667 2.000000 0.806000 0.205333 2.000000 0.660000 0.245333 2.000000 0.680000 0.250667 2.000000 0.708000 0.304000 2.000000 0.736000 0.293333 2.000000 0.722000 0.365333 2.000000 0.714000 0.373333 2.000000 3 | 0 0.146660 0.667293 0.194000 0.441093 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.180000 0.498667 2.000000 0.144000 0.549333 2.000000 0.198000 0.541333 2.000000 0.124000 0.648000 2.000000 0.000000 0.000000 0.000000 0.092000 0.720000 2.000000 0.000000 0.000000 0.000000 0.172000 0.704000 2.000000 0.222000 0.701333 2.000000 0.102000 0.746667 2.000000 0.162000 0.754667 2.000000 0.130000 0.856000 2.000000 0.170000 0.829333 2.000000 4 | -------------------------------------------------------------------------------- /example_datasets/coco8-pose/labels/train/000000000086.txt: -------------------------------------------------------------------------------- 1 | 0 0.423213 0.579820 0.252246 0.587453 0.455078 0.310937 2.000000 0.462891 0.298438 2.000000 0.435547 0.298438 2.000000 0.000000 0.000000 0.000000 0.406250 0.290625 2.000000 0.498047 0.351562 2.000000 0.363281 0.354687 2.000000 0.515625 0.440625 2.000000 0.310547 0.454688 2.000000 0.484375 0.446875 2.000000 0.386719 0.446875 2.000000 0.482422 0.537500 2.000000 0.414062 0.537500 2.000000 0.556641 0.626563 1.000000 0.425781 0.628125 2.000000 0.482422 0.757812 1.000000 0.398438 0.795312 2.000000 2 | -------------------------------------------------------------------------------- /example_datasets/coco8-pose/labels/val/000000000110.txt: -------------------------------------------------------------------------------- 1 | 0 0.662641 0.494385 0.674719 0.988771 0.717187 0.189583 2.000000 0.798438 0.127083 2.000000 0.701562 0.091667 2.000000 0.921875 0.118750 2.000000 0.000000 0.000000 0.000000 0.971875 0.379167 2.000000 0.554688 0.262500 2.000000 0.000000 0.000000 0.000000 0.367188 0.427083 2.000000 0.767188 0.772917 2.000000 0.421875 0.500000 2.000000 0.829688 0.960417 1.000000 0.517188 0.881250 1.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 2 | 0 0.198031 0.560677 0.392687 0.586521 0.104688 0.522917 2.000000 0.142187 0.481250 2.000000 0.084375 0.468750 2.000000 0.250000 0.497917 2.000000 0.000000 0.000000 0.000000 0.301563 0.633333 2.000000 0.048438 0.635417 2.000000 0.365625 0.833333 1.000000 0.015625 0.858333 1.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 3 | 0 0.487922 0.144948 0.200563 0.285396 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.437500 0.145833 2.000000 0.562500 0.108333 2.000000 0.414062 0.287500 1.000000 0.593750 0.225000 1.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.464062 0.400000 1.000000 0.551562 0.395833 1.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 4 | 0 0.360898 0.098250 0.106328 0.196500 0.418750 0.041667 1.000000 0.423438 0.027083 1.000000 0.401562 0.031250 2.000000 0.000000 0.000000 0.000000 0.384375 0.045833 2.000000 0.000000 0.000000 0.000000 0.368750 0.091667 2.000000 0.000000 0.000000 0.000000 0.326562 0.177083 2.000000 0.000000 0.000000 0.000000 0.373437 0.108333 2.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 5 | 0 0.283820 0.093937 0.126391 0.178792 0.264062 0.097917 2.000000 0.273438 0.083333 2.000000 0.254688 0.085417 2.000000 0.296875 0.064583 2.000000 0.000000 0.000000 0.000000 0.335938 0.110417 2.000000 0.257812 0.122917 2.000000 0.331250 0.208333 1.000000 0.237500 0.202083 1.000000 0.304688 0.127083 2.000000 0.239063 0.127083 2.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 6 | 0 0.101781 0.181698 0.203563 0.363396 0.171875 0.095833 2.000000 0.000000 0.000000 0.000000 0.162500 0.089583 2.000000 0.000000 0.000000 0.000000 0.139063 0.104167 2.000000 0.004687 0.158333 2.000000 0.112500 0.185417 2.000000 0.000000 0.000000 0.000000 0.167187 0.312500 1.000000 0.000000 0.000000 0.000000 0.178125 0.189583 2.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 7 | 0 0.662703 0.090156 0.054250 0.175229 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.651563 0.033333 2.000000 0.684375 0.033333 2.000000 0.629687 0.070833 1.000000 0.692187 0.081250 1.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.634375 0.206250 1.000000 0.681250 0.208333 1.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 8 | 0 0.586672 0.097323 0.124219 0.194646 0.545312 0.018750 2.000000 0.556250 0.002083 2.000000 0.535937 0.002083 2.000000 0.589063 0.006250 2.000000 0.000000 0.000000 0.000000 0.618750 0.058333 2.000000 0.526563 0.075000 1.000000 0.612500 0.179167 2.000000 0.000000 0.000000 0.000000 0.537500 0.181250 1.000000 0.000000 0.000000 0.000000 0.600000 0.275000 1.000000 0.531250 0.283333 1.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 9 | -------------------------------------------------------------------------------- /example_datasets/coco8-pose/labels/val/000000000113.txt: -------------------------------------------------------------------------------- 1 | 0 0.192740 0.404625 0.364663 0.711062 0.276442 0.171875 2.000000 0.305288 0.151562 2.000000 0.242788 0.154688 2.000000 0.000000 0.000000 0.000000 0.185096 0.150000 2.000000 0.322115 0.237500 2.000000 0.112981 0.254688 2.000000 0.442308 0.403125 1.000000 0.045673 0.406250 2.000000 0.569712 0.454688 1.000000 0.115385 0.553125 2.000000 0.329327 0.510938 2.000000 0.177885 0.529687 2.000000 0.300481 0.714063 1.000000 0.156250 0.729688 1.000000 0.334135 0.895312 1.000000 0.151442 0.910937 1.000000 2 | 0 0.910325 0.413461 0.179351 0.512891 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.959135 0.203125 2.000000 0.000000 0.000000 0.000000 0.980769 0.329688 2.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.923077 0.367188 2.000000 0.980769 0.554688 2.000000 0.899038 0.567187 2.000000 0.954327 0.698438 1.000000 0.836538 0.700000 1.000000 3 | 0 0.591178 0.371906 0.470192 0.604500 0.567308 0.198437 2.000000 0.598558 0.178125 2.000000 0.536058 0.179688 2.000000 0.629808 0.185938 2.000000 0.495192 0.192188 2.000000 0.704327 0.303125 2.000000 0.437500 0.306250 2.000000 0.735577 0.443750 2.000000 0.427885 0.456250 2.000000 0.680288 0.560937 2.000000 0.545673 0.506250 2.000000 0.665865 0.582812 2.000000 0.454327 0.587500 2.000000 0.632212 0.810937 1.000000 0.487981 0.814063 1.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 4 | -------------------------------------------------------------------------------- /example_datasets/coco8-pose/labels/val/000000000136.txt: -------------------------------------------------------------------------------- 1 | 0 0.055220 0.651230 0.107080 0.689037 0.076000 0.483957 2.000000 0.000000 0.000000 0.000000 0.074000 0.443850 2.000000 0.000000 0.000000 0.000000 0.020000 0.457219 2.000000 0.000000 0.000000 0.000000 0.008000 0.657754 2.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 2 | 0 0.068920 0.582019 0.137840 0.835963 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.104000 0.275401 2.000000 0.000000 0.000000 0.000000 0.088000 0.272727 2.000000 0.000000 0.000000 0.000000 0.044000 0.470588 1.000000 0.000000 0.000000 0.000000 0.028000 0.708556 1.000000 0.000000 0.000000 0.000000 0.086000 0.909091 1.000000 0.000000 0.000000 0.000000 0.064000 0.909091 1.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 3 | -------------------------------------------------------------------------------- /example_datasets/coco8-pose/labels/val/000000000151.txt: -------------------------------------------------------------------------------- 1 | 0 0.937271 0.137734 0.063667 0.083250 0.927083 0.157812 2.000000 0.950000 0.137500 2.000000 0.914583 0.146875 2.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 2 | -------------------------------------------------------------------------------- /example_datasets/coco8-seg.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-seg.zip -------------------------------------------------------------------------------- /example_datasets/coco8-seg/README.md: -------------------------------------------------------------------------------- 1 | Ultralytics logo 2 | 3 | # Ultralytics COCO8-Seg Dataset 4 | 5 | ## 📄 Introduction 6 | 7 | The **Ultralytics COCO8-Seg** dataset is a compact, easy-to-use resource for **instance segmentation** tasks. It contains the first 8 images from the [COCO 2017 train set](https://cocodataset.org/#home), split into 4 training and 4 validation images. This small yet diverse dataset is ideal for quickly testing and debugging [segmentation models](https://docs.ultralytics.com/tasks/segment/) or experimenting with new [computer vision](https://en.wikipedia.org/wiki/Computer_vision) techniques. 8 | 9 | With just 8 images, COCO8-Seg is highly manageable, making it perfect for verifying [training pipelines](https://docs.ultralytics.com/guides/model-training-tips/) and catching potential issues before scaling up to [larger datasets](https://docs.ultralytics.com/datasets/). It serves as a practical sanity check for model development and experimentation. 10 | 11 | COCO8-Seg is designed for seamless integration with [Ultralytics HUB](https://hub.ultralytics.com/) and the latest [Ultralytics YOLO](https://docs.ultralytics.com/models/yolo11/) models. For a deeper understanding of instance segmentation, check out our blog post: [What is Instance Segmentation? A Quick Guide](https://www.ultralytics.com/blog/what-is-instance-segmentation-a-quick-guide). 12 | 13 | ## 🖼️ Sample Images and Annotations 14 | 15 | Below are sample images from the COCO8-Seg dataset, each with its corresponding segmentation mask annotation. These examples demonstrate the data format and the types of objects included, visualized in a training mosaic. 16 | 17 | Dataset sample image 18 | 19 | ## 📚 Resources 20 | 21 | Enhance your experience with COCO8-seg and Ultralytics tools using these valuable resources: 22 | 23 | - [Ultralytics HUB Quickstart](https://docs.ultralytics.com/hub/quickstart/): Step-by-step guide to training models on datasets like COCO8 using Ultralytics HUB. 24 | - [Ultralytics Documentation](https://docs.ultralytics.com/): Comprehensive guides on model usage, best practices, and advanced features. 25 | - [COCO Dataset Overview](https://docs.ultralytics.com/datasets/detect/coco/): Learn more about the full COCO dataset and its applications in computer vision. 26 | - [Ultralytics Models](https://docs.ultralytics.com/models/): Explore available YOLO models for object detection, segmentation, and more. 27 | - [Ultralytics HUB GitHub Issues](https://github.com/ultralytics/hub/issues/new/choose): Report bugs, request features, or seek troubleshooting support. 28 | - [Ultralytics Discord Community](https://discord.com/invite/ultralytics): Connect with users, developers, and the Ultralytics team for real-time discussions. 29 | - [Ultralytics Community Forums](https://community.ultralytics.com/): Share your projects, ask questions, and engage with the broader Ultralytics community. 30 | - [Ultralytics YOLO11 Model Page](https://docs.ultralytics.com/models/yolo11/): Details on the latest YOLO model architecture and usage. 31 | - [Ultralytics Tasks Overview](https://docs.ultralytics.com/tasks/): Learn about supported computer vision tasks, including detection, segmentation, and more. 32 | - [Ultralytics Model Training Tips](https://docs.ultralytics.com/guides/model-training-tips/): Best practices for efficient and effective model training. 33 | - [Ultralytics Model Evaluation Insights](https://docs.ultralytics.com/guides/model-evaluation-insights/): Guidance on evaluating model performance and interpreting results. 34 | - [Ultralytics Model Deployment Options](https://docs.ultralytics.com/guides/model-deployment-options/): Explore deployment strategies for your trained models. 35 | - [Ultralytics License Information](https://www.ultralytics.com/license): For commercial use or custom solutions, complete the form to obtain an Enterprise License. 36 | 37 | ## 🤝 Contributing 38 | 39 | Contributions to improve the COCO8-Seg dataset or its documentation are always welcome! Please see the [Ultralytics repository](https://github.com/ultralytics/ultralytics) for contribution guidelines. Thank you for supporting open-source computer vision and helping advance the field! 40 | 41 | [![Ultralytics open-source contributors](https://raw.githubusercontent.com/ultralytics/assets/main/im/image-contributors.png)](https://github.com/ultralytics/ultralytics/graphs/contributors) 42 | -------------------------------------------------------------------------------- /example_datasets/coco8-seg/coco8-seg.yaml: -------------------------------------------------------------------------------- 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license 2 | 3 | # COCO8-seg dataset (first 8 images from COCO train2017) by Ultralytics for HUB https://hub.ultralytics.com 4 | # Example usage: yolo train data=coco8-seg.yaml 5 | # parent 6 | # ├── ultralytics 7 | # └── datasets 8 | # └── coco8-seg ← downloads here (1 MB) 9 | 10 | # Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..] 11 | path: # dataset root dir (leave empty for HUB) 12 | train: images/train # train images (relative to 'path') 4 images 13 | val: images/val # val images (relative to 'path') 4 images 14 | test: # test images (optional) 15 | 16 | # Classes 17 | names: 18 | 0: person 19 | 1: bicycle 20 | 2: car 21 | 3: motorcycle 22 | 4: airplane 23 | 5: bus 24 | 6: train 25 | 7: truck 26 | 8: boat 27 | 9: traffic light 28 | 10: fire hydrant 29 | 11: stop sign 30 | 12: parking meter 31 | 13: bench 32 | 14: bird 33 | 15: cat 34 | 16: dog 35 | 17: horse 36 | 18: sheep 37 | 19: cow 38 | 20: elephant 39 | 21: bear 40 | 22: zebra 41 | 23: giraffe 42 | 24: backpack 43 | 25: umbrella 44 | 26: handbag 45 | 27: tie 46 | 28: suitcase 47 | 29: frisbee 48 | 30: skis 49 | 31: snowboard 50 | 32: sports ball 51 | 33: kite 52 | 34: baseball bat 53 | 35: baseball glove 54 | 36: skateboard 55 | 37: surfboard 56 | 38: tennis racket 57 | 39: bottle 58 | 40: wine glass 59 | 41: cup 60 | 42: fork 61 | 43: knife 62 | 44: spoon 63 | 45: bowl 64 | 46: banana 65 | 47: apple 66 | 48: sandwich 67 | 49: orange 68 | 50: broccoli 69 | 51: carrot 70 | 52: hot dog 71 | 53: pizza 72 | 54: donut 73 | 55: cake 74 | 56: chair 75 | 57: couch 76 | 58: potted plant 77 | 59: bed 78 | 60: dining table 79 | 61: toilet 80 | 62: tv 81 | 63: laptop 82 | 64: mouse 83 | 65: remote 84 | 66: keyboard 85 | 67: cell phone 86 | 68: microwave 87 | 69: oven 88 | 70: toaster 89 | 71: sink 90 | 72: refrigerator 91 | 73: book 92 | 74: clock 93 | 75: vase 94 | 76: scissors 95 | 77: teddy bear 96 | 78: hair drier 97 | 79: toothbrush 98 | 99 | # Download script/URL (optional) 100 | download: 101 | -------------------------------------------------------------------------------- /example_datasets/coco8-seg/images/train/000000000009.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-seg/images/train/000000000009.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-seg/images/train/000000000025.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-seg/images/train/000000000025.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-seg/images/train/000000000030.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-seg/images/train/000000000030.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-seg/images/train/000000000034.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-seg/images/train/000000000034.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-seg/images/val/000000000036.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-seg/images/val/000000000036.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-seg/images/val/000000000042.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-seg/images/val/000000000042.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-seg/images/val/000000000049.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-seg/images/val/000000000049.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-seg/images/val/000000000061.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8-seg/images/val/000000000061.jpg -------------------------------------------------------------------------------- /example_datasets/coco8-seg/labels/train/000000000009.txt: -------------------------------------------------------------------------------- 1 | 45 0.782016 0.986521 0.937078 0.874167 0.957297 0.782021 0.950562 0.739333 0.825844 0.561792 0.714609 0.420229 0.657297 0.391021 0.608422 0.4 0.0303438 0.750562 0.0016875 0.811229 0.003375 0.889896 0.0320156 0.986521 2 | 45 0.557859 0.143813 0.487078 0.0314583 0.859547 0.00897917 0.985953 0.130333 0.984266 0.184271 0.930344 0.386521 0.80225 0.480896 0.763484 0.485396 0.684266 0.39775 0.670781 0.3955 0.679219 0.310104 0.642141 0.253937 0.561234 0.155063 0.559547 0.137083 3 | 50 0.39 0.727063 0.418234 0.649417 0.455297 0.614125 0.476469 0.614125 0.51 0.590583 0.54 0.569417 0.575297 0.562354 0.601766 0.56 0.607062 0.536479 0.614125 0.522354 0.637063 0.501167 0.665297 0.48 0.69 0.477646 0.698828 0.494125 0.698828 0.534125 0.712938 0.529417 0.742938 0.548229 0.760594 0.564708 0.774703 0.550583 0.778234 0.536479 0.781766 0.531771 0.792359 0.541167 0.802937 0.555292 0.802937 0.569417 0.802937 0.576479 0.822359 0.576479 0.822359 0.597646 0.811766 0.607062 0.811766 0.618833 0.818828 0.637646 0.820594 0.656479 0.827641 0.687063 0.827641 0.703521 0.829406 0.727063 0.838234 0.708229 0.852359 0.729417 0.868234 0.750583 0.871766 0.792938 0.877063 0.821167 0.884125 0.861167 0.817062 0.92 0.734125 0.976479 0.711172 0.988229 0.48 0.988229 0.494125 0.967063 0.517062 0.912937 0.508234 0.832937 0.485297 0.788229 0.471172 0.774125 0.395297 0.729417 4 | 45 0.375219 0.0678333 0.375219 0.0590833 0.386828 0.0503542 0.424156 0.0315208 0.440797 0.0281458 0.464 0.0389167 0.525531 0.115583 0.611797 0.222521 0.676359 0.306583 0.678875 0.317354 0.677359 0.385271 0.66475 0.394687 0.588594 0.407458 0.417094 0.517771 0.280906 0.604521 0.0806562 0.722208 0.0256719 0.763917 0.00296875 0.809646 0 0.786104 0 0.745083 0 0.612583 0.03525 0.613271 0.0877187 0.626708 0.130594 0.626708 0.170437 0.6025 0.273844 0.548708 0.338906 0.507 0.509906 0.4115 0.604734 0.359042 0.596156 0.338188 0.595141 0.306583 0.595141 0.291792 0.579516 0.213104 0.516969 0.129042 0.498297 0.100792 0.466516 0.0987708 0.448875 0.0786042 0.405484 0.0705208 0.375219 0.0678333 0.28675 0.108375 0.282719 0.123167 0.267078 0.162854 0.266062 0.189083 0.245391 0.199833 0.203516 0.251625 0.187375 0.269771 0.159641 0.240188 0.101125 0.249604 0 0.287271 0 0.250271 0 0.245563 0.0975938 0.202521 0.203516 0.145354 0.251953 0.123167 0.28675 0.108375 5 | 49 0.587812 0.128229 0.612281 0.0965625 0.663391 0.0840833 0.690031 0.0908125 0.700109 0.10425 0.705859 0.133042 0.700109 0.143604 0.686422 0.146479 0.664828 0.153188 0.644672 0.157042 0.629563 0.175271 0.605797 0.181021 0.595 0.147437 6 | 49 0.7405 0.178417 0.733719 0.173896 0.727781 0.162583 0.729484 0.150167 0.738812 0.124146 0.747281 0.0981458 0.776109 0.0811875 0.804094 0.0845833 0.814266 0.102667 0.818516 0.115104 0.812578 0.133208 0.782906 0.151292 0.754063 0.172771 7 | 49 0.602656 0.178854 0.636125 0.167875 0.655172 0.165125 0.6665 0.162375 0.680391 0.155521 0.691719 0.153458 0.703047 0.154146 0.713859 0.162375 0.724156 0.174729 0.730844 0.193271 0.733422 0.217979 0.733938 0.244063 0.733422 0.281813 0.732391 0.295542 0.728266 0.300354 0.702016 0.294854 0.682969 0.28525 0.672156 0.270146 8 | 49 0.716891 0.0519583 0.683766 0.0103958 0.611688 0.0051875 0.568828 0.116875 0.590266 0.15325 0.590266 0.116875 0.613641 0.0857083 0.631172 0.0857083 0.6565 0.083125 0.679875 0.0883125 0.691563 0.0961042 0.711031 0.0649375 9 | -------------------------------------------------------------------------------- /example_datasets/coco8-seg/labels/train/000000000025.txt: -------------------------------------------------------------------------------- 1 | 23 0.683625 0.829413 0.684172 0.767559 0.677578 0.71892 0.667703 0.67439 0.667703 0.656244 0.663312 0.624906 0.652891 0.600188 0.652328 0.583685 0.669344 0.551526 0.670453 0.525141 0.666063 0.497113 0.650687 0.451761 0.649594 0.448474 0.647391 0.427864 0.647938 0.423732 0.646844 0.399812 0.644656 0.394883 0.643547 0.388286 0.641906 0.351174 0.634219 0.28439 0.625437 0.25223 0.613375 0.255516 0.604031 0.237394 0.602938 0.234085 0.602391 0.217606 0.604031 0.2077 0.602938 0.198638 0.604594 0.190376 0.613922 0.159883 0.617203 0.140915 0.618859 0.140915 0.62325 0.154108 0.622703 0.160704 0.624344 0.165657 0.632031 0.161526 0.637516 0.145047 0.638609 0.14338 0.64575 0.147512 0.640266 0.172254 0.640266 0.181315 0.647391 0.192042 0.653984 0.189554 0.662766 0.182136 0.663312 0.188732 0.654531 0.203568 0.646844 0.218427 0.675391 0.300047 0.691844 0.370141 0.708313 0.404765 0.727531 0.421268 0.753875 0.465775 0.776922 0.502887 0.812047 0.530915 0.837297 0.591103 0.847172 0.630681 0.849359 0.640587 0.878453 0.669437 0.922359 0.690047 0.936625 0.697465 0.938281 0.753545 0.920719 0.748592 0.915219 0.737042 0.910828 0.714789 0.90425 0.696643 0.866375 0.668615 0.849906 0.655423 0.849359 0.732113 0.850469 0.763427 0.861984 0.805493 0.859797 0.816221 0.832906 0.815376 0.818625 0.816221 0.800516 0.818685 0.791734 0.821972 0.76375 0.716432 0.746734 0.694178 0.745094 0.691714 0.734656 0.798075 0.732469 0.833521 0.688562 0.836831 0.687453 0.838474 0.684172 0.838474 2 | 23 0.155094 0.952394 0.208703 0.924366 0.226187 0.894601 0.247172 0.868333 0.270469 0.912113 0.283297 0.917371 0.284453 0.917371 0.289125 0.896362 0.268141 0.845587 0.229687 0.836831 0.208703 0.859577 0.194719 0.877089 0.16675 0.887606 0.129453 0.898099 0.113141 0.917371 0.0944844 0.93662 0.0828281 0.962887 0.101484 0.966385 0.152766 0.954131 3 | -------------------------------------------------------------------------------- /example_datasets/coco8-seg/labels/train/000000000030.txt: -------------------------------------------------------------------------------- 1 | 58 0.417781 0.771355 0.440328 0.735397 0.467375 0.658995 0.440328 0.605047 0.387719 0.524159 0.378703 0.443248 0.333625 0.436519 0.371188 0.375841 0.335125 0.364603 0.350156 0.315164 0.320094 0.299439 0.320094 0.256752 0.327609 0.198318 0.357672 0.184836 0.39825 0.155607 0.498937 0.139883 0.470375 0.0724766 0.513953 0.117407 0.553031 0.083715 0.608641 0.115164 0.67175 0.173598 0.704812 0.184836 0.710828 0.211799 0.707828 0.232033 0.718344 0.263481 0.713828 0.308435 0.707828 0.348879 0.691297 0.398318 0.676266 0.416285 0.673266 0.476963 0.641703 0.420794 0.623672 0.510678 0.604125 0.566846 0.560547 0.623037 0.547016 0.676963 0.568063 0.730888 0.607141 0.771355 0.584594 0.811799 0.506453 0.829766 0.411766 0.793832 0.420781 0.769112 2 | 75 0.616156 0.364042 0.631188 0.395514 0.631188 0.462921 0.608641 0.561799 0.569562 0.602243 0.551531 0.653925 0.544016 0.676402 0.554531 0.710117 0.581594 0.730327 0.599625 0.755047 0.581594 0.793248 0.510953 0.817967 0.462859 0.820234 0.422297 0.788762 0.417781 0.773037 0.416281 0.764042 0.456859 0.728084 0.461359 0.638201 0.438812 0.606752 0.39975 0.548318 0.371188 0.447196 0.407266 0.510117 0.446328 0.489883 0.498937 0.480888 0.516969 0.460678 0.528984 0.408995 0.545516 0.397757 0.586094 0.386519 0.578578 0.431472 0.587594 0.429206 0.596609 0.4 0.608641 0.37528 0.614656 0.368528 3 | -------------------------------------------------------------------------------- /example_datasets/coco8-seg/labels/train/000000000034.txt: -------------------------------------------------------------------------------- 1 | 22 0.00746875 0.0539294 0.117891 0.0921412 0.231297 0.110118 0.2895 0.0674118 0.331281 0.0472 0.3865 0.0696706 0.423813 0.0943765 0.446188 0.105624 0.467078 0.1528 0.517813 0.182024 0.577516 0.253929 0.658094 0.379765 0.690922 0.532588 0.687937 0.6 0.650625 0.555059 0.658094 0.644941 0.668547 0.755059 0.676 0.838212 0.658094 0.894376 0.613328 0.925835 0.589453 0.914612 0.590938 0.856188 0.552141 0.791012 0.523781 0.725835 0.528266 0.633718 0.498422 0.577529 0.444703 0.505624 0.407391 0.505624 0.395453 0.541576 0.417844 0.591012 0.450672 0.642706 0.456641 0.642706 0.461109 0.725835 0.458125 0.786518 0.450672 0.853929 0.444703 0.898871 0.401422 0.869671 0.411875 0.815741 0.423813 0.734824 0.425297 0.694376 0.361125 0.608988 0.316359 0.588753 0.280547 0.703365 0.271594 0.757294 0.261141 0.829224 0.268609 0.869671 0.277562 0.901129 0.250703 0.937082 0.222344 0.939318 0.231297 0.901129 0.222344 0.844941 0.238766 0.7236 0.246219 0.642706 0.271594 0.510118 0.182062 0.507859 0.0999844 0.525835 0.0208906 0.494376 0.0015 0.0516941 2 | -------------------------------------------------------------------------------- /example_datasets/coco8-seg/labels/val/000000000036.txt: -------------------------------------------------------------------------------- 1 | 25 0.397235 0.750734 0.337422 0.750734 0.341996 0.749031 0.250021 0.700625 0.194802 0.691984 0.190229 0.688516 0.0751975 0.598625 0.059106 0.600359 0.0728898 0.596906 0.00852391 0.481078 0.02 0.465531 0.0130977 0.351437 0 0.351437 0.02 0.342813 0.0798129 0.228719 0.109709 0.223531 0.231601 0.138828 0.222391 0.123266 0.247734 0.130187 0.424823 0.095625 0.422516 0.0783125 0.434012 0.0904219 0.629522 0.109438 0.629522 0.0990625 0.636424 0.111172 0.797401 0.188938 0.806611 0.183781 0.797401 0.194141 0.900915 0.303031 0.914699 0.301297 0.900915 0.311688 0.94 0.429234 0.951518 0.429234 0.937734 0.437859 0.903222 0.555422 0.907838 0.569266 0.891726 0.560609 0.822703 0.631484 0.790499 0.512203 0.753721 0.498375 0.710021 0.484547 0.716923 0.399844 0.716923 0.34625 0.691622 0.313422 0.677817 0.308219 0.661726 0.268469 0.599626 0.251188 0.55131 0.246 0.509917 0.254656 0.477713 0.268469 0.431705 0.304766 0.422516 0.391188 0.459335 0.462063 0.482328 0.481078 0.482328 0.588266 0.463909 0.586547 0.468503 0.498375 0.404096 0.505281 0.378815 0.529484 0.355821 0.614203 0.397235 0.750734 0.459335 0.724828 0.480021 0.731734 0.477713 0.643578 0.470811 0.6505 0.459335 0.724828 2 | 0 0.717838 0.344813 0.723846 0.421563 0.738877 0.48025 0.783929 0.498313 0.822973 0.579578 0.925094 0.884313 0.985156 0.963313 0.994158 0.981375 0.898046 0.981375 0.83499 0.909141 0.783929 0.746609 0.780915 0.827875 0.804948 0.938484 0.825967 0.981375 0.6758 0.974609 0.45052 0.972344 0.45052 0.947516 0.52262 0.827875 0.465551 0.827875 0.435509 0.825625 0.420499 0.7895 0.402474 0.757906 0.348399 0.586344 0.372432 0.523141 0.423493 0.507344 0.477568 0.489281 0.435509 0.435109 0.402474 0.387703 0.432516 0.295141 0.465551 0.274828 0.492578 0.263547 0.53763 0.254516 0.612723 0.263547 0.645759 0.272578 0.678794 0.308688 3 | -------------------------------------------------------------------------------- /example_datasets/coco8-seg/labels/val/000000000042.txt: -------------------------------------------------------------------------------- 1 | 16 0.597625 0.561987 0.516 0.481025 0.435891 0.430439 0.357281 0.3009 0.334609 0.294833 0.35275 0.280669 0.402641 0.25841 0.432859 0.17341 0.512969 0.100544 0.677734 0.0863808 0.785047 0.167343 0.87725 0.351506 0.856094 0.452699 0.878766 0.515439 0.847016 0.596381 0.797141 0.596381 0.730641 0.466862 0.655062 0.529603 0.615766 0.553891 2 | -------------------------------------------------------------------------------- /example_datasets/coco8-seg/labels/val/000000000049.txt: -------------------------------------------------------------------------------- 1 | 17 0.476614 0.72686 0.490289 0.72426 0.490289 0.70994 0.480026 0.68388 0.46979 0.67084 0.497139 0.66954 0.509108 0.66954 0.522782 0.67866 0.551837 0.693 0.582625 0.71124 0.563806 0.72556 0.601417 0.77246 0.57748 0.80634 0.5621 0.81416 0.565512 0.81936 0.591181 0.81936 0.62706 0.7842 0.640761 0.76986 0.61853 0.75032 0.628793 0.73078 0.645879 0.76596 0.654436 0.77246 0.654436 0.78288 0.632205 0.81286 0.620236 0.82066 0.639029 0.82198 0.647585 0.82198 0.659554 0.80894 0.671522 0.792 0.67664 0.78288 0.698871 0.7907 0.719396 0.79852 0.724514 0.81546 0.753596 0.81416 0.768976 0.80894 0.768976 0.79982 0.748451 0.78288 0.741627 0.77246 0.734777 0.75944 0.707428 0.76204 0.698871 0.75162 0.690341 0.70994 0.673228 0.67996 0.647585 0.65 0.623648 0.63958 0.608268 0.62786 0.576719 0.60782 0.590236 0.5872 0.593622 0.56742 0.601522 0.54766 0.608294 0.53132 0.600394 0.51672 0.600394 0.51672 0.595879 0.515 0.606037 0.51242 0.613937 0.50382 0.604908 0.49952 0.590236 0.48664 0.585722 0.48234 0.572205 0.48062 0.564304 0.47546 0.549633 0.46772 0.531601 0.45656 0.513543 0.45312 0.509029 0.45484 0.506772 0.45828 0.504514 0.46686 0.501129 0.47288 0.501129 0.48234 0.509029 0.48578 0.518058 0.49094 0.522572 0.50382 0.521444 0.50984 0.528215 0.51414 0.525958 0.5236 0.509029 0.54336 0.494357 0.5554 0.487612 0.57086 0.479711 0.5872 0.47294 0.6001 0.468425 0.60868 0.465039 0.61986 0.466168 0.63276 0.457139 0.63876 0.437979 0.64908 0.430079 0.65768 0.426693 0.66198 0.42895 0.668 0.432336 0.6723 0.432336 0.67572 0.434409 0.6953 0.44126 0.70962 0.459029 0.73606 0.473123 0.72962 0.490026 0.72962 2 | 17 0.422992 0.64452 0.432283 0.65588 0.432283 0.69136 0.434147 0.72398 0.426693 0.7552 0.413675 0.78784 0.389475 0.80628 0.380157 0.79492 0.391339 0.76796 0.393202 0.72966 0.383885 0.69986 0.357822 0.68284 0.331732 0.67148 0.296378 0.6502 0.279606 0.63318 0.268425 0.60906 0.270289 0.5892 0.275879 0.56224 0.275879 0.54096 0.262861 0.55372 0.214436 0.55514 0.22748 0.5367 0.249816 0.51826 0.25168 0.50832 0.25168 0.49556 0.268425 0.48988 0.292651 0.49556 0.31685 0.51116 0.34664 0.52392 0.372703 0.53244 0.383885 0.54946 0.40063 0.5523 3 | 0 0.684357 0.56302 0.692073 0.56694 0.692073 0.58068 0.653491 0.62282 0.636772 0.62674 0.627769 0.63852 0.599449 0.62086 0.562152 0.66596 0.546693 0.66694 0.533832 0.65126 0.53769 0.63754 0.555722 0.64636 0.555722 0.64636 0.581444 0.61302 0.576299 0.60322 0.585302 0.59244 0.614882 0.5944 0.598163 0.5895 0.591732 0.57282 0.600735 0.5444 0.600735 0.52086 0.61874 0.55126 0.654777 0.56204 0.654777 0.54832 0.639344 0.54244 0.645774 0.5346 0.679213 0.5346 0.703675 0.5444 0.706247 0.55518 0.702388 0.56106 0.688215 0.56498 4 | 0 0.402493 0.55556 0.409659 0.55146 0.416824 0.54054 0.411444 0.53508 0.400709 0.53236 0.400079 0.52588 0.404961 0.52588 0.420735 0.52264 0.438346 0.52264 0.448661 0.5245 0.458373 0.5305 0.46021 0.53606 0.459606 0.5393 0.454121 0.54438 0.44685 0.5481 0.443202 0.54948 0.445643 0.55642 0.44685 0.5629 0.449869 0.57632 0.446247 0.59066 0.43895 0.60732 0.434094 0.61426 0.424383 0.6212 0.414672 0.62304 0.404331 0.6212 0.383097 0.61332 0.378845 0.61102 0.373386 0.60824 0.362441 0.6235 0.348478 0.64432 0.34727 0.64664 0.333911 0.6485 0.327822 0.64202 0.319948 0.63508 0.31084 0.63184 0.318714 0.62028 0.322362 0.61842 0.335118 0.61888 0.344226 0.60038 0.353937 0.59482 0.36063 0.59066 0.366693 0.5888 0.375801 0.58742 0.394619 0.58788 0.406168 0.59066 0.394619 0.5828 0.389764 0.57724 0.386719 0.5666 0.388556 0.5615 0.398268 0.55688 5 | 0 0.329816 0.73472 0.335354 0.73472 0.337927 0.735 0.339764 0.73444 0.341234 0.73162 0.341234 0.72656 0.341234 0.72124 0.341234 0.7159 0.341234 0.7114 0.341234 0.70354 0.341234 0.69764 0.341601 0.69314 0.343832 0.6892 0.344567 0.6864 0.339764 0.68246 0.330551 0.67742 0.324278 0.67376 0.318766 0.6701 0.313228 0.66842 0.313228 0.67236 0.313228 0.67686 0.313963 0.68162 0.315066 0.68416 0.315433 0.68696 0.316903 0.6937 0.318766 0.69932 0.318766 0.70466 0.318031 0.71 0.316535 0.71562 0.315433 0.72264 0.315433 0.72854 0.313228 0.73274 0.313963 0.73528 0.319134 0.73556 0.322441 0.735 0.324278 0.73218 0.325381 0.72656 0.326115 0.72124 0.325381 0.71506 0.325381 0.70972 0.328346 0.70438 0.330184 0.70156 0.328346 0.70888 0.331286 0.71478 0.333858 0.71814 0.335354 0.7218 0.334987 0.72628 0.332388 0.72882 0.330184 0.73106 0.330184 0.73106 0.330184 0.73106 0.330184 0.73106 0.330184 0.73106 0.330184 0.73106 6 | 58 0.543123 0.94684 0.690341 0.94538 0.715512 0.90256 0.707769 0.88928 0.690341 0.87452 0.651601 0.85976 0.601234 0.85238 0.562493 0.85534 0.554751 0.85976 0.547008 0.86568 0.535381 0.88044 0.52958 0.88928 0.533438 0.9188 7 | 0 0.760367 0.71518 0.766325 0.71778 0.770157 0.72166 0.774856 0.71874 0.771444 0.71226 0.768451 0.70414 0.767192 0.69342 0.766325 0.6892 0.767192 0.68726 0.768031 0.6814 0.765066 0.67654 0.762493 0.67492 0.762913 0.66972 0.758241 0.6668 0.752283 0.67004 0.753123 0.6746 0.746299 0.67978 0.749711 0.68596 0.750131 0.68856 0.750577 0.69666 0.750997 0.70544 0.751837 0.71258 0.751417 0.71972 0.75399 0.71972 8 | 0 0.501942 0.68184 0.501312 0.67528 0.506089 0.67262 0.507979 0.66874 0.512126 0.66874 0.513727 0.67018 0.515643 0.67334 0.519764 0.67698 0.520105 0.67942 0.520105 0.68086 0.501942 0.68184 0.501627 0.68378 0.501627 0.69008 0.504488 0.693 0.507664 0.69786 0.507349 0.70416 0.503202 0.71192 0.503858 0.71556 0.507349 0.71484 0.511811 0.70294 0.509895 0.69276 0.511181 0.69252 0.513727 0.71362 0.516588 0.71436 0.515643 0.69762 0.517533 0.68426 0.501627 0.68378 9 | 0 0.925564 0.68328 0.926089 0.67936 0.920157 0.67956 0.91399 0.67778 0.910131 0.67386 0.914751 0.67014 0.920157 0.67054 0.922231 0.67308 0.92378 0.67426 0.924278 0.67328 0.925564 0.67132 0.92916 0.66856 0.93252 0.6672 0.944882 0.6668 0.946667 0.66974 0.948976 0.67446 0.946667 0.67994 0.944357 0.68446 0.944357 0.68524 0.937927 0.6825 0.926089 0.68366 10 | -------------------------------------------------------------------------------- /example_datasets/coco8-seg/labels/val/000000000061.txt: -------------------------------------------------------------------------------- 1 | 0 0.408125 0.515799 0.423156 0.53082 0.429594 0.53082 0.418141 0.533627 0.417438 0.539262 0.426016 0.537377 0.433172 0.536455 0.438188 0.523299 0.444625 0.508299 0.446766 0.502664 0.471094 0.498914 0.476813 0.499857 0.48325 0.477336 0.477531 0.443545 0.469656 0.42666 0.463938 0.421967 0.458219 0.423852 0.454641 0.432295 0.454641 0.442623 0.458922 0.453873 0.461078 0.460451 0.448906 0.479201 0.440328 0.480143 0.431031 0.485779 0.431031 0.497971 0.426734 0.508299 0.423875 0.512049 0.418859 0.516742 0.415281 0.515799 0.408844 0.513934 2 | 0 0.658422 0.510266 0.657578 0.506434 0.655078 0.496598 0.65175 0.489508 0.64425 0.479119 0.640078 0.47584 0.637578 0.476393 0.638828 0.487316 0.643422 0.496066 0.64675 0.504262 0.648422 0.509713 0.64425 0.512459 0.638 0.511352 0.636328 0.505902 0.633 0.488955 0.631328 0.481311 0.620078 0.482951 0.614672 0.475287 0.614672 0.466557 0.615922 0.455615 0.618422 0.448525 0.62175 0.444139 0.622172 0.444139 0.622172 0.435943 0.62925 0.431025 0.63425 0.432131 0.635922 0.437049 0.635922 0.445779 0.640078 0.448525 0.641328 0.452889 0.642578 0.46 0.641328 0.467643 0.641328 0.467643 0.653 0.474754 0.657578 0.483484 0.66175 0.490594 0.663 0.496066 0.665078 0.504795 0.6655 0.511352 3 | 20 0.595234 0.599795 0.589938 0.582213 0.588531 0.573422 0.578297 0.582684 0.578297 0.566496 0.603344 0.514672 0.626281 0.525307 0.637219 0.526701 0.64075 0.52207 0.648156 0.523463 0.657328 0.510041 0.668609 0.523463 0.674609 0.510963 0.690141 0.516516 0.703547 0.532705 0.708125 0.581762 0.702828 0.605348 0.679547 0.607664 0.681672 0.581291 0.673203 0.606742 0.638625 0.607213 0.627688 0.603975 0.593109 0.601189 4 | 20 0.348828 0.524754 0.351281 0.517295 0.363328 0.517992 0.375359 0.518668 0.385828 0.518668 0.397875 0.5125 0.409906 0.513176 0.418281 0.517295 0.419844 0.523484 0.420375 0.52623 0.418281 0.532398 0.426656 0.53377 0.440781 0.539262 0.453875 0.542008 0.470609 0.539959 0.477938 0.545451 0.487891 0.546127 0.491547 0.53377 0.495219 0.522111 0.509875 0.519365 0.527656 0.522111 0.536031 0.529652 0.543891 0.537889 0.550172 0.544078 0.558547 0.551619 0.569 0.566721 0.570578 0.579754 0.570047 0.591434 0.564297 0.599672 0.558016 0.603791 0.550687 0.610656 0.554875 0.627807 0.558016 0.637418 0.548594 0.651824 0.544937 0.664877 0.541797 0.671742 0.533422 0.667623 0.530281 0.658689 0.529234 0.640164 0.524 0.634672 0.499922 0.636045 0.486313 0.64084 0.48475 0.647705 0.469562 0.634672 0.463812 0.624385 0.454391 0.618893 0.441828 0.618197 0.430844 0.616148 0.424031 0.614078 0.426656 0.595553 0.420375 0.588689 0.416188 0.5825 0.412 0.563299 0.396297 0.552316 0.383219 0.553689 0.352328 0.53584 5 | 0 0.455422 0.410451 0.45525 0.418545 0.459719 0.421025 0.458172 0.424611 0.453547 0.43877 0.457141 0.443934 0.462109 0.453832 0.454922 0.465963 0.451141 0.467541 0.443609 0.467541 0.428875 0.478996 0.426813 0.485512 0.429734 0.496742 0.426813 0.50168 0.421844 0.506414 0.411219 0.513832 0.409344 0.511803 0.408656 0.508422 0.410187 0.503258 0.417047 0.496967 0.418766 0.489775 0.419797 0.475164 0.422703 0.469098 0.425781 0.463484 0.429391 0.459447 0.430234 0.455389 0.431781 0.450676 0.432641 0.450225 0.438125 0.449324 0.441891 0.445512 0.446 0.43584 0.447719 0.43 0.441719 0.427992 0.438125 0.419221 0.435375 0.412705 0.440516 0.405512 0.445312 0.402807 0.451484 0.40416 6 | -------------------------------------------------------------------------------- /example_datasets/coco8.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8.zip -------------------------------------------------------------------------------- /example_datasets/coco8/LICENSE: -------------------------------------------------------------------------------- 1 | GNU AFFERO GENERAL PUBLIC LICENSE 2 | Version 3, 19 November 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU Affero General Public License is a free, copyleft license for 11 | software and other kinds of works, specifically designed to ensure 12 | cooperation with the community in the case of network server software. 13 | 14 | The licenses for most software and other practical works are designed 15 | to take away your freedom to share and change the works. By contrast, 16 | our General Public Licenses are intended to guarantee your freedom to 17 | share and change all versions of a program--to make sure it remains free 18 | software for all its users. 19 | 20 | When we speak of free software, we are referring to freedom, not 21 | price. Our General Public Licenses are designed to make sure that you 22 | have the freedom to distribute copies of free software (and charge for 23 | them if you wish), that you receive source code or can get it if you 24 | want it, that you can change the software or use pieces of it in new 25 | free programs, and that you know you can do these things. 26 | 27 | Developers that use our General Public Licenses protect your rights 28 | with two steps: (1) assert copyright on the software, and (2) offer 29 | you this License which gives you legal permission to copy, distribute 30 | and/or modify the software. 31 | 32 | A secondary benefit of defending all users' freedom is that 33 | improvements made in alternate versions of the program, if they 34 | receive widespread use, become available for other developers to 35 | incorporate. Many developers of free software are heartened and 36 | encouraged by the resulting cooperation. However, in the case of 37 | software used on network servers, this result may fail to come about. 38 | The GNU General Public License permits making a modified version and 39 | letting the public access it on a server without ever releasing its 40 | source code to the public. 41 | 42 | The GNU Affero General Public License is designed specifically to 43 | ensure that, in such cases, the modified source code becomes available 44 | to the community. It requires the operator of a network server to 45 | provide the source code of the modified version running there to the 46 | users of that server. Therefore, public use of a modified version, on 47 | a publicly accessible server, gives the public access to the source 48 | code of the modified version. 49 | 50 | An older license, called the Affero General Public License and 51 | published by Affero, was designed to accomplish similar goals. This is 52 | a different license, not a version of the Affero GPL, but Affero has 53 | released a new version of the Affero GPL which permits relicensing under 54 | this license. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | TERMS AND CONDITIONS 60 | 61 | 0. Definitions. 62 | 63 | "This License" refers to version 3 of the GNU Affero General Public License. 64 | 65 | "Copyright" also means copyright-like laws that apply to other kinds of 66 | works, such as semiconductor masks. 67 | 68 | "The Program" refers to any copyrightable work licensed under this 69 | License. Each licensee is addressed as "you". "Licensees" and 70 | "recipients" may be individuals or organizations. 71 | 72 | To "modify" a work means to copy from or adapt all or part of the work 73 | in a fashion requiring copyright permission, other than the making of an 74 | exact copy. The resulting work is called a "modified version" of the 75 | earlier work or a work "based on" the earlier work. 76 | 77 | A "covered work" means either the unmodified Program or a work based 78 | on the Program. 79 | 80 | To "propagate" a work means to do anything with it that, without 81 | permission, would make you directly or secondarily liable for 82 | infringement under applicable copyright law, except executing it on a 83 | computer or modifying a private copy. Propagation includes copying, 84 | distribution (with or without modification), making available to the 85 | public, and in some countries other activities as well. 86 | 87 | To "convey" a work means any kind of propagation that enables other 88 | parties to make or receive copies. Mere interaction with a user through 89 | a computer network, with no transfer of a copy, is not conveying. 90 | 91 | An interactive user interface displays "Appropriate Legal Notices" 92 | to the extent that it includes a convenient and prominently visible 93 | feature that (1) displays an appropriate copyright notice, and (2) 94 | tells the user that there is no warranty for the work (except to the 95 | extent that warranties are provided), that licensees may convey the 96 | work under this License, and how to view a copy of this License. If 97 | the interface presents a list of user commands or options, such as a 98 | menu, a prominent item in the list meets this criterion. 99 | 100 | 1. Source Code. 101 | 102 | The "source code" for a work means the preferred form of the work 103 | for making modifications to it. "Object code" means any non-source 104 | form of a work. 105 | 106 | A "Standard Interface" means an interface that either is an official 107 | standard defined by a recognized standards body, or, in the case of 108 | interfaces specified for a particular programming language, one that 109 | is widely used among developers working in that language. 110 | 111 | The "System Libraries" of an executable work include anything, other 112 | than the work as a whole, that (a) is included in the normal form of 113 | packaging a Major Component, but which is not part of that Major 114 | Component, and (b) serves only to enable use of the work with that 115 | Major Component, or to implement a Standard Interface for which an 116 | implementation is available to the public in source code form. A 117 | "Major Component", in this context, means a major essential component 118 | (kernel, window system, and so on) of the specific operating system 119 | (if any) on which the executable work runs, or a compiler used to 120 | produce the work, or an object code interpreter used to run it. 121 | 122 | The "Corresponding Source" for a work in object code form means all 123 | the source code needed to generate, install, and (for an executable 124 | work) run the object code and to modify the work, including scripts to 125 | control those activities. However, it does not include the work's 126 | System Libraries, or general-purpose tools or generally available free 127 | programs which are used unmodified in performing those activities but 128 | which are not part of the work. For example, Corresponding Source 129 | includes interface definition files associated with source files for 130 | the work, and the source code for shared libraries and dynamically 131 | linked subprograms that the work is specifically designed to require, 132 | such as by intimate data communication or control flow between those 133 | subprograms and other parts of the work. 134 | 135 | The Corresponding Source need not include anything that users 136 | can regenerate automatically from other parts of the Corresponding 137 | Source. 138 | 139 | The Corresponding Source for a work in source code form is that 140 | same work. 141 | 142 | 2. Basic Permissions. 143 | 144 | All rights granted under this License are granted for the term of 145 | copyright on the Program, and are irrevocable provided the stated 146 | conditions are met. This License explicitly affirms your unlimited 147 | permission to run the unmodified Program. The output from running a 148 | covered work is covered by this License only if the output, given its 149 | content, constitutes a covered work. This License acknowledges your 150 | rights of fair use or other equivalent, as provided by copyright law. 151 | 152 | You may make, run and propagate covered works that you do not 153 | convey, without conditions so long as your license otherwise remains 154 | in force. You may convey covered works to others for the sole purpose 155 | of having them make modifications exclusively for you, or provide you 156 | with facilities for running those works, provided that you comply with 157 | the terms of this License in conveying all material for which you do 158 | not control copyright. Those thus making or running the covered works 159 | for you must do so exclusively on your behalf, under your direction 160 | and control, on terms that prohibit them from making any copies of 161 | your copyrighted material outside their relationship with you. 162 | 163 | Conveying under any other circumstances is permitted solely under 164 | the conditions stated below. Sublicensing is not allowed; section 10 165 | makes it unnecessary. 166 | 167 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 168 | 169 | No covered work shall be deemed part of an effective technological 170 | measure under any applicable law fulfilling obligations under article 171 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 172 | similar laws prohibiting or restricting circumvention of such 173 | measures. 174 | 175 | When you convey a covered work, you waive any legal power to forbid 176 | circumvention of technological measures to the extent such circumvention 177 | is effected by exercising rights under this License with respect to 178 | the covered work, and you disclaim any intention to limit operation or 179 | modification of the work as a means of enforcing, against the work's 180 | users, your or third parties' legal rights to forbid circumvention of 181 | technological measures. 182 | 183 | 4. Conveying Verbatim Copies. 184 | 185 | You may convey verbatim copies of the Program's source code as you 186 | receive it, in any medium, provided that you conspicuously and 187 | appropriately publish on each copy an appropriate copyright notice; 188 | keep intact all notices stating that this License and any 189 | non-permissive terms added in accord with section 7 apply to the code; 190 | keep intact all notices of the absence of any warranty; and give all 191 | recipients a copy of this License along with the Program. 192 | 193 | You may charge any price or no price for each copy that you convey, 194 | and you may offer support or warranty protection for a fee. 195 | 196 | 5. Conveying Modified Source Versions. 197 | 198 | You may convey a work based on the Program, or the modifications to 199 | produce it from the Program, in the form of source code under the 200 | terms of section 4, provided that you also meet all of these conditions: 201 | 202 | a) The work must carry prominent notices stating that you modified 203 | it, and giving a relevant date. 204 | 205 | b) The work must carry prominent notices stating that it is 206 | released under this License and any conditions added under section 207 | 7. This requirement modifies the requirement in section 4 to 208 | "keep intact all notices". 209 | 210 | c) You must license the entire work, as a whole, under this 211 | License to anyone who comes into possession of a copy. This 212 | License will therefore apply, along with any applicable section 7 213 | additional terms, to the whole of the work, and all its parts, 214 | regardless of how they are packaged. This License gives no 215 | permission to license the work in any other way, but it does not 216 | invalidate such permission if you have separately received it. 217 | 218 | d) If the work has interactive user interfaces, each must display 219 | Appropriate Legal Notices; however, if the Program has interactive 220 | interfaces that do not display Appropriate Legal Notices, your 221 | work need not make them do so. 222 | 223 | A compilation of a covered work with other separate and independent 224 | works, which are not by their nature extensions of the covered work, 225 | and which are not combined with it such as to form a larger program, 226 | in or on a volume of a storage or distribution medium, is called an 227 | "aggregate" if the compilation and its resulting copyright are not 228 | used to limit the access or legal rights of the compilation's users 229 | beyond what the individual works permit. Inclusion of a covered work 230 | in an aggregate does not cause this License to apply to the other 231 | parts of the aggregate. 232 | 233 | 6. Conveying Non-Source Forms. 234 | 235 | You may convey a covered work in object code form under the terms 236 | of sections 4 and 5, provided that you also convey the 237 | machine-readable Corresponding Source under the terms of this License, 238 | in one of these ways: 239 | 240 | a) Convey the object code in, or embodied in, a physical product 241 | (including a physical distribution medium), accompanied by the 242 | Corresponding Source fixed on a durable physical medium 243 | customarily used for software interchange. 244 | 245 | b) Convey the object code in, or embodied in, a physical product 246 | (including a physical distribution medium), accompanied by a 247 | written offer, valid for at least three years and valid for as 248 | long as you offer spare parts or customer support for that product 249 | model, to give anyone who possesses the object code either (1) a 250 | copy of the Corresponding Source for all the software in the 251 | product that is covered by this License, on a durable physical 252 | medium customarily used for software interchange, for a price no 253 | more than your reasonable cost of physically performing this 254 | conveying of source, or (2) access to copy the 255 | Corresponding Source from a network server at no charge. 256 | 257 | c) Convey individual copies of the object code with a copy of the 258 | written offer to provide the Corresponding Source. This 259 | alternative is allowed only occasionally and noncommercially, and 260 | only if you received the object code with such an offer, in accord 261 | with subsection 6b. 262 | 263 | d) Convey the object code by offering access from a designated 264 | place (gratis or for a charge), and offer equivalent access to the 265 | Corresponding Source in the same way through the same place at no 266 | further charge. You need not require recipients to copy the 267 | Corresponding Source along with the object code. If the place to 268 | copy the object code is a network server, the Corresponding Source 269 | may be on a different server (operated by you or a third party) 270 | that supports equivalent copying facilities, provided you maintain 271 | clear directions next to the object code saying where to find the 272 | Corresponding Source. Regardless of what server hosts the 273 | Corresponding Source, you remain obligated to ensure that it is 274 | available for as long as needed to satisfy these requirements. 275 | 276 | e) Convey the object code using peer-to-peer transmission, provided 277 | you inform other peers where the object code and Corresponding 278 | Source of the work are being offered to the general public at no 279 | charge under subsection 6d. 280 | 281 | A separable portion of the object code, whose source code is excluded 282 | from the Corresponding Source as a System Library, need not be 283 | included in conveying the object code work. 284 | 285 | A "User Product" is either (1) a "consumer product", which means any 286 | tangible personal property which is normally used for personal, family, 287 | or household purposes, or (2) anything designed or sold for incorporation 288 | into a dwelling. In determining whether a product is a consumer product, 289 | doubtful cases shall be resolved in favor of coverage. For a particular 290 | product received by a particular user, "normally used" refers to a 291 | typical or common use of that class of product, regardless of the status 292 | of the particular user or of the way in which the particular user 293 | actually uses, or expects or is expected to use, the product. A product 294 | is a consumer product regardless of whether the product has substantial 295 | commercial, industrial or non-consumer uses, unless such uses represent 296 | the only significant mode of use of the product. 297 | 298 | "Installation Information" for a User Product means any methods, 299 | procedures, authorization keys, or other information required to install 300 | and execute modified versions of a covered work in that User Product from 301 | a modified version of its Corresponding Source. The information must 302 | suffice to ensure that the continued functioning of the modified object 303 | code is in no case prevented or interfered with solely because 304 | modification has been made. 305 | 306 | If you convey an object code work under this section in, or with, or 307 | specifically for use in, a User Product, and the conveying occurs as 308 | part of a transaction in which the right of possession and use of the 309 | User Product is transferred to the recipient in perpetuity or for a 310 | fixed term (regardless of how the transaction is characterized), the 311 | Corresponding Source conveyed under this section must be accompanied 312 | by the Installation Information. But this requirement does not apply 313 | if neither you nor any third party retains the ability to install 314 | modified object code on the User Product (for example, the work has 315 | been installed in ROM). 316 | 317 | The requirement to provide Installation Information does not include a 318 | requirement to continue to provide support service, warranty, or updates 319 | for a work that has been modified or installed by the recipient, or for 320 | the User Product in which it has been modified or installed. Access to a 321 | network may be denied when the modification itself materially and 322 | adversely affects the operation of the network or violates the rules and 323 | protocols for communication across the network. 324 | 325 | Corresponding Source conveyed, and Installation Information provided, 326 | in accord with this section must be in a format that is publicly 327 | documented (and with an implementation available to the public in 328 | source code form), and must require no special password or key for 329 | unpacking, reading or copying. 330 | 331 | 7. Additional Terms. 332 | 333 | "Additional permissions" are terms that supplement the terms of this 334 | License by making exceptions from one or more of its conditions. 335 | Additional permissions that are applicable to the entire Program shall 336 | be treated as though they were included in this License, to the extent 337 | that they are valid under applicable law. If additional permissions 338 | apply only to part of the Program, that part may be used separately 339 | under those permissions, but the entire Program remains governed by 340 | this License without regard to the additional permissions. 341 | 342 | When you convey a copy of a covered work, you may at your option 343 | remove any additional permissions from that copy, or from any part of 344 | it. (Additional permissions may be written to require their own 345 | removal in certain cases when you modify the work.) You may place 346 | additional permissions on material, added by you to a covered work, 347 | for which you have or can give appropriate copyright permission. 348 | 349 | Notwithstanding any other provision of this License, for material you 350 | add to a covered work, you may (if authorized by the copyright holders of 351 | that material) supplement the terms of this License with terms: 352 | 353 | a) Disclaiming warranty or limiting liability differently from the 354 | terms of sections 15 and 16 of this License; or 355 | 356 | b) Requiring preservation of specified reasonable legal notices or 357 | author attributions in that material or in the Appropriate Legal 358 | Notices displayed by works containing it; or 359 | 360 | c) Prohibiting misrepresentation of the origin of that material, or 361 | requiring that modified versions of such material be marked in 362 | reasonable ways as different from the original version; or 363 | 364 | d) Limiting the use for publicity purposes of names of licensors or 365 | authors of the material; or 366 | 367 | e) Declining to grant rights under trademark law for use of some 368 | trade names, trademarks, or service marks; or 369 | 370 | f) Requiring indemnification of licensors and authors of that 371 | material by anyone who conveys the material (or modified versions of 372 | it) with contractual assumptions of liability to the recipient, for 373 | any liability that these contractual assumptions directly impose on 374 | those licensors and authors. 375 | 376 | All other non-permissive additional terms are considered "further 377 | restrictions" within the meaning of section 10. If the Program as you 378 | received it, or any part of it, contains a notice stating that it is 379 | governed by this License along with a term that is a further 380 | restriction, you may remove that term. If a license document contains 381 | a further restriction but permits relicensing or conveying under this 382 | License, you may add to a covered work material governed by the terms 383 | of that license document, provided that the further restriction does 384 | not survive such relicensing or conveying. 385 | 386 | If you add terms to a covered work in accord with this section, you 387 | must place, in the relevant source files, a statement of the 388 | additional terms that apply to those files, or a notice indicating 389 | where to find the applicable terms. 390 | 391 | Additional terms, permissive or non-permissive, may be stated in the 392 | form of a separately written license, or stated as exceptions; 393 | the above requirements apply either way. 394 | 395 | 8. Termination. 396 | 397 | You may not propagate or modify a covered work except as expressly 398 | provided under this License. Any attempt otherwise to propagate or 399 | modify it is void, and will automatically terminate your rights under 400 | this License (including any patent licenses granted under the third 401 | paragraph of section 11). 402 | 403 | However, if you cease all violation of this License, then your 404 | license from a particular copyright holder is reinstated (a) 405 | provisionally, unless and until the copyright holder explicitly and 406 | finally terminates your license, and (b) permanently, if the copyright 407 | holder fails to notify you of the violation by some reasonable means 408 | prior to 60 days after the cessation. 409 | 410 | Moreover, your license from a particular copyright holder is 411 | reinstated permanently if the copyright holder notifies you of the 412 | violation by some reasonable means, this is the first time you have 413 | received notice of violation of this License (for any work) from that 414 | copyright holder, and you cure the violation prior to 30 days after 415 | your receipt of the notice. 416 | 417 | Termination of your rights under this section does not terminate the 418 | licenses of parties who have received copies or rights from you under 419 | this License. If your rights have been terminated and not permanently 420 | reinstated, you do not qualify to receive new licenses for the same 421 | material under section 10. 422 | 423 | 9. Acceptance Not Required for Having Copies. 424 | 425 | You are not required to accept this License in order to receive or 426 | run a copy of the Program. Ancillary propagation of a covered work 427 | occurring solely as a consequence of using peer-to-peer transmission 428 | to receive a copy likewise does not require acceptance. However, 429 | nothing other than this License grants you permission to propagate or 430 | modify any covered work. These actions infringe copyright if you do 431 | not accept this License. Therefore, by modifying or propagating a 432 | covered work, you indicate your acceptance of this License to do so. 433 | 434 | 10. Automatic Licensing of Downstream Recipients. 435 | 436 | Each time you convey a covered work, the recipient automatically 437 | receives a license from the original licensors, to run, modify and 438 | propagate that work, subject to this License. You are not responsible 439 | for enforcing compliance by third parties with this License. 440 | 441 | An "entity transaction" is a transaction transferring control of an 442 | organization, or substantially all assets of one, or subdividing an 443 | organization, or merging organizations. If propagation of a covered 444 | work results from an entity transaction, each party to that 445 | transaction who receives a copy of the work also receives whatever 446 | licenses to the work the party's predecessor in interest had or could 447 | give under the previous paragraph, plus a right to possession of the 448 | Corresponding Source of the work from the predecessor in interest, if 449 | the predecessor has it or can get it with reasonable efforts. 450 | 451 | You may not impose any further restrictions on the exercise of the 452 | rights granted or affirmed under this License. For example, you may 453 | not impose a license fee, royalty, or other charge for exercise of 454 | rights granted under this License, and you may not initiate litigation 455 | (including a cross-claim or counterclaim in a lawsuit) alleging that 456 | any patent claim is infringed by making, using, selling, offering for 457 | sale, or importing the Program or any portion of it. 458 | 459 | 11. Patents. 460 | 461 | A "contributor" is a copyright holder who authorizes use under this 462 | License of the Program or a work on which the Program is based. The 463 | work thus licensed is called the contributor's "contributor version". 464 | 465 | A contributor's "essential patent claims" are all patent claims 466 | owned or controlled by the contributor, whether already acquired or 467 | hereafter acquired, that would be infringed by some manner, permitted 468 | by this License, of making, using, or selling its contributor version, 469 | but do not include claims that would be infringed only as a 470 | consequence of further modification of the contributor version. For 471 | purposes of this definition, "control" includes the right to grant 472 | patent sublicenses in a manner consistent with the requirements of 473 | this License. 474 | 475 | Each contributor grants you a non-exclusive, worldwide, royalty-free 476 | patent license under the contributor's essential patent claims, to 477 | make, use, sell, offer for sale, import and otherwise run, modify and 478 | propagate the contents of its contributor version. 479 | 480 | In the following three paragraphs, a "patent license" is any express 481 | agreement or commitment, however denominated, not to enforce a patent 482 | (such as an express permission to practice a patent or covenant not to 483 | sue for patent infringement). To "grant" such a patent license to a 484 | party means to make such an agreement or commitment not to enforce a 485 | patent against the party. 486 | 487 | If you convey a covered work, knowingly relying on a patent license, 488 | and the Corresponding Source of the work is not available for anyone 489 | to copy, free of charge and under the terms of this License, through a 490 | publicly available network server or other readily accessible means, 491 | then you must either (1) cause the Corresponding Source to be so 492 | available, or (2) arrange to deprive yourself of the benefit of the 493 | patent license for this particular work, or (3) arrange, in a manner 494 | consistent with the requirements of this License, to extend the patent 495 | license to downstream recipients. "Knowingly relying" means you have 496 | actual knowledge that, but for the patent license, your conveying the 497 | covered work in a country, or your recipient's use of the covered work 498 | in a country, would infringe one or more identifiable patents in that 499 | country that you have reason to believe are valid. 500 | 501 | If, pursuant to or in connection with a single transaction or 502 | arrangement, you convey, or propagate by procuring conveyance of, a 503 | covered work, and grant a patent license to some of the parties 504 | receiving the covered work authorizing them to use, propagate, modify 505 | or convey a specific copy of the covered work, then the patent license 506 | you grant is automatically extended to all recipients of the covered 507 | work and works based on it. 508 | 509 | A patent license is "discriminatory" if it does not include within 510 | the scope of its coverage, prohibits the exercise of, or is 511 | conditioned on the non-exercise of one or more of the rights that are 512 | specifically granted under this License. You may not convey a covered 513 | work if you are a party to an arrangement with a third party that is 514 | in the business of distributing software, under which you make payment 515 | to the third party based on the extent of your activity of conveying 516 | the work, and under which the third party grants, to any of the 517 | parties who would receive the covered work from you, a discriminatory 518 | patent license (a) in connection with copies of the covered work 519 | conveyed by you (or copies made from those copies), or (b) primarily 520 | for and in connection with specific products or compilations that 521 | contain the covered work, unless you entered into that arrangement, 522 | or that patent license was granted, prior to 28 March 2007. 523 | 524 | Nothing in this License shall be construed as excluding or limiting 525 | any implied license or other defenses to infringement that may 526 | otherwise be available to you under applicable patent law. 527 | 528 | 12. No Surrender of Others' Freedom. 529 | 530 | If conditions are imposed on you (whether by court order, agreement or 531 | otherwise) that contradict the conditions of this License, they do not 532 | excuse you from the conditions of this License. If you cannot convey a 533 | covered work so as to satisfy simultaneously your obligations under this 534 | License and any other pertinent obligations, then as a consequence you may 535 | not convey it at all. For example, if you agree to terms that obligate you 536 | to collect a royalty for further conveying from those to whom you convey 537 | the Program, the only way you could satisfy both those terms and this 538 | License would be to refrain entirely from conveying the Program. 539 | 540 | 13. Remote Network Interaction; Use with the GNU General Public License. 541 | 542 | Notwithstanding any other provision of this License, if you modify the 543 | Program, your modified version must prominently offer all users 544 | interacting with it remotely through a computer network (if your version 545 | supports such interaction) an opportunity to receive the Corresponding 546 | Source of your version by providing access to the Corresponding Source 547 | from a network server at no charge, through some standard or customary 548 | means of facilitating copying of software. This Corresponding Source 549 | shall include the Corresponding Source for any work covered by version 3 550 | of the GNU General Public License that is incorporated pursuant to the 551 | following paragraph. 552 | 553 | Notwithstanding any other provision of this License, you have 554 | permission to link or combine any covered work with a work licensed 555 | under version 3 of the GNU General Public License into a single 556 | combined work, and to convey the resulting work. The terms of this 557 | License will continue to apply to the part which is the covered work, 558 | but the work with which it is combined will remain governed by version 559 | 3 of the GNU General Public License. 560 | 561 | 14. Revised Versions of this License. 562 | 563 | The Free Software Foundation may publish revised and/or new versions of 564 | the GNU Affero General Public License from time to time. Such new versions 565 | will be similar in spirit to the present version, but may differ in detail to 566 | address new problems or concerns. 567 | 568 | Each version is given a distinguishing version number. If the 569 | Program specifies that a certain numbered version of the GNU Affero General 570 | Public License "or any later version" applies to it, you have the 571 | option of following the terms and conditions either of that numbered 572 | version or of any later version published by the Free Software 573 | Foundation. If the Program does not specify a version number of the 574 | GNU Affero General Public License, you may choose any version ever published 575 | by the Free Software Foundation. 576 | 577 | If the Program specifies that a proxy can decide which future 578 | versions of the GNU Affero General Public License can be used, that proxy's 579 | public statement of acceptance of a version permanently authorizes you 580 | to choose that version for the Program. 581 | 582 | Later license versions may give you additional or different 583 | permissions. However, no additional obligations are imposed on any 584 | author or copyright holder as a result of your choosing to follow a 585 | later version. 586 | 587 | 15. Disclaimer of Warranty. 588 | 589 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 590 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 591 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 592 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 593 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 594 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 595 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 596 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 597 | 598 | 16. Limitation of Liability. 599 | 600 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 601 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 602 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 603 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 604 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 605 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 606 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 607 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 608 | SUCH DAMAGES. 609 | 610 | 17. Interpretation of Sections 15 and 16. 611 | 612 | If the disclaimer of warranty and limitation of liability provided 613 | above cannot be given local legal effect according to their terms, 614 | reviewing courts shall apply local law that most closely approximates 615 | an absolute waiver of all civil liability in connection with the 616 | Program, unless a warranty or assumption of liability accompanies a 617 | copy of the Program in return for a fee. 618 | 619 | END OF TERMS AND CONDITIONS 620 | 621 | How to Apply These Terms to Your New Programs 622 | 623 | If you develop a new program, and you want it to be of the greatest 624 | possible use to the public, the best way to achieve this is to make it 625 | free software which everyone can redistribute and change under these terms. 626 | 627 | To do so, attach the following notices to the program. It is safest 628 | to attach them to the start of each source file to most effectively 629 | state the exclusion of warranty; and each file should have at least 630 | the "copyright" line and a pointer to where the full notice is found. 631 | 632 | 633 | Copyright (C) 634 | 635 | This program is free software: you can redistribute it and/or modify 636 | it under the terms of the GNU Affero General Public License as published by 637 | the Free Software Foundation, either version 3 of the License, or 638 | (at your option) any later version. 639 | 640 | This program is distributed in the hope that it will be useful, 641 | but WITHOUT ANY WARRANTY; without even the implied warranty of 642 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 643 | GNU Affero General Public License for more details. 644 | 645 | You should have received a copy of the GNU Affero General Public License 646 | along with this program. If not, see . 647 | 648 | Also add information on how to contact you by electronic and paper mail. 649 | 650 | If your software can interact with users remotely through a computer 651 | network, you should also make sure that it provides a way for users to 652 | get its source. For example, if your program is a web application, its 653 | interface could display a "Source" link that leads users to an archive 654 | of the code. There are many ways you could offer source, and different 655 | solutions will be better for different programs; see section 13 for the 656 | specific requirements. 657 | 658 | You should also get your employer (if you work as a programmer) or school, 659 | if any, to sign a "copyright disclaimer" for the program, if necessary. 660 | For more information on this, and how to apply and follow the GNU AGPL, see 661 | . 662 | -------------------------------------------------------------------------------- /example_datasets/coco8/README.md: -------------------------------------------------------------------------------- 1 | Ultralytics logo 2 | 3 | # Ultralytics COCO8 Dataset 4 | 5 | ## 🚀 Introduction 6 | 7 | The [Ultralytics COCO8 dataset](https://docs.ultralytics.com/datasets/detect/coco8/) is a compact and versatile resource for [object detection](https://www.ultralytics.com/glossary/object-detection) tasks. It consists of the first 8 images from the popular [COCO train 2017 dataset](https://cocodataset.org/#home), split into 4 images for training and 4 for validation. This small dataset is ideal for **quick testing, debugging, and validating** your object detection pipelines within the [Ultralytics](https://www.ultralytics.com/) ecosystem. 8 | 9 | COCO8 is especially useful for verifying your setup before scaling up to [larger datasets](https://docs.ultralytics.com/datasets/), making it a valuable **sanity check** for model training, data loading, and annotation workflows. Its manageable size ensures rapid iteration, whether you are experimenting with new detection strategies or ensuring compatibility with [Ultralytics HUB](https://hub.ultralytics.com/) and [Ultralytics YOLO](https://docs.ultralytics.com/models/yolo11/). To get started with training on COCO8, follow the [Ultralytics Quickstart guide](https://docs.ultralytics.com/quickstart/). 10 | 11 | ## 🖼️ Sample Images and Annotations 12 | 13 | COCO8 features diverse scenes with multiple objects, providing a realistic testing ground for object detection models. Below is a sample visualization from the dataset, displaying annotated images in a training mosaic. This highlights the variety and complexity present, even in a small dataset. 14 | 15 | Dataset sample image 16 | 17 | ## 📚 Resources 18 | 19 | Enhance your experience with COCO8 and Ultralytics tools using these valuable resources: 20 | 21 | - [Ultralytics HUB Quickstart](https://docs.ultralytics.com/hub/quickstart/): Step-by-step guide to training models on datasets like COCO8 using Ultralytics HUB. 22 | - [Ultralytics Documentation](https://docs.ultralytics.com/): Comprehensive guides on model usage, best practices, and advanced features. 23 | - [COCO Dataset Overview](https://docs.ultralytics.com/datasets/detect/coco/): Learn more about the full COCO dataset and its applications in computer vision. 24 | - [Ultralytics Models](https://docs.ultralytics.com/models/): Explore available YOLO models for object detection, segmentation, and more. 25 | - [Ultralytics HUB GitHub Issues](https://github.com/ultralytics/hub/issues/new/choose): Report bugs, request features, or seek troubleshooting support. 26 | - [Ultralytics Discord Community](https://discord.com/invite/ultralytics): Connect with users, developers, and the Ultralytics team for real-time discussions. 27 | - [Ultralytics Community Forums](https://community.ultralytics.com/): Share your projects, ask questions, and engage with the broader Ultralytics community. 28 | - [Ultralytics YOLO11 Model Page](https://docs.ultralytics.com/models/yolo11/): Details on the latest YOLO model architecture and usage. 29 | - [Ultralytics Tasks Overview](https://docs.ultralytics.com/tasks/): Learn about supported computer vision tasks, including detection, segmentation, and more. 30 | - [Ultralytics Model Training Tips](https://docs.ultralytics.com/guides/model-training-tips/): Best practices for efficient and effective model training. 31 | - [Ultralytics Model Evaluation Insights](https://docs.ultralytics.com/guides/model-evaluation-insights/): Guidance on evaluating model performance and interpreting results. 32 | - [Ultralytics Model Deployment Options](https://docs.ultralytics.com/guides/model-deployment-options/): Explore deployment strategies for your trained models. 33 | - [Ultralytics License Information](https://www.ultralytics.com/license): For commercial use or custom solutions, complete the form to obtain an Enterprise License. 34 | 35 | ## 🤝 Contributing 36 | 37 | Contributions are always welcome! If you would like to enhance the COCO8 dataset or its documentation, please review our [Contributing Guide](https://docs.ultralytics.com/help/contributing/) and submit a pull request. Thank you to all our contributors! 38 | 39 | [![Ultralytics open-source contributors](https://raw.githubusercontent.com/ultralytics/assets/main/im/image-contributors.png)](https://github.com/ultralytics/ultralytics/graphs/contributors) 40 | -------------------------------------------------------------------------------- /example_datasets/coco8/coco8.yaml: -------------------------------------------------------------------------------- 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license 2 | 3 | # COCO8 dataset (first 8 images from COCO train2017) by Ultralytics for HUB https://hub.ultralytics.com 4 | # Example usage: yolo train data=coco8.yaml 5 | # parent 6 | # ├── ultralytics 7 | # └── datasets 8 | # └── coco8 ← downloads here (1 MB) 9 | 10 | # Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..] 11 | path: # dataset root dir (leave empty for HUB) 12 | train: images/train # train images (relative to 'path') 4 images 13 | val: images/val # val images (relative to 'path') 4 images 14 | test: # test images (optional) 15 | 16 | # Classes 17 | names: 18 | 0: person 19 | 1: bicycle 20 | 2: car 21 | 3: motorcycle 22 | 4: airplane 23 | 5: bus 24 | 6: train 25 | 7: truck 26 | 8: boat 27 | 9: traffic light 28 | 10: fire hydrant 29 | 11: stop sign 30 | 12: parking meter 31 | 13: bench 32 | 14: bird 33 | 15: cat 34 | 16: dog 35 | 17: horse 36 | 18: sheep 37 | 19: cow 38 | 20: elephant 39 | 21: bear 40 | 22: zebra 41 | 23: giraffe 42 | 24: backpack 43 | 25: umbrella 44 | 26: handbag 45 | 27: tie 46 | 28: suitcase 47 | 29: frisbee 48 | 30: skis 49 | 31: snowboard 50 | 32: sports ball 51 | 33: kite 52 | 34: baseball bat 53 | 35: baseball glove 54 | 36: skateboard 55 | 37: surfboard 56 | 38: tennis racket 57 | 39: bottle 58 | 40: wine glass 59 | 41: cup 60 | 42: fork 61 | 43: knife 62 | 44: spoon 63 | 45: bowl 64 | 46: banana 65 | 47: apple 66 | 48: sandwich 67 | 49: orange 68 | 50: broccoli 69 | 51: carrot 70 | 52: hot dog 71 | 53: pizza 72 | 54: donut 73 | 55: cake 74 | 56: chair 75 | 57: couch 76 | 58: potted plant 77 | 59: bed 78 | 60: dining table 79 | 61: toilet 80 | 62: tv 81 | 63: laptop 82 | 64: mouse 83 | 65: remote 84 | 66: keyboard 85 | 67: cell phone 86 | 68: microwave 87 | 69: oven 88 | 70: toaster 89 | 71: sink 90 | 72: refrigerator 91 | 73: book 92 | 74: clock 93 | 75: vase 94 | 76: scissors 95 | 77: teddy bear 96 | 78: hair drier 97 | 79: toothbrush 98 | 99 | # Download script/URL (optional) 100 | download: 101 | -------------------------------------------------------------------------------- /example_datasets/coco8/images/train/000000000009.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8/images/train/000000000009.jpg -------------------------------------------------------------------------------- /example_datasets/coco8/images/train/000000000025.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8/images/train/000000000025.jpg -------------------------------------------------------------------------------- /example_datasets/coco8/images/train/000000000030.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8/images/train/000000000030.jpg -------------------------------------------------------------------------------- /example_datasets/coco8/images/train/000000000034.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8/images/train/000000000034.jpg -------------------------------------------------------------------------------- /example_datasets/coco8/images/val/000000000036.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8/images/val/000000000036.jpg -------------------------------------------------------------------------------- /example_datasets/coco8/images/val/000000000042.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8/images/val/000000000042.jpg -------------------------------------------------------------------------------- /example_datasets/coco8/images/val/000000000049.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8/images/val/000000000049.jpg -------------------------------------------------------------------------------- /example_datasets/coco8/images/val/000000000061.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/coco8/images/val/000000000061.jpg -------------------------------------------------------------------------------- /example_datasets/coco8/labels/train/000000000009.txt: -------------------------------------------------------------------------------- 1 | 45 0.479492 0.688771 0.955609 0.5955 2 | 45 0.736516 0.247188 0.498875 0.476417 3 | 50 0.637063 0.732938 0.494125 0.510583 4 | 45 0.339438 0.418896 0.678875 0.7815 5 | 49 0.646836 0.132552 0.118047 0.0969375 6 | 49 0.773148 0.129802 0.0907344 0.0972292 7 | 49 0.668297 0.226906 0.131281 0.146896 8 | 49 0.642859 0.0792187 0.148063 0.148062 9 | -------------------------------------------------------------------------------- /example_datasets/coco8/labels/train/000000000025.txt: -------------------------------------------------------------------------------- 1 | 23 0.770336 0.489695 0.335891 0.697559 2 | 23 0.185977 0.901608 0.206297 0.129554 3 | -------------------------------------------------------------------------------- /example_datasets/coco8/labels/train/000000000030.txt: -------------------------------------------------------------------------------- 1 | 58 0.519219 0.451121 0.39825 0.75729 2 | 75 0.501188 0.592138 0.26 0.456192 3 | -------------------------------------------------------------------------------- /example_datasets/coco8/labels/train/000000000034.txt: -------------------------------------------------------------------------------- 1 | 22 0.346211 0.493259 0.689422 0.892118 2 | -------------------------------------------------------------------------------- /example_datasets/coco8/labels/val/000000000036.txt: -------------------------------------------------------------------------------- 1 | 25 0.475759 0.414523 0.951518 0.672422 2 | 0 0.671279 0.617945 0.645759 0.726859 3 | -------------------------------------------------------------------------------- /example_datasets/coco8/labels/val/000000000042.txt: -------------------------------------------------------------------------------- 1 | 16 0.606687 0.341381 0.544156 0.51 2 | -------------------------------------------------------------------------------- /example_datasets/coco8/labels/val/000000000049.txt: -------------------------------------------------------------------------------- 1 | 17 0.597835 0.63755 0.342283 0.36886 2 | 17 0.324291 0.64808 0.219711 0.3164 3 | 0 0.620039 0.5939 0.172415 0.14608 4 | 0 0.385525 0.58557 0.14937 0.12586 5 | 0 0.328898 0.70199 0.0313386 0.06714 6 | 58 0.622546 0.89961 0.185932 0.09446 7 | 0 0.760577 0.69423 0.0285564 0.05486 8 | 0 0.510709 0.69215 0.0187927 0.04682 9 | 0 0.929554 0.67602 0.0388451 0.01844 10 | -------------------------------------------------------------------------------- /example_datasets/coco8/labels/val/000000000061.txt: -------------------------------------------------------------------------------- 1 | 0 0.445688 0.480615 0.075125 0.117295 2 | 0 0.640086 0.471742 0.0508281 0.0814344 3 | 20 0.643211 0.558852 0.129828 0.097623 4 | 20 0.459703 0.592121 0.22175 0.159242 5 | 0 0.435383 0.45832 0.0534531 0.111025 6 | -------------------------------------------------------------------------------- /example_datasets/dota8.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/dota8.zip -------------------------------------------------------------------------------- /example_datasets/dota8/README.md: -------------------------------------------------------------------------------- 1 | Ultralytics logo 2 | 3 | # Ultralytics DOTA8 Dataset 4 | 5 | ## 📄 Introduction 6 | 7 | The **Ultralytics DOTA8** dataset is a compact and versatile resource for **oriented object detection (OBB)** tasks. It contains 8 images sampled from the [DOTAv1 dataset](https://captain-whu.github.io/DOTA/dataset.html), split evenly with 4 images for training and 4 for validation. DOTA8 is specifically crafted for rapid testing, debugging, and experimentation with [OBB models](https://docs.ultralytics.com/tasks/obb/) in the Ultralytics ecosystem. 8 | 9 | Despite its small size, DOTA8 offers a diverse set of scenarios, making it ideal for quickly verifying [training pipelines](https://docs.ultralytics.com/modes/train/) and ensuring your setup is error-free before scaling up to larger datasets. Its simplicity enables fast iteration and serves as a reliable sanity check for model evaluation and development. 10 | 11 | DOTA8 is fully compatible with [Ultralytics HUB](https://docs.ultralytics.com/hub/) and the latest [Ultralytics YOLO](https://docs.ultralytics.com/models/yolo11/) models, empowering users to streamline their OBB workflows. 12 | 13 | ## 📚 Resources 14 | 15 | Enhance your experience with DOTA8 and Ultralytics tools using these valuable resources: 16 | 17 | - [Ultralytics HUB Quickstart](https://docs.ultralytics.com/hub/quickstart/): Step-by-step guide to training models on datasets like COCO8 using Ultralytics HUB. 18 | - [Ultralytics Documentation](https://docs.ultralytics.com/): Comprehensive guides on model usage, best practices, and advanced features. 19 | - [COCO Dataset Overview](https://docs.ultralytics.com/datasets/detect/coco/): Learn more about the full COCO dataset and its applications in computer vision. 20 | - [Ultralytics Models](https://docs.ultralytics.com/models/): Explore available YOLO models for object detection, segmentation, and more. 21 | - [Ultralytics HUB GitHub Issues](https://github.com/ultralytics/hub/issues/new/choose): Report bugs, request features, or seek troubleshooting support. 22 | - [Ultralytics Discord Community](https://discord.com/invite/ultralytics): Connect with users, developers, and the Ultralytics team for real-time discussions. 23 | - [Ultralytics Community Forums](https://community.ultralytics.com/): Share your projects, ask questions, and engage with the broader Ultralytics community. 24 | - [Ultralytics YOLO11 Model Page](https://docs.ultralytics.com/models/yolo11/): Details on the latest YOLO model architecture and usage. 25 | - [Ultralytics Tasks Overview](https://docs.ultralytics.com/tasks/): Learn about supported computer vision tasks, including detection, segmentation, and more. 26 | - [Ultralytics Model Training Tips](https://docs.ultralytics.com/guides/model-training-tips/): Best practices for efficient and effective model training. 27 | - [Ultralytics Model Evaluation Insights](https://docs.ultralytics.com/guides/model-evaluation-insights/): Guidance on evaluating model performance and interpreting results. 28 | - [Ultralytics Model Deployment Options](https://docs.ultralytics.com/guides/model-deployment-options/): Explore deployment strategies for your trained models. 29 | - [Ultralytics License Information](https://www.ultralytics.com/license): For commercial use or custom solutions, complete the form to obtain an Enterprise License. 30 | 31 | For questions about enterprise licensing or commercial applications, please see [Ultralytics Licensing](https://www.ultralytics.com/license). 32 | 33 | ## 🤝 Contributing 34 | 35 | Contributions are highly encouraged! If you would like to enhance the DOTA8 dataset or its documentation, please review our [Contributing Guide](https://docs.ultralytics.com/help/contributing/) and submit a pull request. Your support helps strengthen the Ultralytics open-source community. 36 | 37 | [![Ultralytics open-source contributors](https://raw.githubusercontent.com/ultralytics/assets/main/im/image-contributors.png)](https://github.com/ultralytics/ultralytics/graphs/contributors) 38 | -------------------------------------------------------------------------------- /example_datasets/dota8/dota8.yaml: -------------------------------------------------------------------------------- 1 | # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license 2 | 3 | # DOTA8 dataset 8 images from split DOTAv1 dataset by Ultralytics 4 | # Documentation: https://docs.ultralytics.com/datasets/obb/dota8/ 5 | # Example usage: yolo train model=yolov8n-obb.pt data=dota8.yaml 6 | # parent 7 | # ├── ultralytics 8 | # └── datasets 9 | # └── dota8 ← downloads here (1MB) 10 | 11 | train: images/train # train images (relative to 'path') 4 images 12 | val: images/val # val images (relative to 'path') 4 images 13 | 14 | # Classes for DOTA 1.0 15 | names: 16 | 0: plane 17 | 1: ship 18 | 2: storage tank 19 | 3: baseball diamond 20 | 4: tennis court 21 | 5: basketball court 22 | 6: ground track field 23 | 7: harbor 24 | 8: bridge 25 | 9: large vehicle 26 | 10: small vehicle 27 | 11: helicopter 28 | 12: roundabout 29 | 13: soccer ball field 30 | 14: swimming pool 31 | -------------------------------------------------------------------------------- /example_datasets/dota8/images/train/P0861__1024__0___1648.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/dota8/images/train/P0861__1024__0___1648.jpg -------------------------------------------------------------------------------- /example_datasets/dota8/images/train/P1053__1024__0___90.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/dota8/images/train/P1053__1024__0___90.jpg -------------------------------------------------------------------------------- /example_datasets/dota8/images/train/P1142__1024__0___824.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/dota8/images/train/P1142__1024__0___824.jpg -------------------------------------------------------------------------------- /example_datasets/dota8/images/train/P1161__1024__3296___1648.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/dota8/images/train/P1161__1024__3296___1648.jpg -------------------------------------------------------------------------------- /example_datasets/dota8/images/val/P1470__1024__3296___1648.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/dota8/images/val/P1470__1024__3296___1648.jpg -------------------------------------------------------------------------------- /example_datasets/dota8/images/val/P1571__1024__2976___0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/dota8/images/val/P1571__1024__2976___0.jpg -------------------------------------------------------------------------------- /example_datasets/dota8/images/val/P1580__1024__824___824.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/dota8/images/val/P1580__1024__824___824.jpg -------------------------------------------------------------------------------- /example_datasets/dota8/images/val/P1724__1024__0___824.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/dota8/images/val/P1724__1024__0___824.jpg -------------------------------------------------------------------------------- /example_datasets/dota8/labels/train.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/dota8/labels/train.cache -------------------------------------------------------------------------------- /example_datasets/dota8/labels/train/P0861__1024__0___1648.txt: -------------------------------------------------------------------------------- 1 | 1 0.813477 0.523437 0.814453 0.504882 0.87207 0.504882 0.87207 0.524414 2 | 1 0.81836 0.451172 0.817384 0.434571 0.871094 0.434571 0.870117 0.453126 3 | 1 0.8125 0.427735 0.8125 0.40918 0.869141 0.412109 0.868165 0.429686 4 | 1 0.815429 0.403321 0.816405 0.384766 0.870117 0.386718 0.869141 0.403321 5 | 1 0.814453 0.381836 0.815429 0.362304 0.873046 0.365235 0.87207 0.382812 6 | 1 0.821289 0.336913 0.820313 0.318358 0.874022 0.319335 0.874022 0.338867 7 | 1 0.87207 0.279297 0.871094 0.295898 0.819336 0.293944 0.820313 0.276366 8 | 1 0.823241 0.271484 0.822265 0.257812 0.874022 0.258789 0.873046 0.273438 9 | 1 0.823241 0.250001 0.823241 0.234375 0.875001 0.23828 0.874022 0.251953 10 | 1 0.823241 0.229493 0.823241 0.212892 0.875977 0.21582 0.875001 0.232421 11 | 1 0.823241 0.208984 0.824218 0.192383 0.87793 0.195311 0.878906 0.210938 12 | 1 0.875977 0.172851 0.874022 0.186524 0.81836 0.186524 0.81836 0.170897 13 | 1 0.821289 0.166992 0.821289 0.151368 0.868165 0.152343 0.868165 0.167969 14 | 1 0.881837 0.13086 0.880858 0.147461 0.822265 0.147461 0.823241 0.129883 15 | 1 0.820313 0.125978 0.820313 0.109374 0.875977 0.110351 0.874022 0.125 16 | 1 0.827149 0.105469 0.827149 0.0888681 0.881837 0.0898451 0.881837 0.105469 17 | 1 0.824218 0.0859371 0.823241 0.0644542 0.884766 0.0673823 0.882813 0.0878911 18 | 1 0.87793 0.0468737 0.876953 0.0654285 0.824218 0.0644542 0.824218 0.0458995 19 | 1 0.823241 0.0439454 0.824218 0.0263677 0.87793 0.029296 0.876953 0.0449225 20 | 1 0.56836 0.0849601 0.586914 0.0937504 0.565429 0.134765 0.545897 0.126952 21 | 1 0.618165 0.195311 0.608398 0.209961 0.557617 0.180665 0.567382 0.166015 22 | 1 0.629882 0.173828 0.619141 0.190429 0.567382 0.160156 0.579101 0.144532 23 | 1 0.81836 0.474609 0.819336 0.457031 0.87207 0.458985 0.87207 0.475586 24 | 1 0.875977 0.530273 0.875001 0.548828 0.817384 0.5459 0.81836 0.529296 25 | 1 0.666991 0.0976555 0.657226 0.112305 0.605469 0.0869141 0.61621 0.0703135 26 | 1 0.87207 0.552733 0.87207 0.569336 0.814453 0.56836 0.815429 0.551759 27 | 1 0.763672 0.495118 0.763672 0.482422 0.800781 0.483399 0.800781 0.496095 28 | 1 0.805664 0.460937 0.805664 0.478514 0.763672 0.478514 0.763672 0.460937 29 | 1 0.807617 0.393554 0.807617 0.414063 0.753907 0.412109 0.753907 0.390626 30 | 1 0.806641 0.372071 0.805664 0.389649 0.75586 0.388672 0.754883 0.371094 31 | 1 0.809569 0.347657 0.810548 0.368163 0.750976 0.367189 0.750976 0.344726 32 | 1 0.810548 0.325194 0.810548 0.343749 0.752929 0.341798 0.753907 0.322266 33 | 1 0.75 0.319335 0.75 0.298829 0.809569 0.30078 0.809569 0.320312 34 | 1 0.803712 0.281249 0.802733 0.295898 0.753907 0.293944 0.754883 0.27832 35 | 1 0.809569 0.25586 0.807617 0.276366 0.751952 0.274415 0.751952 0.253906 36 | 1 0.809569 0.235352 0.809569 0.251953 0.741211 0.250001 0.741211 0.231447 37 | 1 0.808593 0.212892 0.808593 0.231447 0.752929 0.230469 0.752929 0.209961 38 | 1 0.808593 0.192383 0.808593 0.207033 0.75586 0.207033 0.75586 0.189452 39 | 1 0.750976 0.18457 0.751952 0.164061 0.8125 0.168946 0.811524 0.187501 40 | 1 0.8125 0.148437 0.811524 0.165038 0.763672 0.164061 0.763672 0.147461 41 | 1 0.816405 0.0957043 0.815429 0.105469 0.782227 0.102538 0.782227 0.0947274 42 | 1 0.815429 0.109374 0.815429 0.124024 0.77246 0.121093 0.77246 0.107423 43 | 1 0.815429 0.127929 0.816405 0.145507 0.759765 0.144532 0.759765 0.128906 44 | 1 0.810548 0.605469 0.811524 0.585937 0.880858 0.589843 0.879882 0.609374 45 | 1 0.59375 0.114259 0.601562 0.0996096 0.653321 0.125 0.642578 0.138673 46 | 1 0.617186 0.0683594 0.62793 0.0517586 0.673827 0.0751957 0.663086 0.0917963 47 | 1 0.365234 0.0351553 0.371094 0.0156262 0.416991 0.029296 0.41211 0.0468737 48 | 1 0.192383 0.155274 0.197266 0.140624 0.242188 0.15332 0.237304 0.166015 49 | 1 0.19043 0.133788 0.194336 0.117187 0.25 0.128906 0.246093 0.147461 50 | 1 0.201172 0.104492 0.205078 0.0927733 0.249024 0.103515 0.24414 0.114259 51 | 1 0.202148 0.0849601 0.208984 0.0693364 0.260743 0.082032 0.25586 0.0976555 52 | 1 0.269532 0.0361323 0.264648 0.0517586 0.21582 0.0390632 0.219727 0.0244138 53 | 1 0.223632 0.0146493 0.228516 -0.0029285 0.277344 0.0107412 0.272461 0.0273447 54 | 1 0.427735 0.00585902 0.422851 0.0244138 0.373046 0.0117183 0.378906 -0.00781345 55 | 1 0.361329 0.0595692 0.36621 0.0400403 0.411134 0.0527357 0.405274 0.0712905 56 | 1 0.69629 0.0244138 0.687499 0.0390632 0.648438 0.0175775 0.65625 0.00293076 57 | 1 0.350586 0.100587 0.354493 0.0839832 0.401367 0.0976555 0.395507 0.114259 58 | 1 0.317382 0.202148 0.314453 0.212892 0.249024 0.197265 0.252929 0.18457 59 | 1 0.172852 0.176757 0.175781 0.166015 0.208008 0.172851 0.205078 0.181642 60 | 1 0.205078 0.185547 0.208984 0.171874 0.251952 0.185547 0.248047 0.197265 61 | 1 0.351562 0.208984 0.348633 0.219725 0.317382 0.210938 0.320313 0.200196 62 | 1 0.385742 0.216797 0.384766 0.228516 0.350586 0.221679 0.352538 0.208984 63 | 1 0.435547 0.208984 0.432618 0.222656 0.38379 0.212892 0.387695 0.200196 64 | 1 0.391602 0.192383 0.395507 0.178711 0.432618 0.187501 0.427735 0.201171 65 | 1 0.442383 0.167969 0.439454 0.182616 0.397462 0.172851 0.401367 0.160156 66 | 1 0.447266 0.149414 0.443359 0.163087 0.401367 0.154297 0.405274 0.139647 67 | 1 0.411134 0.136719 0.415039 0.121093 0.449219 0.13086 0.445312 0.143555 68 | 1 0.413086 0.112305 0.41797 0.0996096 0.449219 0.107423 0.445312 0.121093 69 | 1 0.418946 0.0937504 0.423827 0.0791008 0.463867 0.0908194 0.458984 0.104492 70 | 1 0.429687 0.0468737 0.432618 0.034181 0.483399 0.0458995 0.478516 0.0605463 71 | 1 0.432618 0.028319 0.438476 0.00879002 0.487304 0.0214854 0.482423 0.0400403 72 | 1 0.310548 0.187501 0.314453 0.173828 0.379882 0.188478 0.375977 0.202148 73 | 1 0.31836 0.166015 0.323242 0.151368 0.38379 0.166992 0.379882 0.181642 74 | 1 0.31836 0.143555 0.325196 0.125978 0.390626 0.143555 0.384766 0.160156 75 | 1 0.862305 0.299803 0.862305 0.31543 0.817384 0.314453 0.81836 0.299803 76 | 1 1.01465 0.458985 1.01465 0.476563 0.962891 0.475586 0.963867 0.457031 77 | 1 1.01074 0.397462 1.01074 0.413086 0.970703 0.412109 0.969727 0.395508 78 | 1 1.00976 0.214843 1.00976 0.226562 0.97461 0.226562 0.975587 0.214843 79 | 1 1.00879 0.480468 1.00879 0.493164 0.968751 0.493164 0.967774 0.479491 80 | 1 1.01074 0.500977 1.00976 0.512695 0.971679 0.513672 0.970703 0.5 81 | 1 0.976563 0.532227 0.975587 0.518555 1.00586 0.520509 1.00586 0.534178 82 | 1 1.0127 0.539063 1.0127 0.552733 0.96582 0.551759 0.966796 0.538086 83 | 1 0.943359 0.609374 0.943359 0.589843 1.00488 0.589843 1.00488 0.608397 84 | 1 0.958984 0.572265 0.958984 0.556641 1.00976 0.558595 1.00976 0.573242 85 | 7 0.752929 0.0136722 0.87793 0.0205084 0.868165 0.603515 0.740235 0.600587 86 | 7 0.558593 0.362304 0.626953 0.325194 0.748047 0.580078 0.691407 0.608397 87 | 7 0.675782 -0.072265 0.74414 -0.0361326 0.608398 0.209961 0.544921 0.168946 88 | 7 0.375001 -0.0126957 0.491211 0.0156262 0.441407 0.219725 0.324218 0.187501 89 | 7 0.230468 -0.0595696 0.291992 -0.0429689 0.240235 0.169923 0.176758 0.151368 90 | 1 0.589845 0.370117 0.581054 0.352539 0.623046 0.328125 0.635742 0.347657 91 | 1 0.619141 0.358399 0.623046 0.368163 0.595702 0.381836 0.589845 0.371094 92 | 1 0.598633 0.399413 0.592773 0.387695 0.625001 0.374022 0.629882 0.385743 93 | 1 0.607422 0.413086 0.602538 0.401367 0.63379 0.390626 0.638671 0.402344 94 | 1 0.617186 0.430663 0.610353 0.417968 0.640626 0.402344 0.646485 0.41504 95 | 1 0.626953 0.443359 0.621094 0.43164 0.647462 0.420899 0.653321 0.432617 96 | 1 0.657226 0.432617 0.66211 0.44629 0.632813 0.45996 0.625977 0.447267 97 | 1 0.647462 0.49121 0.640626 0.47754 0.66797 0.463867 0.674806 0.478514 98 | 1 0.657226 0.504882 0.65039 0.49121 0.678711 0.479491 0.68457 0.494141 99 | 1 0.66211 0.519532 0.65625 0.506836 0.685547 0.495118 0.69043 0.507813 100 | 1 0.670898 0.535155 0.664062 0.523437 0.695312 0.510741 0.700195 0.523437 101 | 1 0.679687 0.549805 0.673827 0.539063 0.699219 0.528319 0.704102 0.538086 102 | 1 0.685547 0.56836 0.677734 0.554687 0.708007 0.54004 0.714843 0.55371 103 | 1 0.691407 0.58496 0.685547 0.573242 0.717774 0.556641 0.72461 0.56836 104 | 1 0.663086 0.543946 0.652343 0.549805 0.637695 0.518555 0.647462 0.514649 105 | 1 0.638671 0.500977 0.62793 0.506836 0.612305 0.476563 0.624023 0.470704 106 | 1 0.61621 0.451172 0.606445 0.455077 0.589845 0.428712 0.600586 0.423827 107 | 1 0.573242 0.386718 0.565429 0.390626 0.551757 0.36914 0.5625 0.365235 108 | 1 0.176758 0.101563 0.189453 0.104492 0.183594 0.128906 0.171875 0.125 109 | 1 0.185547 0.0742186 0.197266 0.0761727 0.188477 0.100587 0.179688 0.0976555 110 | 1 0.193359 0.0419915 0.204102 0.0458995 0.195313 0.0751957 0.183594 0.0712905 111 | -------------------------------------------------------------------------------- /example_datasets/dota8/labels/train/P1053__1024__0___90.txt: -------------------------------------------------------------------------------- 1 | 10 0.166016 0.492188 0.15039 0.500977 0.132812 0.467773 0.148438 0.458007 2 | 10 0.276367 0.179688 0.260743 0.188476 0.245117 0.156251 0.261719 0.146485 3 | 10 0.27832 0.321289 0.263671 0.331055 0.24707 0.301758 0.260743 0.291992 4 | 10 0.183594 0.225586 0.168946 0.231446 0.160157 0.206054 0.173828 0.200195 5 | 14 0.506836 0.16211 0.689453 0.168945 0.682617 0.298828 0.499023 0.289062 6 | 4 0.816406 0.21582 0.900391 0.22168 0.889648 0.396484 0.808593 0.391602 7 | 4 0.90332 0.545898 0.987304 0.549805 0.978515 0.727539 0.891601 0.72168 8 | 4 0.771485 0.506836 0.853515 0.510742 0.844726 0.6875 0.760742 0.683594 9 | 4 0.636719 0.498047 0.719726 0.503907 0.709961 0.679688 0.625977 0.673829 10 | 4 0.500976 0.516601 0.584961 0.521485 0.575195 0.698242 0.491211 0.692383 11 | 4 0.366211 0.509766 0.451173 0.515625 0.441406 0.69043 0.356446 0.683594 12 | 4 0.224609 0.646484 0.307617 0.651367 0.297852 0.828125 0.214844 0.821289 13 | 4 0.0927734 0.638672 0.175781 0.644532 0.165039 0.820312 0.0800782 0.81543 14 | -------------------------------------------------------------------------------- /example_datasets/dota8/labels/train/P1142__1024__0___824.txt: -------------------------------------------------------------------------------- 1 | 0 0.779296 0.690429 0.625976 0.451171 0.88965 0.266601 1.04199 0.51465 2 | -------------------------------------------------------------------------------- /example_datasets/dota8/labels/train/P1161__1024__3296___1648.txt: -------------------------------------------------------------------------------- 1 | 0 0.33789 0.984377 0.1875 1.05664 0.111329 0.89844 0.267575 0.828125 2 | -------------------------------------------------------------------------------- /example_datasets/dota8/labels/val.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/dota8/labels/val.cache -------------------------------------------------------------------------------- /example_datasets/dota8/labels/val/P1470__1024__3296___1648.txt: -------------------------------------------------------------------------------- 1 | 13 0.241213 0.0185549 0.63672 0.0185549 0.63672 0.281247 0.241213 0.281247 2 | 5 0.659178 0.020506 0.779298 0.020506 0.779298 0.229495 0.659178 0.229495 3 | 5 0.781248 0.020506 0.902341 0.020506 0.902341 0.229495 0.781248 0.229495 4 | 5 0.905276 0.0185549 1.02246 0.0185549 1.02246 0.227538 0.905276 0.227538 5 | -------------------------------------------------------------------------------- /example_datasets/dota8/labels/val/P1571__1024__2976___0.txt: -------------------------------------------------------------------------------- 1 | 3 0.895508 0.454102 0.90918 0.508791 0.856445 0.525389 0.84082 0.469727 2 | -------------------------------------------------------------------------------- /example_datasets/dota8/labels/val/P1580__1024__824___824.txt: -------------------------------------------------------------------------------- 1 | 3 0.867188 0.578125 0.912109 0.620117 0.864258 0.658203 0.820312 0.614258 2 | 3 0.834961 0.43457 0.823242 0.387695 0.87207 0.37793 0.883789 0.423828 3 | -------------------------------------------------------------------------------- /example_datasets/dota8/labels/val/P1724__1024__0___824.txt: -------------------------------------------------------------------------------- 1 | 3 0.264648 0.892579 0.331055 0.882811 0.34082 0.951173 0.277344 0.961914 2 | -------------------------------------------------------------------------------- /example_datasets/imagenet10.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10.zip -------------------------------------------------------------------------------- /example_datasets/imagenet10/train/cock/n01514668_23019.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/train/cock/n01514668_23019.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/train/electric_ray/n01496331_33488.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/train/electric_ray/n01496331_33488.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/train/goldfish/n01443537_22323.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/train/goldfish/n01443537_22323.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/train/great_white_shark/n01484850_7967.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/train/great_white_shark/n01484850_7967.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/train/hammerhead/n01494475_16184.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/train/hammerhead/n01494475_16184.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/train/hen/n01514859_3376.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/train/hen/n01514859_3376.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/train/ostrich/n01518878_42327.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/train/ostrich/n01518878_42327.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/train/stingray/n01498041_4566.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/train/stingray/n01498041_4566.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/train/tench/n01440764_2923 copy.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/train/tench/n01440764_2923 copy.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/train/tench/n01440764_2923.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/train/tench/n01440764_2923.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/train/tiger_shark/n01491361_2692.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/train/tiger_shark/n01491361_2692.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/val/cock/ILSVRC2012_val_00003606.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/val/cock/ILSVRC2012_val_00003606.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/val/electric_ray/ILSVRC2012_val_00042751.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/val/electric_ray/ILSVRC2012_val_00042751.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/val/goldfish/ILSVRC2012_val_00002241 copy.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/val/goldfish/ILSVRC2012_val_00002241 copy.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/val/goldfish/ILSVRC2012_val_00002241.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/val/goldfish/ILSVRC2012_val_00002241.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/val/great_white_shark/ILSVRC2012_val_00044052.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/val/great_white_shark/ILSVRC2012_val_00044052.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/val/hammerhead/ILSVRC2012_val_00021325.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/val/hammerhead/ILSVRC2012_val_00021325.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/val/hen/ILSVRC2012_val_00021430.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/val/hen/ILSVRC2012_val_00021430.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/val/ostrich/ILSVRC2012_val_00017839.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/val/ostrich/ILSVRC2012_val_00017839.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/val/stingray/ILSVRC2012_val_00006402.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/val/stingray/ILSVRC2012_val_00006402.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/val/tench/ILSVRC2012_val_00041939.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/val/tench/ILSVRC2012_val_00041939.JPEG -------------------------------------------------------------------------------- /example_datasets/imagenet10/val/tiger_shark/ILSVRC2012_val_00030926.JPEG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ultralytics/hub/802c38446d0c429a80735c6aa3d11801c5a68c3d/example_datasets/imagenet10/val/tiger_shark/ILSVRC2012_val_00030926.JPEG -------------------------------------------------------------------------------- /hub.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": { 6 | "id": "FIzICjaph_Wy" 7 | }, 8 | "source": [ 9 | "\n", 10 | "\n", 11 | "\n", 12 | "
\n", 13 | "\n", 14 | "[中文](https://docs.ultralytics.com/zh/hub/) | [한국어](https://docs.ultralytics.com/ko/hub/) | [日本語](https://docs.ultralytics.com/ja/hub/) | [Русский](https://docs.ultralytics.com/ru/hub/) | [Deutsch](https://docs.ultralytics.com/de/hub/) | [Français](https://docs.ultralytics.com/fr/hub/) | [Español](https://docs.ultralytics.com/es/hub/) | [Português](https://docs.ultralytics.com/pt/hub/) | [Türkçe](https://docs.ultralytics.com/tr/hub/) | [Tiếng Việt](https://docs.ultralytics.com/vi/hub/) | [العربية](https://docs.ultralytics.com/ar/hub/)\n", 15 | "\n", 16 | " \"CI\n", 17 | " \"Open\n", 18 | "\n", 19 | " \"Discord\"\n", 20 | " \"Ultralytics\n", 21 | " \"Ultralytics\n", 22 | "\n", 23 | "Welcome to the [Ultralytics](https://ultralytics.com/) HUB notebook!\n", 24 | "\n", 25 | "This notebook allows you to train Ultralytics [YOLO](https://github.com/ultralytics/ultralytics) 🚀 models using [HUB](https://hub.ultralytics.com/). Please browse the HUB Docs for details, raise an issue on GitHub for support, and join our Discord community for questions and discussions!\n", 26 | "
" 27 | ] 28 | }, 29 | { 30 | "cell_type": "markdown", 31 | "metadata": { 32 | "id": "eRQ2ow94MiOv" 33 | }, 34 | "source": [ 35 | "# Setup\n", 36 | "\n", 37 | "Pip install `ultralytics` and [dependencies](https://github.com/ultralytics/ultralytics/blob/main/pyproject.toml) and check software and hardware.\n", 38 | "\n", 39 | "[![PyPI - Version](https://img.shields.io/pypi/v/ultralytics?logo=pypi&logoColor=white)](https://pypi.org/project/ultralytics/) [![Downloads](https://static.pepy.tech/badge/ultralytics)](https://www.pepy.tech/projects/ultralytics) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ultralytics?logo=python&logoColor=gold)](https://pypi.org/project/ultralytics/)" 40 | ] 41 | }, 42 | { 43 | "cell_type": "code", 44 | "execution_count": 1, 45 | "metadata": { 46 | "colab": { 47 | "base_uri": "https://localhost:8080/" 48 | }, 49 | "id": "FyDnXd-n4c7Y", 50 | "outputId": "bb836f79-9154-47c6-abc7-f1acd912ff3a" 51 | }, 52 | "outputs": [ 53 | { 54 | "output_type": "stream", 55 | "name": "stdout", 56 | "text": [ 57 | "Ultralytics 8.3.99 🚀 Python-3.11.11 torch-2.6.0+cu124 CUDA:0 (Tesla T4, 15095MiB)\n", 58 | "Setup complete ✅ (2 CPUs, 12.7 GB RAM, 39.6/112.6 GB disk)\n" 59 | ] 60 | } 61 | ], 62 | "source": [ 63 | "%pip install ultralytics\n", 64 | "from ultralytics import YOLO, checks, hub\n", 65 | "\n", 66 | "checks() # Verify system setup for Ultralytics training" 67 | ] 68 | }, 69 | { 70 | "cell_type": "markdown", 71 | "metadata": { 72 | "id": "cQ9BwaAqxAm4" 73 | }, 74 | "source": [ 75 | "# Start\n", 76 | "\n", 77 | "⚡ Login with your API key, load your YOLO 🚀 model, and start training in 3 lines of code!" 78 | ] 79 | }, 80 | { 81 | "cell_type": "code", 82 | "execution_count": null, 83 | "metadata": { 84 | "id": "XSlZaJ9Iw_iZ" 85 | }, 86 | "outputs": [], 87 | "source": [ 88 | "# Login to HUB using your API key (https://hub.ultralytics.com/settings?tab=api+keys)\n", 89 | "hub.login(\"YOUR_API_KEY\")\n", 90 | "\n", 91 | "# Load your model from HUB (replace 'YOUR_MODEL_ID' with your model ID)\n", 92 | "model = YOLO(\"https://hub.ultralytics.com/models/YOUR_MODEL_ID\")\n", 93 | "\n", 94 | "# Train the model\n", 95 | "results = model.train()" 96 | ] 97 | } 98 | ], 99 | "metadata": { 100 | "accelerator": "GPU", 101 | "colab": { 102 | "name": "Ultralytics HUB", 103 | "provenance": [] 104 | }, 105 | "kernelspec": { 106 | "display_name": "Python 3", 107 | "name": "python3" 108 | }, 109 | "language_info": { 110 | "name": "python" 111 | } 112 | }, 113 | "nbformat": 4, 114 | "nbformat_minor": 0 115 | } 116 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | # Ultralytics requirements 2 | # Usage: pip install -r requirements.txt 3 | 4 | ultralytics>=8.0.232 5 | --------------------------------------------------------------------------------