r9y9 / deepvoice3_pytorch

PyTorch implementation of convolutional neural networks-based text-to-speech synthesis models
https://r9y9.github.io/deepvoice3_pytorch/
Other
1.97k stars 484 forks source link

Deep voice 3 multi speaker on Colab - failed building wheel for lws #221

Open mdkberry opened 3 years ago

mdkberry commented 3 years ago

there is error after error trying to run either of the colabs

# Copy preset file (json) from master
# The preset file describes hyper parameters
! git checkout master --quiet
preset = "./presets/deepvoice3_vctk.json"
! cp -v $preset .
preset = "./deepvoice3_vctk.json"

# And then git checkout to the working commit
# This is due to the model was trained a few months ago and it's not compatible
# with the current master. 
! git checkout 0421749 --quiet
! pip install -q -e '.[train]'

'./presets/deepvoice3_vctk.json' -> './deepvoice3_vctk.json' Building wheel for lws (setup.py) ... error ERROR: Failed building wheel for lws Running setup.py install for lws ... error

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-hi5egqjb/lws/setup.py'"'"'; file='"'"'/tmp/pip-install-hi5egqjb/lws/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-6qawewzq/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.

faheemkhaskheli9 commented 2 years ago

in setup.py file, remove the version for lws, on line 87 just write "lws"