Datasets:
Tasks:
Audio Classification
Modalities:
Image
Formats:
imagefolder
Languages:
English
Size:
< 1K
Tags:
SER
Speech Emotion Recognition
Speech Emotion Classification
Audio Classification
Audio
Emotion
License:
Bug fixed
Browse filesBug fixed, you need to redownload the parquet file as well
- parquet2csv_wav.py +1 -1
parquet2csv_wav.py
CHANGED
@@ -52,7 +52,7 @@ df2 = df2.with_columns(pl.col('ytid_seg').str.replace_all(bad_dir, sample_dir))
|
|
52 |
def numpy2wav(row):
|
53 |
segment = os.path.splitext(os.path.basename(os.path.normpath(row[0])))[0]
|
54 |
print('PROCESSED:', segment)
|
55 |
-
write(sample_dir + segment + '.wav', 16000, np.array(row[1]))
|
56 |
return segment
|
57 |
|
58 |
# Apply the function (this will take a while)
|
|
|
52 |
def numpy2wav(row):
|
53 |
segment = os.path.splitext(os.path.basename(os.path.normpath(row[0])))[0]
|
54 |
print('PROCESSED:', segment)
|
55 |
+
write(sample_dir + segment + '.wav', 16000, np.array(row[1]).astype(np.int16))
|
56 |
return segment
|
57 |
|
58 |
# Apply the function (this will take a while)
|