Datasets:
Tasks:
Image Classification
Modalities:
Image
Formats:
imagefolder
Languages:
Georgian
Size:
10K - 100K
AnaChikashua
commited on
Commit
•
5a578fe
1
Parent(s):
fc48a92
Update handwriting_dataset.py
Browse files- handwriting_dataset.py +1 -1
handwriting_dataset.py
CHANGED
@@ -51,6 +51,6 @@ class HandwritingData(datasets.GeneratorBasedBuilder):
|
|
51 |
logger.error(filepath)
|
52 |
text = [c for c in str(filepath) if not 0 <= ord(c) <= 127][0]
|
53 |
yield idx, {
|
54 |
-
"label":
|
55 |
"image": image
|
56 |
}
|
|
|
51 |
logger.error(filepath)
|
52 |
text = [c for c in str(filepath) if not 0 <= ord(c) <= 127][0]
|
53 |
yield idx, {
|
54 |
+
"label": str(idx)+'txt',
|
55 |
"image": image
|
56 |
}
|