Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a exe? #267

Closed
starinspace opened this issue Jan 23, 2020 · 22 comments
Closed

Create a exe? #267

starinspace opened this issue Jan 23, 2020 · 22 comments

Comments

@starinspace
Copy link

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

@bmccallister
Copy link

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’m sorry but perhaps we can help get it running?

@starinspace
Copy link
Author

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.

@starinspace
Copy link
Author

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

@evilexecutable
Copy link

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

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

@ghost
Copy link

ghost commented Jul 9, 2020

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?

@ghost ghost added enhancement New feature or request help wanted Extra attention is needed labels Jul 9, 2020
@evilexecutable
Copy link

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.

@ghost
Copy link

ghost commented Jul 9, 2020

@evilexecutable Thank you for taking this on!

@ghost ghost assigned evilexecutable Jul 9, 2020
@ghost ghost mentioned this issue Jul 17, 2020
@ghost
Copy link

ghost commented Jul 17, 2020

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

@ghost
Copy link

ghost commented Jul 29, 2020

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

@ghost ghost removed the enhancement New feature or request label Aug 10, 2020
@ghost ghost unassigned evilexecutable Aug 10, 2020
@ghost
Copy link

ghost commented Aug 10, 2020

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.

@ghost
Copy link

ghost commented Oct 12, 2020

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.

@CodingRox82
Copy link

CodingRox82 commented Oct 12, 2020

@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.

@ghost
Copy link

ghost commented Oct 12, 2020

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.

@CodingRox82
Copy link

CodingRox82 commented Oct 13, 2020

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?

@ghost
Copy link

ghost commented Oct 13, 2020

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

@starinspace
Copy link
Author

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

@CodingRox82
Copy link

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

@ghost
Copy link

ghost commented Oct 23, 2020

@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.

@ghost ghost deleted a comment from CodingRox82 Oct 23, 2020
@ghost
Copy link

ghost commented Oct 23, 2020

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

@Utomo88
Copy link

Utomo88 commented Jan 6, 2021

This is popular things. but until now not a single release available. I hope somebody handle it. Thank you

@ghost ghost removed the help wanted Extra attention is needed label Feb 18, 2021
@ghost
Copy link

ghost commented Feb 18, 2021

It has been over a year with no real progress on this item. I'm closing it. A binary release is still a good idea, but it is not a goal for this repo at this time.

In the meantime, we've made numerous improvements which improve access and make setup much easier:

  1. NVIDIA GPU no longer required (Cleanup pr 331 #366)
  2. Make webrtcvad optional (Make webrtcvad optional for inference #375)
  3. Remove Tensorflow as dependency (Pytorch synthesizer #472)
  4. Detailed Windows install instructions (Improved Install Instructions #642 (comment))

@ghost ghost closed this as completed Feb 18, 2021
@ghost
Copy link

ghost commented Oct 7, 2021

In #865, user AK391 has shared a web app that does not require installation.
https://huggingface.co/spaces/akhaliq/Real-Time-Voice-Cloning

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants