missing
Browse files- ChessBot-Dataset.py +3 -0
ChessBot-Dataset.py
CHANGED
@@ -46,6 +46,9 @@ class ChessPGNDataset(GeneratorBasedBuilder):
|
|
46 |
def _split_generators(self, dl_manager: DownloadManager):
|
47 |
from pathlib import Path, os
|
48 |
|
|
|
|
|
|
|
49 |
if self.config.data_dir:
|
50 |
repo_root = Path(self.config.data_dir)
|
51 |
train_files = [repo_root / 'train' / f for f in os.listdir(repo_root / 'train')]
|
|
|
46 |
def _split_generators(self, dl_manager: DownloadManager):
|
47 |
from pathlib import Path, os
|
48 |
|
49 |
+
logging.getLogger(__name__).info(f"Loaded config: {self.config.name}")
|
50 |
+
logging.getLogger(__name__).info(f"Data files: {self.config.data_files}")
|
51 |
+
|
52 |
if self.config.data_dir:
|
53 |
repo_root = Path(self.config.data_dir)
|
54 |
train_files = [repo_root / 'train' / f for f in os.listdir(repo_root / 'train')]
|