| { |
| "@context": { |
| "@language": "en", |
| "@vocab": "https://schema.org/", |
| "citeAs": "cr:citeAs", |
| "column": "cr:column", |
| "conformsTo": "dct:conformsTo", |
| "cr": "http://mlcommons.org/croissant/", |
| "rai": "http://mlcommons.org/croissant/RAI/", |
| "data": { |
| "@id": "cr:data", |
| "@type": "@json" |
| }, |
| "dataType": { |
| "@id": "cr:dataType", |
| "@type": "@vocab" |
| }, |
| "dct": "http://purl.org/dc/terms/", |
| "examples": { |
| "@id": "cr:examples", |
| "@type": "@json" |
| }, |
| "extract": "cr:extract", |
| "field": "cr:field", |
| "fileObject": "cr:fileObject", |
| "fileSet": "cr:fileSet", |
| "format": "cr:format", |
| "includes": "cr:includes", |
| "isLiveDataset": "cr:isLiveDataset", |
| "jsonPath": "cr:jsonPath", |
| "key": "cr:key", |
| "md5": "cr:md5", |
| "parentField": "cr:parentField", |
| "path": "cr:path", |
| "recordSet": "cr:recordSet", |
| "references": "cr:references", |
| "separator": "cr:separator", |
| "source": "cr:source", |
| "subField": "cr:subField", |
| "transform": "cr:transform", |
| "sc": "https://schema.org/" |
| }, |
| "@type": "sc:Dataset", |
| "name": "FishNet2", |
| "description": "FishNet2 is a large-scale dataset for marine species recognition. It contains fish specimen images (at species level), bounding boxes, keypoint annotations, segmentation masks, and textual species descriptions.", |
| "conformsTo": "http://mlcommons.org/croissant/1.0", |
| "url": "https://huggingface.co/datasets/faixanKhan/FishNet2", |
| "version": "1.0.0", |
| "distribution": [ |
| { |
| "@type": "cr:FileObject", |
| "@id": "hf-repo", |
| "name": "HF Repository", |
| "description": "FishNet2 dataset repository on Hugging Face", |
| "contentUrl": "https://huggingface.co/datasets/faixanKhan/FishNet2", |
| "encodingFormat": "git+https", |
| "md5": "main" |
| }, |
| { |
| "@type": "cr:FileSet", |
| "@id": "fs-specie-images", |
| "name": "Specie-level Images", |
| "description": "Folder of fish images organized by species", |
| "containedIn": { "@id": "hf-repo" }, |
| "encodingFormat": "application/zip", |
| "includes": "specie_level.zip" |
| }, |
| { |
| "@type": "cr:FileSet", |
| "@id": "fs-bboxes", |
| "name": "Bounding-Box Annotations", |
| "description": "Per-image bounding box annotation files", |
| "containedIn": { "@id": "hf-repo" }, |
| "encodingFormat": "application/zip", |
| "includes": "bounding_boxes.zip" |
| }, |
| { |
| "@type": "cr:FileSet", |
| "@id": "fs-keypoints", |
| "name": "Keypoint Annotations", |
| "description": "Per-image fish keypoint annotation files", |
| "containedIn": { "@id": "hf-repo" }, |
| "encodingFormat": "application/zip", |
| "includes": "kp_annotations.zip" |
| }, |
| { |
| "@type": "cr:FileSet", |
| "@id": "fs-masks", |
| "name": "Segmentation Masks", |
| "description": "Per-image segmentation mask files", |
| "containedIn": { "@id": "hf-repo" }, |
| "encodingFormat": "application/zip", |
| "includes": "masks.zip" |
| }, |
| { |
| "@type": "cr:FileObject", |
| "@id": "fs-descriptions", |
| "name": "Species Descriptions", |
| "description": "JSON file containing descriptions for 35,133 species", |
| "containedIn": { "@id": "hf-repo" }, |
| "contentUrl": "https://huggingface.co/datasets/faixanKhan/FishNet2/resolve/main/descriptions.json", |
| "encodingFormat": "application/json" |
| } |
| ], |
| "recordSet": [ |
| { |
| "@type": "cr:RecordSet", |
| "@id": "rs-descriptions", |
| "name": "Species Descriptions", |
| "field": [ |
| { |
| "@type": "cr:Field", |
| "@id": "rs-despecies/species", |
| "name": "species", |
| "description": "Scientific name of the fish species", |
| "dataType": "sc:Text", |
| "source": { |
| "fileObject": { "@id": "fs-descriptions" }, |
| "extract": { "jsonPath": "$.species" } |
| } |
| }, |
| { |
| "@type": "cr:Field", |
| "@id": "rs-despecies/description", |
| "name": "description", |
| "description": "Textual description of the species", |
| "dataType": "sc:Text", |
| "source": { |
| "fileObject": { "@id": "fs-descriptions" }, |
| "extract": { "jsonPath": "$.description" } |
| } |
| } |
| ] |
| }, |
| { |
| "@type": "cr:RecordSet", |
| "@id": "rs-bboxes", |
| "name": "Bounding Boxes", |
| "field": [ |
| { |
| "@type": "cr:Field", |
| "@id": "rs-bboxes/file", |
| "name": "bbox_file", |
| "description": "Path to a bounding-box annotation file for an image", |
| "dataType": "sc:Text", |
| "source": { |
| "fileSet": { "@id": "fs-bboxes" }, |
| "extract": { "column": "filename" } |
| } |
| } |
| ] |
| }, |
| { |
| "@type": "cr:RecordSet", |
| "@id": "rs-keypoints", |
| "name": "Keypoint Annotations", |
| "field": [ |
| { |
| "@type": "cr:Field", |
| "@id": "rs-keypoints/file", |
| "name": "kp_file", |
| "description": "Path to a keypoint annotation file", |
| "dataType": "sc:Text", |
| "source": { |
| "fileSet": { "@id": "fs-keypoints" }, |
| "extract": { "column": "filename" } |
| } |
| } |
| ] |
| }, |
| { |
| "@type": "cr:RecordSet", |
| "@id": "rs-masks", |
| "name": "Segmentation Masks", |
| "field": [ |
| { |
| "@type": "cr:Field", |
| "@id": "rs-masks/file", |
| "name": "mask_file", |
| "description": "Path to a segmentation mask file", |
| "dataType": "sc:Text", |
| "source": { |
| "fileSet": { "@id": "fs-masks" }, |
| "extract": { "column": "filename" } |
| } |
| } |
| ] |
| }, |
| { |
| "@type": "cr:RecordSet", |
| "@id": "rs-specie-images", |
| "name": "Specimen Images", |
| "field": [ |
| { |
| "@type": "cr:Field", |
| "@id": "rs-specie-images/file", |
| "name": "image_file", |
| "description": "Path to a specimen-level image file", |
| "dataType": "sc:ImageObject", |
| "source": { |
| "fileSet": { "@id": "fs-specie-images" }, |
| "extract": { "column": "filename" } |
| } |
| }, |
| { |
| "@type": "cr:Field", |
| "@id": "rs-specie-images/species", |
| "name": "species_folder", |
| "description": "Species name (folder) containing the image", |
| "dataType": "sc:Text", |
| "source": { |
| "fileSet": { "@id": "fs-specie-images" }, |
| "extract": { "column": "folder" } |
| } |
| } |
| ] |
| } |
| ] |
| } |