mostafaelaraby/wavegan-pytorch

macos running problem

okanduzyel opened this issue · 1 comments

Hi,

I try to run MacBook Pro 2015 computer which has no GPU unit. Successfully downloaded piano dataset but while I try to start train, get these errors:

Screen Shot 2022-07-05 at 15 34 27

add these to your code and update, it works:

import soundfile as sf

#librosa.display.waveplot(audio[0], sr=sampling_rate) -> delete it line 50
#librosa.output.write_wav(output_path, sample, sampling_rate) -> delete it line 176
sf.write(output_path, sample, 44100, format='WAV') -> add that