Datasets:
Tasks:
Image Classification
Modalities:
Image
Formats:
imagefolder
Languages:
Georgian
Size:
10K - 100K
AnaChikashua
commited on
Commit
·
e34b638
1
Parent(s):
30be7d8
Update handwriting_dataset.py
Browse files- handwriting_dataset.py +2 -2
handwriting_dataset.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import datasets
|
2 |
from datasets.tasks import ImageClassification
|
3 |
-
_NAMES = ['ა', 'ბ', 'გ', 'დ', 'ე', 'ვ', 'ზ', 'თ', 'ი', 'კ', 'ლ', 'მ', 'ნ', 'ო', 'პ', 'ჟ', 'რ', 'ს', 'ტ', 'უ', 'ფ', 'ქ', 'ღ', 'ყ', 'შ', 'ჩ', 'ც', 'ძ', 'წ', 'ჭ', 'ხ', 'ჯ', 'ჰ']
|
4 |
logger = datasets.logging.get_logger(__name__)
|
5 |
|
6 |
_CITATION = """\
|
@@ -23,7 +23,7 @@ class HandwritingData(datasets.GeneratorBasedBuilder):
|
|
23 |
citation=_CITATION,
|
24 |
features=datasets.Features(
|
25 |
{
|
26 |
-
"label": datasets.features.ClassLabel(
|
27 |
"image": datasets.Image()
|
28 |
}
|
29 |
),
|
|
|
1 |
import datasets
|
2 |
from datasets.tasks import ImageClassification
|
3 |
+
# _NAMES = ['ა', 'ბ', 'გ', 'დ', 'ე', 'ვ', 'ზ', 'თ', 'ი', 'კ', 'ლ', 'მ', 'ნ', 'ო', 'პ', 'ჟ', 'რ', 'ს', 'ტ', 'უ', 'ფ', 'ქ', 'ღ', 'ყ', 'შ', 'ჩ', 'ც', 'ძ', 'წ', 'ჭ', 'ხ', 'ჯ', 'ჰ']
|
4 |
logger = datasets.logging.get_logger(__name__)
|
5 |
|
6 |
_CITATION = """\
|
|
|
23 |
citation=_CITATION,
|
24 |
features=datasets.Features(
|
25 |
{
|
26 |
+
"label": datasets.features.ClassLabel(),
|
27 |
"image": datasets.Image()
|
28 |
}
|
29 |
),
|