alkzar90 commited on
Commit
35f32ee
1 Parent(s): 4d48ea5

Update CC6204-Hackaton-Cub-Dataset.py

Browse files
Files changed (1) hide show
  1. CC6204-Hackaton-Cub-Dataset.py +2 -1
CC6204-Hackaton-Cub-Dataset.py CHANGED
@@ -26,6 +26,7 @@ _URLS = {
26
  "images": f"{_REPO}/images.txt",
27
  "image_urls": f"{_REPO}/images.zip",
28
  "text_urls": f"{_REPO}/text.zip",
 
29
  }
30
 
31
  # Create id-to-label dictionary using the classes file
@@ -89,7 +90,7 @@ class CubDataset(datasets.GeneratorBasedBuilder):
89
  test_files = []
90
 
91
  # Download images
92
- data_files = dl_manager.download_and_extract(_URLS["image_urls"])
93
 
94
  for batch in data_files:
95
  path_files = dl_manager.iter_files(batch)
 
26
  "images": f"{_REPO}/images.txt",
27
  "image_urls": f"{_REPO}/images.zip",
28
  "text_urls": f"{_REPO}/text.zip",
29
+ "mini_images_urls": f"{_REPO}/dummy/mini_images.zip"
30
  }
31
 
32
  # Create id-to-label dictionary using the classes file
 
90
  test_files = []
91
 
92
  # Download images
93
+ data_files = dl_manager.download_and_extract(_URLS["mini_image_urls"])
94
 
95
  for batch in data_files:
96
  path_files = dl_manager.iter_files(batch)