zqwerty
commited on
Commit
·
0a1d885
1
Parent(s):
d7235fa
fix bug in script
Browse files- CrossWOZ.py +1 -0
CrossWOZ.py
CHANGED
|
@@ -249,6 +249,7 @@ class CrossWOZ(datasets.GeneratorBasedBuilder):
|
|
| 249 |
# The `key` is here for legacy reason (tfds) and is not important in itself.
|
| 250 |
print(filepath)
|
| 251 |
print(os.path.dirname(filepath))
|
|
|
|
| 252 |
def convert_goal(raw_goal):
|
| 253 |
goal = []
|
| 254 |
for subgoal in raw_goal:
|
|
|
|
| 249 |
# The `key` is here for legacy reason (tfds) and is not important in itself.
|
| 250 |
print(filepath)
|
| 251 |
print(os.path.dirname(filepath))
|
| 252 |
+
print(os.listdir(os.path.dirname(filepath)))
|
| 253 |
def convert_goal(raw_goal):
|
| 254 |
goal = []
|
| 255 |
for subgoal in raw_goal:
|