fixpath
Browse files- 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("
|
32 |
-
test_shards = sorted((repo_root/ 'test').glob("
|
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 |
|