| --- |
| task_categories: |
| - object-detection |
| pretty_name: Krishi Vaidya Bouncer Dataset (WebDataset) |
| --- |
| |
| # Krishi Vaidya Bouncer Dataset (WebDataset) |
|
|
| Hub-native sharded WebDataset export for large-scale object detection training and streaming. |
|
|
| ## Format |
|
|
| - `train/train-*.tar` and `val/val-*.tar` store sharded samples for streaming-friendly access. |
| - Each sample is written as `<sample_id>.jpg` plus `<sample_id>.json` inside the TAR shard. |
| - JSON records keep canonical COCO-style `bbox` annotations in pixel `xywh` form. |
| - The canonical local dataset and derived YOLO export remain the source-of-truth build artifacts in this repo. |
|
|
| ## Load |
|
|
| ```python |
| from datasets import load_dataset |
| |
| ds = load_dataset("webdataset", data_files={"train": "train/*.tar", "val": "val/*.tar"}, split="train") |
| sample = ds[0] |
| image = sample["jpg"] |
| annotation = sample["json"] |
| ``` |
|
|
| ## Splits |
|
|
| - Train: 27,454 samples across 3 shards |
| - Val: 3,527 samples across 1 shards |
|
|
| ## Classes |
|
|
| - 0: rice_leaf |
| - 1: rice_panicle |
| - 2: rice_grain_cluster |
| - 3: maize_leaf |
| - 4: maize_ear |
| - 5: potato_leaf |
| - 6: tomato_leaf |
| - 7: tomato_fruit |
| - 8: brassica_leaf |
| - 9: cauliflower_head |
| - 10: cabbage_head |
|
|
| ## Distribution |
|
|
| - rice_leaf: 1,657 objects |
| - rice_panicle: 115,046 objects |
| - rice_grain_cluster: 473 objects |
| - maize_leaf: 8,000 objects |
| - maize_ear: 106 objects |
| - potato_leaf: 1,199 objects |
| - tomato_leaf: 8,792 objects |
| - tomato_fruit: 6,808 objects |
| - brassica_leaf: 3,834 objects |
| - cauliflower_head: 525 objects |
| - cabbage_head: 1,027 objects |
|
|
| ## Sources |
|
|
| - `tomato_yolov8_kaggle`: kaggle (vasantharank/tomato-leaf-disease-detection-yolov8-dataset) |
| - `rice_panicle_bangladesh_kaggle`: kaggle (rifat963/annotated-rice-panicle-image-from-bangladesh) |
| - `rice_leaf_kaggle`: kaggle (hadiurrahmannabil/rice-leaf-spot-disease-annotated-dataset) |
| - `rice_panicle_roboflow`: roboflow (0o-mv2zu/rice-panicle-dataset-wxdyx/1) |
| - `rice_grain_roboflow`: roboflow (identify-rice-type/rice-grain-detection-dycoc/1) |
| - `potato_leaf_roboflow`: roboflow (potato-leaf-diseases/potato_leaf_disease/1) |
| - `maize_leaf_roboflow`: roboflow (maize-specific/maize-leaf-diseases/1) |
| - `maize_ear_roboflow`: roboflow (research-kesig/corn-ears-detection/1) |
| - `tomato_fruit_roboflow`: roboflow (tomato-disease-detection-fcgsf/tomato-fruit-disease-detection/4) |
| - `brassica_leaf_cauliflower_roboflow`: roboflow (computervisionprojects-apdge/cauli_disease/4) |
| - `cauliflower_roboflow`: roboflow (yolo2-rtr8h/cauliflower-tv0hi/1) |
| - `cabbage_roboflow`: roboflow (yolo-ssbxq/cabbage-gf0rt/1) |
|
|