Update IDD.py
Browse files
IDD.py
CHANGED
|
@@ -119,7 +119,7 @@ class IDD(datasets.GeneratorBasedBuilder):
|
|
| 119 |
#itrate trough images
|
| 120 |
from file_path , image in images:
|
| 121 |
yield idx, {
|
| 122 |
-
"image": {"filepath": file_path, 'image': image.read()}
|
| 123 |
}
|
| 124 |
idx += 1
|
| 125 |
|
|
|
|
| 119 |
#itrate trough images
|
| 120 |
from file_path , image in images:
|
| 121 |
yield idx, {
|
| 122 |
+
"image": {"filepath": file_path, 'image': image.read()}
|
| 123 |
}
|
| 124 |
idx += 1
|
| 125 |
|