will33am commited on
Commit
52d3711
1 Parent(s): 296bff8

fix path pkl

Browse files
Files changed (2) hide show
  1. .ipynb_checkpoints/AVA-checkpoint.py +1 -1
  2. AVA.py +1 -1
.ipynb_checkpoints/AVA-checkpoint.py CHANGED
@@ -50,7 +50,7 @@ class AVA(datasets.GeneratorBasedBuilder):
50
 
51
  def _generate_examples(self, archives, split):
52
  """Yields examples."""
53
- DICT_METADATA = Path(dl_manager.download_and_extract(_BASE_HF_URL / "metadata.pkl"))
54
  idx = 0
55
  for archive in archives:
56
  for path, file in archive:
 
50
 
51
  def _generate_examples(self, archives, split):
52
  """Yields examples."""
53
+ DICT_METADATA = Path(dl_manager.download_and_extract(_BASE_HF_URL)) / "metadata.pkl")
54
  idx = 0
55
  for archive in archives:
56
  for path, file in archive:
AVA.py CHANGED
@@ -50,7 +50,7 @@ class AVA(datasets.GeneratorBasedBuilder):
50
 
51
  def _generate_examples(self, archives, split):
52
  """Yields examples."""
53
- DICT_METADATA = Path(dl_manager.download_and_extract(_BASE_HF_URL / "metadata.pkl"))
54
  idx = 0
55
  for archive in archives:
56
  for path, file in archive:
 
50
 
51
  def _generate_examples(self, archives, split):
52
  """Yields examples."""
53
+ DICT_METADATA = Path(dl_manager.download_and_extract(_BASE_HF_URL)) / "metadata.pkl")
54
  idx = 0
55
  for archive in archives:
56
  for path, file in archive: