w-okada / voice-changer

リアルタイムボイスチェンジャー Realtime Voice Changer
Other
16.39k stars 1.8k forks source link

Google Colab #644

Open Rafacasari opened 1 year ago

Rafacasari commented 1 year ago

I'm currently updating the Google Colab for the latest version of Voice Changer. Feel free to make changes such as: fix issues, add new features, translate to your language, etc

Known issues:

Improvements:

w-okada commented 1 year ago

At this time, there are no plans for development by our developers. We are seeking contributors.

Rafacasari commented 1 year ago

I've got the latest version to at least open the connection and be able to access through the browser, but unfortunely I can't make it really work. You can upload models and such, but the voice isn't being generated (or captured, maybe?)

image

There is no error on Colab/Server, the only error that i've found is the console being spammed by this error: image image

I have no idea if it is what is causing the problem, I'll continue trying to make it work Maybe Colab is rate-limiting the connection, idk

Rafacasari commented 1 year ago

Here is the file if anyone want to mess it up with me Trying_to_fix_VoiceChangerDemo_Simple.zip

(I'm not very familiar with python and I've never touched google colab scripts, so ignore my dumb edits ;v)

Puumbiche commented 1 year ago

Here is the file if anyone want to mess it up with me Trying_to_fix_VoiceChangerDemo_Simple.zip

(I'm not very familiar with python and I've never touched google colab scripts, so ignore my dumb edits ;v)

How did you manage to launch it ? when i launch the Google collab it just return an Error 404.

freyzamarshall02 commented 1 year ago

I've got the latest version to at least open the connection and be able to access through the browser, but unfortunely I can't make it really work. You can upload models and such, but the voice isn't being generated (or captured, maybe?)

image

There is no error on Colab/Server, the only error that i've found is the console being spammed by this error: image image

I have no idea if it is what is causing the problem, I'll continue trying to make it work Maybe Colab is rate-limiting the connection, idk

it shows Frequent errors occur. Please check if the model of the framework being targeted is loaded.

Rafacasari commented 1 year ago

I think I've fixed, @w-okada I'm now using ngrok and it seems to fix all the issues I've made a pull request, waiting you to check and accept

freyzamarshall02 commented 1 year ago

I think I've fixed, @w-okada I'm now using ngrok and it seems to fix all the issues I've made a pull request, waiting you to check and accept

omg its actually work thankyou....

Puumbiche commented 1 year ago

I think I've fixed, @w-okada I'm now using ngrok and it seems to fix all the issues I've made a pull request, waiting you to check and accept

Why does now the server link says a 403 error ? and in the "Start Server" block,it stay stucked at " Booting PHASE :MMVCServerSIO"

w-okada commented 1 year ago

Thanks!. I add the open in colab button.

image

Rafacasari commented 1 year ago

To do:

Currently trying to find a way to use google.colab.kernel.proxyPort to host the client without the previous errors

hashblen commented 1 year ago

I am getting errors too with colab's proxyPort, and when implementing remote.moe, cloudflared and localhost.run. I wanted to implement them because they wouldn't need tokens (haven't tried bore.pub and jprq.io (jprq needs a token anyway)) But the first one I implemented 1.5 months ago, ngrok, seems to be the only one that works... And it needs a token. Can you send your latest version where google.colab.kernel.proxyPort connects and doesn't just 403 ? I would like to try and tinker too.

Rafacasari commented 1 year ago

@w-okada Wow, after the rvmpe_onnx implementation the Colab version is SO AMAZING! Giving amazing fast results. I will update the Colab version then make a pull request for that new version that I'm working on, I think the location selector for ngrok helps a lot too (for non-US users)

@YunaOneeChan make a awesome work in creating a guide for the voice changer and the colab version settings; https://github.com/YunaOneeChan/Voice-Changer-Settings image

I think I'll try to make this settings be the default ones

vivian-ng commented 1 year ago

Is there a way to use Colab without the need for a ngrok account? Maybe gradio or something that can provide a temporary public address?

Rafacasari commented 1 year ago

Is there a way to use Colab without the need for a ngrok account? Maybe gradio or something that can provide a temporary public address?

In the newest version, I've added localtunnel option, that don't need a ngrok account, but ngrok is REALLY EASY to create account, I don't see why don't use it. It takes less than 1 minute when using google/github connection.

I've researched and seems gradio is not possible.

InsanEagle commented 1 year ago

There is currently a dependency issue. error

Made pull request which works for me #832

InsanEagle commented 1 year ago

There is currently a dependency issue. error

Made pull request which works for me #832

Fixed already