Skip to content

Commit 1c73906

Browse files
committed
specify validation key and fixed cross-val behavior
Signed-off-by: Daniël Nobbe <daniellnobbe@gmail.com>
1 parent 4bd67b7 commit 1c73906

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

auto3dseg/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,10 @@ The datalist format is based on the datasets released by the [Medical Segmentati
6464
See the function `load_decathlon_datalist` in `monai/data/decathlon_datalist.py` for a description of the format.
6565

6666
For the AutoRunner, we only need the `training` list in the JSON, it does not use any other fields.
67-
The `fold` key for each image is not required, as the AutoRunner will automatically create cross-validation folds.
68-
If you do add the cross-validation folds beforehand, these should align with the number of folds set in the configuration of the AutoRunner (by default 5, see [notebook](notebooks/auto_runner.ipynb)).
69-
Any other metadata, such as `modality`, `numTraining`, `name`, etc. will not be used by the AutoRunner, but we do recommend using metadata fields to keep track of names and versions of your dataset.
67+
The `fold` key for each image is not required, as the AutoRunner will automatically create cross-validation folds (the number of folds is hard-coded to 5).
68+
If you do add the cross-validation folds beforehand, the AutoRunner will use these by default.
69+
You can also choose to include a `validation` list in the JSON file, in which case the AutoRunner will disable cross-validation and use the specified validation set.
70+
Any other metadata, such as `modality`, `numTraining`, `name`, etc. will not be used by the AutoRunner, but we do recommend using metadata fields to keep track of names and versions of your dataset. If you are using multi-modal scans, it is possible to enter lists of image paths for both the `image` and `label` keys; MONAI will stack them into channels.
7071
In short, your `datalist.json` file should look like this:
7172

7273
```

0 commit comments

Comments
 (0)