Datasets:
pain
/

Modalities:
Image
Languages:
Arabic
Size:
n<1K
ArXiv:
Tags:
License:
pain commited on
Commit
3310b7c
1 Parent(s): fd41fe2

Update AASL.py

Browse files
Files changed (1) hide show
  1. AASL.py +5 -4
AASL.py CHANGED
@@ -23,7 +23,7 @@ _CITATION = """\
23
  """
24
 
25
  _DESCRIPTION = "RGB Arabic Alphabet Sign Language (AASL) dataset comprises 7,857 raw and fully labelled RGB images of the Arabic sign language alphabets, which to our best knowledge is the first publicly available RGB dataset. The dataset is aimed to help those interested in developing real-life Arabic sign language classification models. AASL was collected from more than 200 participants and with different settings such as lighting, background, image orientation, image size, and image resolution. Experts in the field supervised, validated and filtered the collected images to ensure a high-quality dataset."
26
- _URL = "https://huggingface.co/datasets/pain/AASL/blob/main/images.zip"
27
  _HOMEPAGE = "https://www.kaggle.com/datasets/muhammadalbrham/rgb-arabic-alphabets-sign-language-dataset"
28
  _LICENSE = "CC BY-SA 4.0"
29
 
@@ -55,10 +55,11 @@ class AASL(datasets.GeneratorBasedBuilder):
55
  )
56
 
57
  def _split_generators(self, dl_manager):
58
- archive_path = dl_manager.download(_URL)
59
-
 
60
  return [datasets.SplitGenerator(
61
- name=datasets.Split.TRAIN, gen_kwargs={"images":dl_manager.iter_archive(archive_path)}
62
  )]
63
 
64
  def _generate_examples(self, images):
 
23
  """
24
 
25
  _DESCRIPTION = "RGB Arabic Alphabet Sign Language (AASL) dataset comprises 7,857 raw and fully labelled RGB images of the Arabic sign language alphabets, which to our best knowledge is the first publicly available RGB dataset. The dataset is aimed to help those interested in developing real-life Arabic sign language classification models. AASL was collected from more than 200 participants and with different settings such as lighting, background, image orientation, image size, and image resolution. Experts in the field supervised, validated and filtered the collected images to ensure a high-quality dataset."
26
+ _URL = "https://huggingface.co/datasets/pain/AASL/resolve/main/images.zip"
27
  _HOMEPAGE = "https://www.kaggle.com/datasets/muhammadalbrham/rgb-arabic-alphabets-sign-language-dataset"
28
  _LICENSE = "CC BY-SA 4.0"
29
 
 
55
  )
56
 
57
  def _split_generators(self, dl_manager):
58
+ images_path = dl_manager.download_and_extract(_URL)
59
+ print("print(images_path)")
60
+ print(images_path)
61
  return [datasets.SplitGenerator(
62
+ name=datasets.Split.TRAIN, gen_kwargs={"images":dl_manager.iter_files([images_path])}
63
  )]
64
 
65
  def _generate_examples(self, images):