AnaChikashua commited on
Commit
6ec69a0
1 Parent(s): e59f69e

Update handwriting_dataset.py

Browse files
Files changed (1) hide show
  1. handwriting_dataset.py +0 -2
handwriting_dataset.py CHANGED
@@ -1,5 +1,4 @@
1
  import datasets
2
- from datasets.tasks import ImageClassification
3
  _NAMES = ['ა', 'ბ', 'გ', 'დ', 'ე', 'ვ', 'ზ', 'თ', 'ი', 'კ', 'ლ', 'მ', 'ნ', 'ო', 'პ', 'ჟ', 'რ', 'ს', 'ტ', 'უ', 'ფ', 'ქ', 'ღ', 'ყ', 'შ', 'ჩ', 'ც', 'ძ', 'წ', 'ჭ', 'ხ', 'ჯ', 'ჰ']
4
  logger = datasets.logging.get_logger(__name__)
5
 
@@ -29,7 +28,6 @@ class HandwritingData(datasets.GeneratorBasedBuilder):
29
  ),
30
  supervised_keys=("image", "label"),
31
  homepage="https://huggingface.co/datasets/AnaChikashua/handwriting",
32
- task_templates=[ImageClassification(image_column="image", label_column="label")],
33
 
34
  )
35
 
 
1
  import datasets
 
2
  _NAMES = ['ა', 'ბ', 'გ', 'დ', 'ე', 'ვ', 'ზ', 'თ', 'ი', 'კ', 'ლ', 'მ', 'ნ', 'ო', 'პ', 'ჟ', 'რ', 'ს', 'ტ', 'უ', 'ფ', 'ქ', 'ღ', 'ყ', 'შ', 'ჩ', 'ც', 'ძ', 'წ', 'ჭ', 'ხ', 'ჯ', 'ჰ']
3
  logger = datasets.logging.get_logger(__name__)
4
 
 
28
  ),
29
  supervised_keys=("image", "label"),
30
  homepage="https://huggingface.co/datasets/AnaChikashua/handwriting",
 
31
 
32
  )
33