Skip to content

Latest commit

 

History

History
102 lines (78 loc) · 4.1 KB

README.md

File metadata and controls

102 lines (78 loc) · 4.1 KB

Examples

Kaggle examples

Here are some examples of applying grob to Kaggle datasets. If you find more compelling examples, don't hesitate to add them here.

Rider Safety & Compliance

grob "image={subset}/images/new{id:d}.jpg,labels={subset}/images/new{id:d}.txt" . --optional labels --remove-on-missing image
{
  "train_1": {
    "image": "train/images/new1.jpg",
    "labels": "train/labels/new1.txt"
  }
}

VehicleDetection-YOLOv8

grob "image={subset}/images/{name}.jpg, labels={subset}/labels/{name}.txt" .
{
  "test_00dea1edf14f09ab_jpg.rf.3f17c8790a68659d03b1939a59ccda80": {
    "image": "test/images/00dea1edf14f09ab_jpg.rf.3f17c8790a68659d03b1939a59ccda80.jpg",
    "labels": "test/labels/00dea1edf14f09ab_jpg.rf.3f17c8790a68659d03b1939a59ccda80.txt"
  }
}

B200 LEGO Detection Dataset

grob "image={subset}/images/{name:d}.png, labels={subset}/annotations/{name:d}.png" .
{
  "0": {
    "image": "images/0.png",
    "labels": "annotations/0.xml"
  }
}

Aero-engine defect

grob "image=images/{subset}/images/{name}.jpg, labels=labels/{subset}/{name}.txt" .
# Alternatively, group all the different augmentations of a single image together
grob "image=images/{subset}/images/{id:d}*.jpg, labels=labels/{subset}/{id:d}*.txt" . --multiple --optional

Car Parts - Image Classification

grob "image={subset}/{part_name}/*.jpg" . --multiple --key "{part_name} - {subset}"

ASL Alphabet

grob "image=asl_alphabet_train/{part_name}/*.jpg" . --multiple

Fruit Images for Object Detection

grob "image={subset}/{name}.jpg, labels={subset}/{name}.xml" .

Cat Dataset

grob "image=*/{name}.jpg, labels=*/{name}.jpg.cat" .

DeepGlobe Road Extraction Dataset

grob "image={subset}/{name}_sat.jpg, mask={subset}/{name}_mask.png" .