Skip to content

Commit

Permalink
Adaption to new numpy version
Browse files Browse the repository at this point in the history
  • Loading branch information
sibange committed Jun 4, 2024
1 parent f6b94bb commit 9029597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sms_wsj/database/write_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def audio_read(example):

with soundfile.SoundFile(wav_file, mode='r') as f:
audio_data.append(f.read().T)
example['audio_data'][audio_key] = np.array(audio_data)
example['audio_data'][audio_key] = np.array(audio_data, dtype="object")
return example


Expand Down

0 comments on commit 9029597

Please sign in to comment.