Datasets:
Add fold seed prompts
Browse files- README.md +5 -2
- metadata/folds.csv +4 -0
README.md
CHANGED
|
@@ -13,7 +13,7 @@ pretty_name: Lurcher 10x Microscopy
|
|
| 13 |
|
| 14 |
# Lurcher 10x Microscopy Dataset
|
| 15 |
|
| 16 |
-
This dataset contains 10x microscopy images for the Lurcher classification experiments used by Active Prompt Tuning (APT). Images are organized once by class and case id, while the experiment folds are provided as JSONL manifests.
|
| 17 |
|
| 18 |
## Image layout
|
| 19 |
|
|
@@ -32,6 +32,7 @@ folds/microscopy_lurcher/fold-<fold>/
|
|
| 32 |
train.jsonl
|
| 33 |
val.jsonl
|
| 34 |
test.jsonl
|
|
|
|
| 35 |
```
|
| 36 |
|
| 37 |
Each row has a path relative to the dataset repository root and a normalized class label:
|
|
@@ -40,7 +41,7 @@ Each row has a path relative to the dataset repository root and a normalized cla
|
|
| 40 |
{"image_path":"images/microscopy_lurcher/lurcher/5917/example.jpg","class":"lurcher"}
|
| 41 |
```
|
| 42 |
|
| 43 |
-
`train.jsonl` is the active-learning candidate pool. `val.jsonl` is the validation split used by the APT code. `test.jsonl` is the held-out evaluation split.
|
| 44 |
|
| 45 |
## Metadata
|
| 46 |
|
|
@@ -64,6 +65,8 @@ hf download USF-CS-Microscopy-Image-Analysis/Lurcher_10x \
|
|
| 64 |
--local-dir .
|
| 65 |
```
|
| 66 |
|
|
|
|
|
|
|
| 67 |
## Intended use
|
| 68 |
|
| 69 |
Use these fixed folds when comparing against the APT paper or repository results. Do not regenerate splits for direct comparison to reported fold-level numbers.
|
|
|
|
| 13 |
|
| 14 |
# Lurcher 10x Microscopy Dataset
|
| 15 |
|
| 16 |
+
This dataset contains 10x microscopy images for the Lurcher classification experiments used by Active Prompt Tuning (APT). Images are organized once by class and case id, while the experiment folds are provided as JSONL manifests plus fold-specific seed prompts.
|
| 17 |
|
| 18 |
## Image layout
|
| 19 |
|
|
|
|
| 32 |
train.jsonl
|
| 33 |
val.jsonl
|
| 34 |
test.jsonl
|
| 35 |
+
seed.json
|
| 36 |
```
|
| 37 |
|
| 38 |
Each row has a path relative to the dataset repository root and a normalized class label:
|
|
|
|
| 41 |
{"image_path":"images/microscopy_lurcher/lurcher/5917/example.jpg","class":"lurcher"}
|
| 42 |
```
|
| 43 |
|
| 44 |
+
`train.jsonl` is the active-learning candidate pool. `val.jsonl` is the validation split used by the APT code. `test.jsonl` is the held-out evaluation split. `seed.json` contains the initial seed prompt examples used before active selection starts.
|
| 45 |
|
| 46 |
## Metadata
|
| 47 |
|
|
|
|
| 65 |
--local-dir .
|
| 66 |
```
|
| 67 |
|
| 68 |
+
The APT repository also includes `setup_lurcher_data.py`, which downloads the images, fold manifests, seed prompts, metadata, and prompt bank into the expected local layout automatically.
|
| 69 |
+
|
| 70 |
## Intended use
|
| 71 |
|
| 72 |
Use these fixed folds when comparing against the APT paper or repository results. Do not regenerate splits for direct comparison to reported fold-level numbers.
|
metadata/folds.csv
CHANGED
|
@@ -2,12 +2,16 @@ dataset,fold,split,num_examples,wild,lurcher,file
|
|
| 2 |
microscopy_lurcher,5,train,2238,1588,650,folds/microscopy_lurcher/fold-5/train.jsonl
|
| 3 |
microscopy_lurcher,5,val,174,100,74,folds/microscopy_lurcher/fold-5/val.jsonl
|
| 4 |
microscopy_lurcher,5,test,146,96,50,folds/microscopy_lurcher/fold-5/test.jsonl
|
|
|
|
| 5 |
microscopy_lurcher,6,train,2420,1696,724,folds/microscopy_lurcher/fold-6/train.jsonl
|
| 6 |
microscopy_lurcher,6,val,158,108,50,folds/microscopy_lurcher/fold-6/val.jsonl
|
| 7 |
microscopy_lurcher,6,test,150,100,50,folds/microscopy_lurcher/fold-6/test.jsonl
|
|
|
|
| 8 |
microscopy_lurcher,8,train,2110,1439,671,folds/microscopy_lurcher/fold-8/train.jsonl
|
| 9 |
microscopy_lurcher,8,val,166,107,59,folds/microscopy_lurcher/fold-8/val.jsonl
|
| 10 |
microscopy_lurcher,8,test,142,100,42,folds/microscopy_lurcher/fold-8/test.jsonl
|
|
|
|
| 11 |
microscopy_lurcher,10,train,2184,1605,579,folds/microscopy_lurcher/fold-10/train.jsonl
|
| 12 |
microscopy_lurcher,10,val,326,193,133,folds/microscopy_lurcher/fold-10/val.jsonl
|
| 13 |
microscopy_lurcher,10,test,214,110,104,folds/microscopy_lurcher/fold-10/test.jsonl
|
|
|
|
|
|
| 2 |
microscopy_lurcher,5,train,2238,1588,650,folds/microscopy_lurcher/fold-5/train.jsonl
|
| 3 |
microscopy_lurcher,5,val,174,100,74,folds/microscopy_lurcher/fold-5/val.jsonl
|
| 4 |
microscopy_lurcher,5,test,146,96,50,folds/microscopy_lurcher/fold-5/test.jsonl
|
| 5 |
+
microscopy_lurcher,5,seed,10,5,5,folds/microscopy_lurcher/fold-5/seed.json
|
| 6 |
microscopy_lurcher,6,train,2420,1696,724,folds/microscopy_lurcher/fold-6/train.jsonl
|
| 7 |
microscopy_lurcher,6,val,158,108,50,folds/microscopy_lurcher/fold-6/val.jsonl
|
| 8 |
microscopy_lurcher,6,test,150,100,50,folds/microscopy_lurcher/fold-6/test.jsonl
|
| 9 |
+
microscopy_lurcher,6,seed,10,5,5,folds/microscopy_lurcher/fold-6/seed.json
|
| 10 |
microscopy_lurcher,8,train,2110,1439,671,folds/microscopy_lurcher/fold-8/train.jsonl
|
| 11 |
microscopy_lurcher,8,val,166,107,59,folds/microscopy_lurcher/fold-8/val.jsonl
|
| 12 |
microscopy_lurcher,8,test,142,100,42,folds/microscopy_lurcher/fold-8/test.jsonl
|
| 13 |
+
microscopy_lurcher,8,seed,10,5,5,folds/microscopy_lurcher/fold-8/seed.json
|
| 14 |
microscopy_lurcher,10,train,2184,1605,579,folds/microscopy_lurcher/fold-10/train.jsonl
|
| 15 |
microscopy_lurcher,10,val,326,193,133,folds/microscopy_lurcher/fold-10/val.jsonl
|
| 16 |
microscopy_lurcher,10,test,214,110,104,folds/microscopy_lurcher/fold-10/test.jsonl
|
| 17 |
+
microscopy_lurcher,10,seed,10,5,5,folds/microscopy_lurcher/fold-10/seed.json
|