Commit
·
772d069
1
Parent(s):
ca67dd1
Upload conceptual_captions.py with huggingface_hub
Browse files- conceptual_captions.py +0 -1
conceptual_captions.py
CHANGED
|
@@ -46,6 +46,5 @@ class ConceptualCaptions(datasets.GeneratorBasedBuilder):
|
|
| 46 |
.decode('pil')
|
| 47 |
.to_tuple('jpg;png', 'txt')
|
| 48 |
)
|
| 49 |
-
print(webdataset)
|
| 50 |
for i, (image, caption) in enumerate(webdataset):
|
| 51 |
yield i, {'image': image, 'caption': caption}
|
|
|
|
| 46 |
.decode('pil')
|
| 47 |
.to_tuple('jpg;png', 'txt')
|
| 48 |
)
|
|
|
|
| 49 |
for i, (image, caption) in enumerate(webdataset):
|
| 50 |
yield i, {'image': image, 'caption': caption}
|