KatherPatchDataset¶
tiatoolbox
.models
.dataset
.info
.KatherPatchDataset
- class KatherPatchDataset(save_dir_path=None)[source]¶
Define a class for holding the Kather dataset information.
- Parameters:
save_dir_path (str or None) – Path to directory containing the Kather dataset. This is assumed to be the same form after the data is initially downloaded. If the argument is None, the dataset will be downloaded and extracted into the ‘run_dir/download/Kather’.
- labels¶
A list of int where each value corresponds to the label of the sample at the same index.
- Type:
- label_names¶
A dict mapping each unique label value to the associated class name as a string.
- Type:
Initialize
KatherPatchDataset
.Methods
Attributes