Datasets:
Stavros Niafas
commited on
Commit
·
4739028
1
Parent(s):
b72f6cb
update data builder
Browse files
dof.py
CHANGED
|
@@ -76,6 +76,6 @@ class DoF(datasets.GeneratorBasedBuilder):
|
|
| 76 |
for file_path in images:
|
| 77 |
label = file_path.split("/")[-2:][0]
|
| 78 |
yield file_path, {
|
| 79 |
-
"image":
|
| 80 |
"label": label,
|
| 81 |
}
|
|
|
|
| 76 |
for file_path in images:
|
| 77 |
label = file_path.split("/")[-2:][0]
|
| 78 |
yield file_path, {
|
| 79 |
+
"image": file_path,
|
| 80 |
"label": label,
|
| 81 |
}
|