jhetherly / EnglishSpeechUpsampler

Upsample speech audio in wav format using deep learning
MIT License
191 stars 33 forks source link

TypeError: a bytes-like object is required, not 'str' when writing to a file #4

Open balandongiv opened 5 years ago

balandongiv commented 5 years ago

For this error,

Change the script line 18

with open(filename, 'wb') as csvfile: to with open(filename, 'w') as csvfile:

Ref Ref 1