Closed dyollb closed 1 year ago
https://github.com/dyollb/segmantic/blob/318931c677204bb4b9f11ec4d48f6b15c4298078/src/segmantic/seg/monai_unet.py#L768
setting data["dataset"] = str(dataset_path) is not overriding/overwriting keys image_dir and labels_dir. The training then uses those instead of the k-fold dataset.
data["dataset"] = str(dataset_path)
image_dir
labels_dir
how to fix:
data.pop("image_dir") data.pop("labels_dir")
implemented in new pull request.
https://github.com/dyollb/segmantic/blob/318931c677204bb4b9f11ec4d48f6b15c4298078/src/segmantic/seg/monai_unet.py#L768
setting
data["dataset"] = str(dataset_path)
is not overriding/overwriting keysimage_dir
andlabels_dir
. The training then uses those instead of the k-fold dataset.how to fix: