phiyodr DFRamirez-USMC commited on
Commit
036f3f8
1 Parent(s): ae80fcb

Update README.md (#2)

Browse files

- Update README.md (a40afea65200c86af9b3410b2fe6fc00095e46e3)


Co-authored-by: David Ramirez <DFRamirez-USMC@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -93,7 +93,7 @@ PATH_TO_IMAGE_FOLDER = "COCO2017"
93
 
94
  def create_full_path(example):
95
  """Create full path to image using `base_path` to COCO2017 folder."""
96
- example["image_path"] = os.path.join(PATH_TO_IMAGE_FOLDER, example["filepath"], example["filename"])
97
  return example
98
 
99
  dataset = load_dataset("phiyodr/coco2017")
 
93
 
94
  def create_full_path(example):
95
  """Create full path to image using `base_path` to COCO2017 folder."""
96
+ example["image_path"] = os.path.join(PATH_TO_IMAGE_FOLDER, example["file_name"])
97
  return example
98
 
99
  dataset = load_dataset("phiyodr/coco2017")