|
Download docs/SUBMISSION.md from milkyroad/bench: direct link, hf CLI and curl.
- Browser
- Download file 1.41 kB
-
https://huggingface.co/datasets/milkyroad/bench/resolve/main/docs/SUBMISSION.md
- Command line
-
hf download hf://datasets/milkyroad/bench/docs/SUBMISSION.md
-
curl -L -o SUBMISSION.md https://huggingface.co/datasets/milkyroad/bench/resolve/main/docs/SUBMISSION.md
1.41 kB
Submissions
One JSON object per line. cystobench score validates the schema and then scores.
Stills, axis 2C
{"sample_id": "0011a5ac.png", "class": "malignant_tumor"}
class is malignant_tumor, non_malignant_lesion, or non_roi. sample_id is the still id in the metadata. A missing still is scored as wrong.
cystobench score --level stills --axis 2c --preds preds.jsonl
Clips, axes 2A and 2B
{"sample_id": "P000_cystoscopy_track_000", "lesions": [{"t_start_s": 1.2, "t_end_s": 4.8, "class": "malignant_tumor", "score": 0.9}]}
Times are seconds from the start of the file. t_end_s must be inside the clip duration stored on the clip row. 2A uses the intervals. 2B reuses the 2A matches. class is stored so the same file can be scored as clip 2C once that gold has more than one class.
cystobench score --level clip --axis 2a --preds preds.jsonl
cystobench score --level clip --axis 2b --preds preds.jsonl
Procedure, axis 1
{"procedure_id": "procedure_001", "sex": "female", "landmarks": {"trigone": [[12.0, 15.5], [40.0, 44.0]]}, "lesions": [{"lesion_id": "L1", "t_start_s": 20.0, "t_end_s": 28.0, "class": "non_malignant_lesion"}]}
Landmark names are the eleven names in docs/SPEC.md. A landmark that is omitted was not inspected.
cystobench score --level procedure --axis 1 --preds preds.jsonl