Nathan Lambert commited on
Commit
ef0f792
1 Parent(s): 0fa9345

typo hotfix

Browse files
Files changed (1) hide show
  1. geodiff-example-data.py +1 -1
geodiff-example-data.py CHANGED
@@ -117,7 +117,7 @@ class GeoDiffExampleData(datasets.GeneratorBasedBuilder):
117
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
118
  def _generate_examples(self, filepath, split):
119
  # The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
120
- with open(filepath, , "rb") as f:
121
  # data = torch.load(f)
122
  data = pickle.load(f)
123
  yield data
 
117
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
118
  def _generate_examples(self, filepath, split):
119
  # The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
120
+ with open(filepath, "rb") as f:
121
  # data = torch.load(f)
122
  data = pickle.load(f)
123
  yield data