zqwerty commited on
Commit
d7235fa
·
1 Parent(s): b483afc

fix bug in script

Browse files
Files changed (1) hide show
  1. CrossWOZ.py +2 -0
CrossWOZ.py CHANGED
@@ -247,6 +247,8 @@ class CrossWOZ(datasets.GeneratorBasedBuilder):
247
  """ Yields examples as (key, example) tuples. """
248
  # This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
249
  # The `key` is here for legacy reason (tfds) and is not important in itself.
 
 
250
  def convert_goal(raw_goal):
251
  goal = []
252
  for subgoal in raw_goal:
 
247
  """ Yields examples as (key, example) tuples. """
248
  # This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
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: