Dataset Viewer
The dataset could not be loaded because the splits use different data file formats, which is not supported. Read more about the splits configuration. Click for more details.
Couldn't infer the same data file format for all splits. Got {NamedSplit('train'): ('imagefolder', {}), NamedSplit('validation'): ('imagefolder', {}), NamedSplit('test'): ('text', {})}
Error code:   FileFormatMismatchBetweenSplitsError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

4 Fold Defect

This dataset is part of the Roboflow 100 benchmark, a diverse collection of 100 object detection datasets spanning 7 imagery domains.

Dataset Statistics

Split Images
Train 503
Validation 134
Test 33
Total 670

Classes (1)

  • 4-fold defect

Usage

With LibreYOLO

from libreyolo import LIBREYOLO

# Load a model
model = LIBREYOLO(model_path="libreyoloXnano.pt")

# Train on this dataset
model.train(data='path/to/data.yaml', epochs=100)

Download from HuggingFace

from huggingface_hub import snapshot_download

# Download the dataset
snapshot_download(
    repo_id="Libre-YOLO/4-fold-defect",
    repo_type="dataset",
    local_dir="./4-fold-defect"
)

Directory Structure

4-fold-defect/
β”œβ”€β”€ data.yaml           # Dataset configuration
β”œβ”€β”€ README.md           # This file
β”œβ”€β”€ train/
β”‚   β”œβ”€β”€ images/         # Training images
β”‚   └── labels/         # Training labels (YOLO format)
β”œβ”€β”€ valid/
β”‚   β”œβ”€β”€ images/         # Validation images
β”‚   └── labels/         # Validation labels
└── test/
    β”œβ”€β”€ images/         # Test images (if available)
    └── labels/         # Test labels

Label Format

Labels are in YOLO format (one .txt file per image):

<class_id> <x_center> <y_center> <width> <height>

All coordinates are normalized to [0, 1].

Citation

If you use this dataset, please cite the Roboflow 100 benchmark:

@misc{rf100_2022,
    Author = {Floriana Ciaglia and Francesco Saverio Zuppichini and Paul Guerrie and Mark McQuade and Jacob Solawetz},
    Title = {Roboflow 100: A Rich, Multi-Domain Object Detection Benchmark},
    Year = {2022},
    Eprint = {arXiv:2211.13523},
}

License

This dataset is released under the CC-BY-4.0 license. Please check the original source for any additional terms.

Acknowledgments

Downloads last month
14

Paper for Libre-YOLO/4-fold-defect