DimaPhil commited on
Commit ·
be764b4
1
Parent(s): f005688
Add debug message
Browse files- wine-quality.py +1 -0
wine-quality.py
CHANGED
|
@@ -12,6 +12,7 @@ class WineQuality(GeneratorBasedBuilder):
|
|
| 12 |
)
|
| 13 |
|
| 14 |
def _split_generators(self, dl_manager):
|
|
|
|
| 15 |
if self.config.name == "red":
|
| 16 |
return [datasets.SplitGenerator(name="red", gen_kwargs={"filepath": os.path.join(dl_manager.dataset_dir, "winequality-red.csv")})]
|
| 17 |
elif self.config.name == "white":
|
|
|
|
| 12 |
)
|
| 13 |
|
| 14 |
def _split_generators(self, dl_manager):
|
| 15 |
+
print(f"Builder config name: {self.config.name}")
|
| 16 |
if self.config.name == "red":
|
| 17 |
return [datasets.SplitGenerator(name="red", gen_kwargs={"filepath": os.path.join(dl_manager.dataset_dir, "winequality-red.csv")})]
|
| 18 |
elif self.config.name == "white":
|