alkzar90 commited on
Commit
abfb9f0
·
1 Parent(s): cb899d5

Activate logging debbuger

Browse files
Files changed (1) hide show
  1. CC6204-Hackaton-Cub-Dataset.py +3 -2
CC6204-Hackaton-Cub-Dataset.py CHANGED
@@ -5,8 +5,8 @@ import datasets
5
 
6
  from requests import get
7
 
8
- #datasets.logging.set_verbosity_debug()
9
- #logger = datasets.logging.get_logger(__name__)
10
  #datasets.logging.set_verbosity_info()
11
  #datasets.logging.set_verbosity_debug()
12
 
@@ -103,6 +103,7 @@ class CubDataset(datasets.GeneratorBasedBuilder):
103
  # Download images
104
  img_data_files = dl_manager.download_and_extract(_URLS["image_urls"])
105
  text_data_files = dl_manager.download_and_extract(_URLS["text_urls"])
 
106
 
107
  img_path_files = dl_manager.iter_files(img_data_files)
108
  text_path_files = dl_manager.iter_files(text_data_files)
 
5
 
6
  from requests import get
7
 
8
+ datasets.logging.set_verbosity_debug()
9
+ logger = datasets.logging.get_logger(__name__)
10
  #datasets.logging.set_verbosity_info()
11
  #datasets.logging.set_verbosity_debug()
12
 
 
103
  # Download images
104
  img_data_files = dl_manager.download_and_extract(_URLS["image_urls"])
105
  text_data_files = dl_manager.download_and_extract(_URLS["text_urls"])
106
+ print(type(text_data_files))
107
 
108
  img_path_files = dl_manager.iter_files(img_data_files)
109
  text_path_files = dl_manager.iter_files(text_data_files)