Datasets:
Commit
·
a2d41f3
1
Parent(s):
66ca494
Added descriptions
Browse files- README.md +14 -8
- autofish.py +4 -1
README.md
CHANGED
@@ -28,8 +28,10 @@ The **AUTOFISH** dataset comprises 1500 high-quality images of fish on a conveyo
|
|
28 |
and a total of 18,160 instance segmentation masks.
|
29 |
|
30 |
The fish are partitioned into 25 groups, with 14 to 24 fish in each group. Each fish only appears in one group, making it easy to create training splits. The
|
31 |
-
number of fish and distribution of species in each group were pseudo-randomly selected to mimic real-world scenarios.
|
32 |
-
|
|
|
|
|
33 |
|
34 |
The available classes are:
|
35 |
- Cod
|
@@ -46,14 +48,18 @@ Other information contained in the annotations:
|
|
46 |
- Unique fish IDs
|
47 |
- 'Side up' referring to the side of the fish that is visible
|
48 |
|
49 |
-
|
50 |
-
|
51 |
-
fish overlap or touch each other. *All* contains all the fish from the group, purposely placed in positions with high overlap. Every group directory contains 20 images for
|
52 |
-
each set, where variation is introduced by changing the position and orientation of the fish. Exactly half of every set is with the fish on their one side, while the other
|
53 |
-
half has the fish flipped.
|
54 |
|
55 |
-
|
|
|
|
|
|
|
56 |
|
|
|
|
|
|
|
|
|
57 |
<!-- The annotations are in COCO format, with a structure as per the following example: -->
|
58 |
<!-- ```yaml
|
59 |
{
|
|
|
28 |
and a total of 18,160 instance segmentation masks.
|
29 |
|
30 |
The fish are partitioned into 25 groups, with 14 to 24 fish in each group. Each fish only appears in one group, making it easy to create training splits. The
|
31 |
+
number of fish and distribution of species in each group were pseudo-randomly selected to mimic real-world scenarios. Every group is partitioned into three subsets: *Set1*, *Set2*, and *All*. *Set1* and *Set2* contain half of the fish each, and none of the
|
32 |
+
fish overlap or touch each other. *All* contains all the fish from the group, purposely placed in positions with high overlap. Every group directory contains 20 images for
|
33 |
+
each set, where variation is introduced by changing the position and orientation of the fish. Exactly half of every set is with the fish on their one side, while the other
|
34 |
+
half has the fish flipped. *See the dataset viewer for examples.*
|
35 |
|
36 |
The available classes are:
|
37 |
- Cod
|
|
|
48 |
- Unique fish IDs
|
49 |
- 'Side up' referring to the side of the fish that is visible
|
50 |
|
51 |
+
In addition to all the labeled data, two high-overlap
|
52 |
+
unlabeled groups, as well as camera calibration images are included.
|
|
|
|
|
|
|
53 |
|
54 |
+
You can load this dataset with a default split configuration using the datasets library
|
55 |
+
```python
|
56 |
+
dataset = datasets.load_dataset('vapaau/autofish', trust_remote_code=True)
|
57 |
+
```
|
58 |
|
59 |
+
If you use this dataset for your work, please cite:
|
60 |
+
```yaml
|
61 |
+
Citation coming soon
|
62 |
+
```
|
63 |
<!-- The annotations are in COCO format, with a structure as per the following example: -->
|
64 |
<!-- ```yaml
|
65 |
{
|
autofish.py
CHANGED
@@ -3,7 +3,10 @@ import json
|
|
3 |
import datasets
|
4 |
|
5 |
class Autofish(datasets.GeneratorBasedBuilder):
|
6 |
-
"""
|
|
|
|
|
|
|
7 |
|
8 |
# Define the features of the dataset
|
9 |
def _info(self):
|
|
|
3 |
import datasets
|
4 |
|
5 |
class Autofish(datasets.GeneratorBasedBuilder):
|
6 |
+
"""
|
7 |
+
Custom loading script for the Autofish dataset.
|
8 |
+
Specifically designed to be used with the Datasets package
|
9 |
+
"""
|
10 |
|
11 |
# Define the features of the dataset
|
12 |
def _info(self):
|