Duy1332002 commited on
Commit
ad30fc7
·
verified ·
1 Parent(s): 83cdd89

Update instruct500k_vi.py

Browse files
Files changed (1) hide show
  1. instruct500k_vi.py +2 -2
instruct500k_vi.py CHANGED
@@ -18,7 +18,7 @@ _REPO_ID = "datasets/Vividbot/instruct500k_vi"
18
  _REPO_URL = f"https://huggingface.co/{_REPO_ID}/resolve/main"
19
  _URLS = {
20
  "meta": f"{_REPO_URL}/instruct500k_vi.json",
21
- "image": f"{_REPO_URL}/images" + "{shard}.zip",
22
  }
23
 
24
  _CONFIGS = ["all"]
@@ -95,7 +95,7 @@ class Instruck500k_Vi(datasets.GeneratorBasedBuilder):
95
  image_dirs = dl_manager.download_and_extract(
96
  [_URLS["image"].format(shard=shard) for shard in config_names]
97
  )
98
- print(_CONFIGS)
99
  image_dict = {
100
  shard: image_dir
101
  for shard, image_dir in zip(config_names, image_dirs)
 
18
  _REPO_URL = f"https://huggingface.co/{_REPO_ID}/resolve/main"
19
  _URLS = {
20
  "meta": f"{_REPO_URL}/instruct500k_vi.json",
21
+ "image": f"{_REPO_URL}/images/" + "{shard}.zip",
22
  }
23
 
24
  _CONFIGS = ["all"]
 
95
  image_dirs = dl_manager.download_and_extract(
96
  [_URLS["image"].format(shard=shard) for shard in config_names]
97
  )
98
+ print(image_dirs)
99
  image_dict = {
100
  shard: image_dir
101
  for shard, image_dir in zip(config_names, image_dirs)