Datasets:
Tasks:
Image-to-Text
Formats:
parquet
Sub-tasks:
image-captioning
Languages:
English
Size:
100K - 1M
DFRamirez-USMC
commited on
Commit
•
a40afea
1
Parent(s):
ae80fcb
Update README.md
Browse files"filepath" attribute does not exist for each example.
"filename" attribute should be "file_name".
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["
|
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")
|