We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 714171f commit 1d7d0efCopy full SHA for 1d7d0ef
mplc/dataset.py
@@ -725,3 +725,22 @@ def generate_new_model(self):
725
@staticmethod
726
def train_test_split_global(data):
727
return train_test_split(data, test_size=0.1, random_state=42)
728
+
729
730
+class HAM10000(Dataset):
731
+ def __init__(self):
732
+ # Load data
733
+ self.num_classes = 7
734
+ self.input_shape = (224, 224)
735
736
+#TODO: data loader
737
+ # (x_train, y_train), (x_test, y_test) = self.load_data()
738
739
+ super(HAM10000, self).__init__(dataset_name='esc50',
740
+ num_classes=self.num_classes,
741
+ input_shape=self.input_shape,
742
+ x_train=x_train,
743
+ y_train=y_train,
744
+ x_test=x_test,
745
+ y_test=y_test
746
+ )
0 commit comments