audio file
- For the sample: first_sample.wav
audio file
This model requires additional module.
pip3 install soundfile
Automatically downloads the onnx and prototxt files on the first run. It is necessary to be connected to the Internet while downloading.
For the sample wav,
$ python3 pytorch_wavenet.py
If you want to specify the input audio file, put the wav path after the --input
option.
You can use --savepath
option to change the name of the output file to save.
$ python3 pytorch_wavenet.py --input WAV_PATH --savepath SAVE_WAV_PATH
In this version, you have to use --onnx
option.
$ python3 pytorch_wavenet.py --onnx
After running this program, output.wav, which is predicted besed on randomly generated wave data is generated.
PyTorch 1.5.0
ONNX opset = 17