Real-time-voice-cloning: Create a exe?

Created on 23 Jan 2020  路  19Comments  路  Source: CorentinJ/Real-Time-Voice-Cloning

Is it possible for you to publish a release as an "exe-file"?

help wanted

Most helpful comment

Now that the toolbox has CPU support, we should consider a release in compiled form. Would someone from the community like to work on this?

I'll happily give this a go.

All 19 comments

Undfoetunately this project requires at least a cursory knowledge of programming languages and if not ml, the ability to set up extensive libraries to run with a gpu.

I鈥檓 sorry but perhaps we can help get it running?

When running:

pip install -r requirements.txt
I get:

Building wheels for collected packages: webrtcvad
  Building wheel for webrtcvad (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\Lucas\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Lucas\\AppData\\Local\\Temp\\pip-install-3r98ntqu\\webrtcvad\\setup.py'"'"'; __file__='"'"'C:\\Users\\Lucas\\AppData\\Local\\Temp\\pip-install-3r98ntqu\\webrtcvad\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Lucas\AppData\Local\Temp\pip-wheel-8dg3vf10' --python-tag cp37
       cwd: C:\Users\Lucas\AppData\Local\Temp\pip-install-3r98ntqu\webrtcvad\
  Complete output (9 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.7
  copying webrtcvad.py -> build\lib.win-amd64-3.7
  running build_ext
  building '_webrtcvad' extension
  error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
  ----------------------------------------
  ERROR: Failed building wheel for webrtcvad
  Running setup.py clean for webrtcvad
Failed to build webrtcvad
Installing collected packages: webrtcvad, audioread, resampy, soundfile, librosa, sounddevice, Unidecode, inflect, dill, multiprocess
  Running setup.py install for webrtcvad ... error
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\Lucas\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Lucas\\AppData\\Local\\Temp\\pip-install-3r98ntqu\\webrtcvad\\setup.py'"'"'; __file__='"'"'C:\\Users\\Lucas\\AppData\\Local\\Temp\\pip-install-3r98ntqu\\webrtcvad\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Lucas\AppData\Local\Temp\pip-record-ezwhs4cx\install-record.txt' --single-version-externally-managed --compile
         cwd: C:\Users\Lucas\AppData\Local\Temp\pip-install-3r98ntqu\webrtcvad\
    Complete output (9 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.7
    copying webrtcvad.py -> build\lib.win-amd64-3.7
    running build_ext
    building '_webrtcvad' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\Lucas\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Lucas\\AppData\\Local\\Temp\\pip-install-3r98ntqu\\webrtcvad\\setup.py'"'"'; __file__='"'"'C:\\Users\\Lucas\\AppData\\Local\\Temp\\pip-install-3r98ntqu\\webrtcvad\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Lucas\AppData\Local\Temp\pip-record-ezwhs4cx\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.

I do however got Microsoft Visual C++ Build Tools installed

I do however got Microsoft Visual C++ Build Tools installed

Install the full Visual Studio and enable C/C++ in the install options.

Now that the toolbox has CPU support, we should consider a release in compiled form. Would someone from the community like to work on this?

Now that the toolbox has CPU support, we should consider a release in compiled form. Would someone from the community like to work on this?

I'll happily give this a go.

@evilexecutable Thank you for taking this on!

Any updates @evilexecutable ? There is someone in #428 who would like an exe.

Checking in to see if you've been able to make any progress on the exe.

Would like someone to take this on. Preferably using #472 since this project will be pytorch-based going forward, it will ensure compatibility with future synthesizer models.

Hi @CodingRox82, thank you for expressing willingness to help make a compiled version of the toolbox. PyInstaller seems to be the way to go, but I have not used it before.

@blue-fish I'll give it a shot. My long term goal for this is to use it on a smartphone, but I'll settle on running this server side for now. Can you point me in the right direction on which OS to use to start off? I read through some of the other comments and Windows does not seem like the way to go.

Sorry, I mistakenly assumed that you were an existing user of the toolbox. Why don't you try the toolbox first and then decide whether you want to compile it for the benefit of the community. You should use Ubuntu 20.04, I recommend the setup guide in the wiki. Open an issue if you get stuck.

Windows is not too difficult if GPU support is not required. The toolbox also runs on CPU, though somewhat slower.

Windows is not too difficult if GPU support is not required. The toolbox also runs on CPU, though somewhat slower.

@blue-fish I'd prefer Windows (the OS of my personal computer), otherwise my options are an Ubuntu USB or buy a new laptop and install Ubuntu on it. Do we have an instruction set for Windows 10 installation?

Nothing as detailed for Windows is available, but the instructions in README.md have worked for me.

I prefer windows as well. As GPU does that need something that supports Cuda? I don't got Nvidia. And how is it going?

@blue-fish were you able to get it working on your machine?

@CodingRox82 I don't have any trouble running the toolbox, but I use Linux where setup is very straightforward. I thought you were going to attempt a Windows install, and then compile it with PyInstaller if things went well.

@CodingRox82 Sent you a github invitation to discuss further. And deleted your comment as requested.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yevgetman picture yevgetman  路  6Comments

git-davi picture git-davi  路  9Comments

mrichman picture mrichman  路  3Comments

rlutsyshyn picture rlutsyshyn  路  10Comments

frossi65 picture frossi65  路  3Comments