Upload WISDM.py
Browse files
WISDM.py
CHANGED
|
@@ -163,8 +163,8 @@ class Monster(datasets.GeneratorBasedBuilder):
|
|
| 163 |
def _generate_examples(self, filepath, fold, split):
|
| 164 |
# TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
|
| 165 |
# The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
|
| 166 |
-
X_file = os.path.join(filepath, f'{_DATASET}_X.npy')
|
| 167 |
-
y_file = os.path.join(filepath, f'{_DATASET}_y.npy')
|
| 168 |
X = np.load(X_file) #, 'r')
|
| 169 |
y = np.load(y_file) #, 'r')
|
| 170 |
if self.config.name == "full":
|
|
|
|
| 163 |
def _generate_examples(self, filepath, fold, split):
|
| 164 |
# TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
|
| 165 |
# The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
|
| 166 |
+
X_file = f'{_DATASET}_X.npy' #os.path.join(filepath, f'{_DATASET}_X.npy')
|
| 167 |
+
y_file = f'{_DATASET}_y.npy' #os.path.join(filepath, f'{_DATASET}_y.npy')
|
| 168 |
X = np.load(X_file) #, 'r')
|
| 169 |
y = np.load(y_file) #, 'r')
|
| 170 |
if self.config.name == "full":
|