Datasets:
Tasks:
Image Classification
Modalities:
Image
Formats:
imagefolder
Languages:
Georgian
Size:
10K - 100K
AnaChikashua
commited on
Commit
•
97412a6
1
Parent(s):
e9dbced
Update handwriting_dataset.py
Browse files- handwriting_dataset.py +1 -2
handwriting_dataset.py
CHANGED
@@ -50,7 +50,6 @@ class HandwritingData(datasets.GeneratorBasedBuilder):
|
|
50 |
# extract the text from the filename
|
51 |
text = [c for c in filepath if not 0 <= ord(c) <= 127][0]
|
52 |
yield idx, {
|
53 |
-
"
|
54 |
-
"label": str(text),
|
55 |
"image": {"path": filepath, "bytes": image.read()}
|
56 |
}
|
|
|
50 |
# extract the text from the filename
|
51 |
text = [c for c in filepath if not 0 <= ord(c) <= 127][0]
|
52 |
yield idx, {
|
53 |
+
"label": text,
|
|
|
54 |
"image": {"path": filepath, "bytes": image.read()}
|
55 |
}
|