Replies: 1 comment
-
Hey @gkrisp98 , The following code is the location of the error that prompted you: if not hasattr(dataset_cls, "_split_datalist"):
raise ValueError("dataset class must have _split_datalist API.") The mean the you could create the dataset by Hope this is useful to you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to use Cross Validation from MONAI on a nifti dataset. I have created the dataset like this:
dataset = ImageDataset(image_files = images, labels = labels)
and I define the Cross Validation:cvdataset = CrossValidation( dataset_cls=dataset, nfolds=5, seed=12345, section="training", transform=train_transform, )
When I try to run it to get the partitions I am getting this error: dataset class must have _split_datalist API.
Can someone help me to get over this error and use CV ?
Beta Was this translation helpful? Give feedback.
All reactions