lynn-miller commited on
Commit
bf9c692
·
verified ·
1 Parent(s): 4a0fe46

Upload WISDM.py

Browse files
Files changed (1) hide show
  1. WISDM.py +2 -2
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":