Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COCO8-multitask dataset for the Multitask Model #532

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added example_datasets/coco8-multitask.zip
Binary file not shown.
33 changes: 33 additions & 0 deletions example_datasets/coco8-multitask/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Ultralytics COCO8-multitask Dataset

## Introduction

[Ultralytics](https://ultralytics.com) COCO8-multitask is a small, but versatile multitask dataset composed of the 8 images of the COCO train 2017 set, 4 for training and 4 for validation. This dataset is ideal for testing and
debugging multitask models, or for experimenting with new detection approaches. With 8 images, it is small enough to
be easily manageable, yet diverse enough to test training pipelines for errors and act as a sanity check before training
larger datasets.

This dataset is intended for use with Ultralytics [HUB](https://hub.ultralytics.com)
and [YOLOv8](https://github.com/ultralytics/ultralytics).

## Sample Images and Annotations

Here are some examples of images from the dataset, along with their corresponding annotations in a training mosaic:

<img src="https://github.com/stedavkle/hub/assets/77785743/b3d30e02-320f-415f-b18d-1718ddc236c4" alt="Dataset sample image" width="800">

## Resources

We hope that the variety of resources provided here will help you get the most out of HUB and maximize your experience!

with HUB and COCO8-multitask.

- Browse the [Docs](https://docs.ultralytics.com/) for details on usage and implementation.
- Raise an issue on [GitHub](https://github.com/ultralytics/hub/issues/new/choose) for support and troubleshooting.
- Join our [Discord](https://discord.gg/n6cFeSPZdD) community for questions and discussions with fellow users and
developers.
- Learn more about Ultralytics and our work at our [Community](https://community.ultralytics.com) page.
- Explore the Ultralytics YOLOv8 [GitHub](https://github.com/ultralytics/ultralytics) repository for additional tools
and resources.

To request an Enterprise License, please complete the form at [Ultralytics Licensing](https://ultralytics.com/license).
109 changes: 109 additions & 0 deletions example_datasets/coco8-multitask/coco8-multitask.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
# Ultralytics YOLO 🚀, AGPL-3.0 license
# COCO8-seg dataset (first 8 images from COCO train2017) by Ultralytics
# Example usage: yolo train data=coco8-multitask.yaml
# parent
# ├── ultralytics
# └── datasets
# └── coco8-seg ← downloads here (1 MB)


# 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, ..]
path: # dataset root dir (leave empty for HUB)
train: images/train # train images (relative to 'path') 4 images
val: images/val # val images (relative to 'path') 4 images
test: # test images (optional)

# Keypoints
kpt_shape: [17, 3] # number of keypoints, number of dims (2 for x,y or 3 for x,y,visible)
flip_idx: [0, 2, 1, 4, 3, 6, 5, 8, 7, 10, 9, 12, 11, 14, 13, 16, 15]

# Classes
kpt_names:
0: person

# Classes
names:
0: person
1: bicycle
2: car
3: motorcycle
4: airplane
5: bus
6: train
7: truck
8: boat
9: traffic light
10: fire hydrant
11: stop sign
12: parking meter
13: bench
14: bird
15: cat
16: dog
17: horse
18: sheep
19: cow
20: elephant
21: bear
22: zebra
23: giraffe
24: backpack
25: umbrella
26: handbag
27: tie
28: suitcase
29: frisbee
30: skis
31: snowboard
32: sports ball
33: kite
34: baseball bat
35: baseball glove
36: skateboard
37: surfboard
38: tennis racket
39: bottle
40: wine glass
41: cup
42: fork
43: knife
44: spoon
45: bowl
46: banana
47: apple
48: sandwich
49: orange
50: broccoli
51: carrot
52: hot dog
53: pizza
54: donut
55: cake
56: chair
57: couch
58: potted plant
59: bed
60: dining table
61: toilet
62: tv
63: laptop
64: mouse
65: remote
66: keyboard
67: cell phone
68: microwave
69: oven
70: toaster
71: sink
72: refrigerator
73: book
74: clock
75: vase
76: scissors
77: teddy bear
78: hair drier
79: toothbrush


# Download script/URL (optional)
download:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
6 0.182773 0.86742 0.176773 0.81124 0.182773 0.7663 0.203733 0.68764 0.215733 0.6472 0.473413 0.65394 0.656187 0.65394 0.67416 0.70112 0.671173 0.73484 0.683147 0.78426 0.665173 0.86068 0.653173 0.90112 0.596267 0.92584 0.428453 0.9236 0.3176 0.9236 0.21872 0.90786
0 0.693333 0.370000 2.000000 0.000000 0.000000 0.000000 0.680000 0.362000 2.000000 0.000000 0.000000 0.000000 0.632000 0.368000 2.000000 0.674667 0.396000 2.000000 0.629333 0.402000 1.000000 0.000000 0.000000 0.000000 0.674667 0.428000 1.000000 0.000000 0.000000 0.000000 0.728000 0.410000 2.000000 0.677333 0.500000 1.000000 0.640000 0.514000 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.714453 0.4371 0.749653 0.40774 0.736613 0.37058 0.71184 0.3608 0.722267 0.4058 0.693573 0.4058 0.706613 0.3647 0.693573 0.3158 0.674027 0.30896 0.597067 0.35394 0.600987 0.352 0.59968 0.38526 0.572293 0.4234 0.614027 0.39894 0.66488 0.39894 0.697493 0.42144 0.714453 0.4371 0.710533 0.46742 0.689653 0.49774 0.69096 0.49382 0.683147 0.5036 0.65968 0.53392 0.689653 0.56718 0.696187 0.51926 0.706613 0.54468 0.718347 0.53002 0.710533 0.46742
0 0.520000 0.338000 2.000000 0.000000 0.000000 0.000000 0.509333 0.328000 2.000000 0.000000 0.000000 0.000000 0.464000 0.330000 2.000000 0.506667 0.356000 2.000000 0.432000 0.368000 1.000000 0.584000 0.360000 2.000000 0.504000 0.380000 1.000000 0.536000 0.374000 1.000000 0.570667 0.370000 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.597573 0.35886 0.594133 0.36854 0.58552 0.37694 0.576933 0.37822 0.558853 0.37178 0.53992 0.3692 0.52616 0.36854 0.510667 0.3692 0.496907 0.36984 0.483147 0.37178 0.474533 0.37242 0.461627 0.37112 0.449573 0.36726 0.435813 0.36532 0.426347 0.36596 0.421173 0.36596 0.41 0.3679 0.397093 0.36984 0.397093 0.3666 0.40312 0.35628 0.415173 0.34854 0.429787 0.34402 0.440107 0.34144 0.440987 0.33822 0.436667 0.33048 0.43152 0.32208 0.428933 0.3195 0.42808 0.31304 0.42808 0.30466 0.42808 0.29884 0.435813 0.2911 0.442693 0.28336 0.453893 0.2769 0.4668 0.27304 0.48056 0.27368 0.500347 0.27498 0.514107 0.27884 0.521867 0.28208 0.537333 0.29692 0.534773 0.3053 0.531333 0.31046 0.52616 0.31562 0.523573 0.32144 0.523573 0.32854 0.525307 0.3337 0.524427 0.3395 0.52616 0.34338 0.551973 0.34724 0.565733 0.34724 0.58208 0.34854 0.591547 0.34984 0.598427 0.35628
0 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.650667 0.496000 2.000000 0.437333 0.536000 1.000000 0.656000 0.558000 2.000000 0.000000 0.000000 0.000000 0.658667 0.656000 2.000000 0.000000 0.000000 0.000000 0.669333 0.734000 2.000000 0.442667 0.742000 1.000000 0.594667 0.744000 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.652427 0.6586 0.660773 0.67994 0.664133 0.71132 0.665813 0.73266 0.665813 0.75024 0.6792 0.7653 0.692587 0.75776 0.694267 0.75652 0.682533 0.74898 0.6976 0.69374 0.685893 0.6586 0.692587 0.62596 0.685893 0.59708 0.672507 0.57322 0.667493 0.55314 0.662453 0.52928 0.67752 0.5092 0.6976 0.48032 0.709333 0.46024 0.711013 0.44392 0.70096 0.4251 0.689253 0.4138 0.664133 0.39872 0.649067 0.39622 0.618933 0.40124 0.607227 0.405 0.5888 0.41756 0.587147 0.42132 0.582107 0.4276 0.575413 0.44644 0.5704 0.46276 0.560347 0.4753 0.543627 0.48158 0.510133 0.48912 0.491733 0.49414 0.473307 0.50418 0.46328 0.52302 0.456587 0.54184 0.45824 0.57072 0.45824 0.58954 0.45824 0.60964 0.454907 0.63098 0.443173 0.65106 0.448213 0.65608 0.5888 0.66236 0.652427 0.6586 0.649067 0.66488 0.650747 0.71132 0.557013 0.71886 0.448213 0.72136 0.43648 0.71258 0.4164 0.71132 0.426453 0.6837 0.4164 0.67742 0.369547 0.70378 0.4164 0.71132 0.43648 0.71258 0.43984 0.66738 0.443173 0.66612 0.649067 0.66488
0 0.312000 0.478000 1.000000 0.325333 0.474000 2.000000 0.000000 0.000000 0.000000 0.352000 0.516000 2.000000 0.000000 0.000000 0.000000 0.264000 0.558000 2.000000 0.450667 0.566000 2.000000 0.189333 0.642000 2.000000 0.464000 0.676000 1.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.269333 0.724000 1.000000 0.421333 0.728000 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.460853 0.55484 0.462853 0.52342 0.4768 0.50994 0.4768 0.47404 0.430933 0.43216 0.410987 0.43216 0.351147 0.42766 0.339173 0.43964 0.319227 0.45758 0.319227 0.48302 0.30328 0.49798 0.293307 0.51892 0.259387 0.53688 0.219493 0.55782 0.21152 0.57876 0.1816 0.61916 0.165627 0.62664 0.189573 0.65956 0.227467 0.65956 0.23744 0.6775 0.23544 0.69546 0.23944 0.70294 0.277333 0.70742 0.355147 0.71342 0.38704 0.71042 0.38904 0.69696 0.42096 0.6835 0.436907 0.65656 0.45088 0.63262 0.460853 0.6012
0 0.541333 0.450000 2.000000 0.538667 0.436000 2.000000 0.522667 0.438000 2.000000 0.000000 0.000000 0.000000 0.458667 0.446000 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.47656 0.49308 0.45568 0.46176 0.4348 0.45954 0.410933 0.45506 0.390053 0.4394 0.357253 0.41478 0.39304 0.37004 0.44672 0.3611 0.461653 0.36558 0.49744 0.37228 0.521307 0.37452 0.55112 0.4036 0.56008 0.44164 0.56008 0.47742 0.548133 0.49086 0.524293 0.50652
0 0.541333 0.450000 2.000000 0.538667 0.436000 2.000000 0.522667 0.438000 2.000000 0.000000 0.000000 0.000000 0.458667 0.446000 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.54432 0.42854 0.54432 0.40842 0.532613 0.39602 0.5044 0.38002 0.503013 0.36764 0.51264 0.36556 0.542933 0.36608 0.57184 0.37434 0.588373 0.38312 0.575973 0.45694 0.569093 0.48172 0.56704 0.49102 0.536053 0.47552
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
0 0.743750 0.415873 2.000000 0.745313 0.409524 2.000000 0.000000 0.000000 0.000000 0.753125 0.406349 2.000000 0.000000 0.000000 0.000000 0.767188 0.444444 2.000000 0.748437 0.457143 2.000000 0.775000 0.485714 2.000000 0.734375 0.504762 2.000000 0.750000 0.511111 2.000000 0.709375 0.555556 2.000000 0.768750 0.539683 2.000000 0.760938 0.546032 2.000000 0.751563 0.650794 2.000000 0.756250 0.647619 2.000000 0.757812 0.746032 2.000000 0.771875 0.746032 2.000000 0.753891 0.744921 0.748062 0.666349 0.747328 0.650032 0.752437 0.562571 0.750969 0.52254 0.741484 0.52254 0.717406 0.558095 0.717406 0.577397 0.701359 0.575905 0.701359 0.559587 0.736375 0.488413 0.740031 0.470635 0.75025 0.439492 0.748781 0.433587 0.741484 0.420222 0.740766 0.408381 0.734187 0.396508 0.741484 0.393556 0.751703 0.375746 0.762656 0.384635 0.764844 0.39946 0.762656 0.412825 0.768484 0.426159 0.778703 0.446921 0.780891 0.479524 0.777969 0.537365 0.780891 0.565524 0.776516 0.592222 0.769953 0.617429 0.768484 0.660413 0.772859 0.679683 0.776516 0.744921 0.780156 0.765683 0.734187 0.765683 0.741484 0.752317
37 0.567484 0.731079 0.607359 0.742762 0.653438 0.753587 0.735828 0.764381 0.776141 0.767968 0.816016 0.761683 0.901078 0.762571 0.903297 0.769778 0.859875 0.776984 0.750016 0.778794 0.667172 0.775175 0.62375 0.76527 0.575016 0.749079 0.561281 0.735587
Loading
Loading