gdamms commited on
Commit
000853c
1 Parent(s): 83d0eee
Files changed (1) hide show
  1. ornithoscope.py +1 -1
ornithoscope.py CHANGED
@@ -181,7 +181,7 @@ class Ornithoscope(datasets.GeneratorBasedBuilder):
181
  test_json = json.load(
182
  open(dl_manager.download_and_extract(self.config.test_json), 'r'))
183
  test_vals = []
184
- for id_path, value in test_json.item():
185
  root, file = os.path.split(id_path)
186
  path = os.path.join(archives[root], file)
187
  val = {
 
181
  test_json = json.load(
182
  open(dl_manager.download_and_extract(self.config.test_json), 'r'))
183
  test_vals = []
184
+ for id_path, value in test_json.items():
185
  root, file = os.path.split(id_path)
186
  path = os.path.join(archives[root], file)
187
  val = {