Datasets:
pain
/

Languages:
Arabic
ArXiv:
License:
pain commited on
Commit
cb22f5f
1 Parent(s): d98a838

Update AASL.py

Browse files
Files changed (1) hide show
  1. AASL.py +5 -6
AASL.py CHANGED
@@ -69,9 +69,8 @@ class AASL(datasets.GeneratorBasedBuilder):
69
  if two_exp[class_name]>2:
70
  continue
71
  else:
72
- if os.path.basename(file).endswith(".jpg"):
73
- with open(file, "rb"):
74
- yield str(i), {
75
- "image": file,
76
- "label": class_name,
77
- }
 
69
  if two_exp[class_name]>2:
70
  continue
71
  else:
72
+ with open(file, "rb"):
73
+ yield str(i), {
74
+ "image": file,
75
+ "label": class_name,
76
+ }