fix: sorting
Browse files
facial-emotion-recognition-dataset.py
CHANGED
@@ -72,7 +72,7 @@ class FacialEmotionRecognitionDataset(datasets.GeneratorBasedBuilder):
|
|
72 |
|
73 |
def _generate_examples(self, images, annotations):
|
74 |
annotations_df = pd.read_csv(annotations, sep=';')
|
75 |
-
images = sorted(
|
76 |
images = [images[i:i + 8] for i in range(0, len(images), 8)]
|
77 |
|
78 |
for idx, images_set in enumerate(images):
|
|
|
72 |
|
73 |
def _generate_examples(self, images, annotations):
|
74 |
annotations_df = pd.read_csv(annotations, sep=';')
|
75 |
+
images = sorted(images)
|
76 |
images = [images[i:i + 8] for i in range(0, len(images), 8)]
|
77 |
|
78 |
for idx, images_set in enumerate(images):
|