KeithG33 commited on
Commit
907747c
·
1 Parent(s): 89d860d
Files changed (1) hide show
  1. ChessBot-Dataset.py +2 -2
ChessBot-Dataset.py CHANGED
@@ -28,8 +28,8 @@ class ChessPGNDataset(GeneratorBasedBuilder):
28
 
29
  repo_root = Path(__file__).parent
30
 
31
- train_shards = sorted((repo_root/ 'train').glob("**.pgn"))
32
- test_shards = sorted((repo_root/ 'test').glob("**.pgn"))
33
  train_paths = dl_manager.download([str(p) for p in train_shards])
34
  test_paths = dl_manager.download([str(p) for p in test_shards])
35
 
 
28
 
29
  repo_root = Path(__file__).parent
30
 
31
+ train_shards = sorted((repo_root/ 'train').glob("*.pgn"))
32
+ test_shards = sorted((repo_root/ 'test').glob("*.pgn"))
33
  train_paths = dl_manager.download([str(p) for p in train_shards])
34
  test_paths = dl_manager.download([str(p) for p in test_shards])
35