tsbpp commited on
Commit
20a3db8
·
verified ·
1 Parent(s): 8377992

Upload load.py

Browse files
Files changed (1) hide show
  1. load.py +1 -2
load.py CHANGED
@@ -43,8 +43,7 @@ def verify_and_download_images(data):
43
  print(f"Image {key}{ext} not found, attempting to download...")
44
  if not download_image_with_retries(image_url, output_file):
45
  print(f"Warning: Could not download image {image_url}")
46
- else:
47
- print(f"Image {key}{ext} already exists. No download needed.")
48
 
49
  # Load the dataset JSON file
50
  with open('dataset.json', 'r') as fp:
 
43
  print(f"Image {key}{ext} not found, attempting to download...")
44
  if not download_image_with_retries(image_url, output_file):
45
  print(f"Warning: Could not download image {image_url}")
46
+
 
47
 
48
  # Load the dataset JSON file
49
  with open('dataset.json', 'r') as fp: