audeering/opensmile

Why the output line in csv file always have some badlines?

jazlyn-Xv opened this issue · 1 comments

When I use IS09_emotion.conf to extract fixed features from a large amount of wavs and save the output in a same csv file, some of the outputs is available, because when i want to read it with pd.read_csv, it always show some bad lines with warning 'Skipping line 725: expected 386 fields, saw 737\n',and the 737 can be 738\739...I guess it has put the results of two wavs in same line,and sometimes miss some values......

If you run multiple SMILExtract instances in parallel, and they write concurrently to the same output file, the output will get corrupted as you described. You need to have each instance write in its own output file and afterwards concatenate them.