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

Training error of HTTP Error 301: Moved Permanently #2

Open
Tenidus opened this issue Jan 27, 2025 · 2 comments
Open

Training error of HTTP Error 301: Moved Permanently #2

Tenidus opened this issue Jan 27, 2025 · 2 comments

Comments

@Tenidus
Copy link

Tenidus commented Jan 27, 2025

First, I want to say that I greatly appreciate you creating a Pinokio app for this.
I was able to get zero shot inference to work but when I attempt to train, the 1st step is to "Transcribe and Process" but after a few seconds it errors with quite a bit of logging but ends with:
File "E:\AI\Pinokio\bin\miniconda\lib\urllib\request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 301: Moved Permanently

Any ideas why it would error with this?

@logicalafternoon
Copy link

For anyone reading this, it is due to an outdated whisperx version. You can open a cmd prompt in the venv\Scripts folder and run activate.bat to start the venv, then run pip install --upgrade whisperx to fix the 301 error. For a default pinokio install the venv folder is in C:\pinokio\api\rvc.pinokio.git\app

@Tenidus
Copy link
Author

Tenidus commented Jan 28, 2025

I can confirm that this does fix the issue.
Side note, the path provided above is for the RVC pinokio app and not StyleTTS-WebUI, so the correct path would be for a default install is: C:\pinokio\api\StyleTTS-WebUI.pinokio.git\app
As logicalafternoon mentioned, go to this directory then to \venv\Scripts from a command prompt and type: activate.bat to initialize the python virtual environment; then run the command he posted.

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

2 participants