[GH-ISSUE #1123] RVC colab disconnect #744

Closed
opened 2026-10-20 10:02:32 +00:00 by bsakaguchi · 21 comments
Owner

Originally created by @Focus506 on GitHub (Aug 29, 2023).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1123

am I the only one that get disconnected when I try to run the colab version of RVC ? I try on different pc and same problem :/
It's disconnect me from the google colab during the step2b on harvest mode or during step 3 after <10 min.

Originally created by @Focus506 on GitHub (Aug 29, 2023). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1123 am I the only one that get disconnected when I try to run the colab version of RVC ? I try on different pc and same problem :/ It's disconnect me from the google colab during the step2b on harvest mode or during step 3 after <10 min.
bsakaguchi 2026-10-20 10:02:32 +00:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@pniewolski commented on GitHub (Aug 29, 2023):

same here, I started using RVC on Colab 3 days ago and I could do nice session with 200 epochs. now 20 epochs and cut off. And only 20 voica samples. So colab is not usable anymore :(

<!-- gh-comment-id:1698200741 --> @pniewolski commented on GitHub (Aug 29, 2023): same here, I started using RVC on Colab 3 days ago and I could do nice session with 200 epochs. now 20 epochs and cut off. And only 20 voica samples. So colab is not usable anymore :(
Author
Owner

@vovan0802ee commented on GitHub (Aug 30, 2023):

help PLZ !!!

<!-- gh-comment-id:1698492247 --> @vovan0802ee commented on GitHub (Aug 30, 2023): help PLZ !!!
Author
Owner

@Valr1e commented on GitHub (Aug 30, 2023):

Same.. when disconnect all runtime reset all files gone. And you must re-install all. Please fix it

<!-- gh-comment-id:1698881803 --> @Valr1e commented on GitHub (Aug 30, 2023): Same.. when disconnect all runtime reset all files gone. And you must re-install all. Please fix it
Author
Owner

@little-brother commented on GitHub (Aug 30, 2023):

I think that it's a not RVC notebook but Google Colab issue.
I tried to use a simplified notebook with the same result (disconnect after about 10min).

<!-- gh-comment-id:1698921476 --> @little-brother commented on GitHub (Aug 30, 2023): I think that it's a not RVC notebook but Google Colab issue. I tried to use a simplified notebook with the same result (disconnect after about 10min).
Author
Owner

@mocci24 commented on GitHub (Aug 30, 2023):

it's google colab issue, i don't know the details, but i think they are trying to ban rvc 🤔

<!-- gh-comment-id:1698927352 --> @mocci24 commented on GitHub (Aug 30, 2023): it's google colab issue, i don't know the details, but i think they are trying to ban rvc 🤔
Author
Owner

@AbdurrehmanSubhani commented on GitHub (Aug 30, 2023):

Facing the same issue, i think it has something to do with their updated policy on not allowing the following anymore:
image

<!-- gh-comment-id:1699258155 --> @AbdurrehmanSubhani commented on GitHub (Aug 30, 2023): Facing the same issue, i think it has something to do with their updated policy on not allowing the following anymore: ![image](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/assets/53292031/517c98f3-bcf2-4c1a-8d6d-4fbf5ff0b54f)
Author
Owner

@JRabun517 commented on GitHub (Aug 31, 2023):

Glad I am not the only one with this issue. It seems like there aren't many people complaining about it yet which makes me wonder if I am just too poor to buy a Google collab package.

<!-- gh-comment-id:1701807908 --> @JRabun517 commented on GitHub (Aug 31, 2023): Glad I am not the only one with this issue. It seems like there aren't many people complaining about it yet which makes me wonder if I am just too poor to buy a Google collab package.
Author
Owner

@little-brother commented on GitHub (Sep 4, 2023):

I tried to run training without GUI e.g.

!mkdir /content/Retrieval-based-Voice-Conversion-WebUI/logs/myvoice
python3 /content/Retrieval-based-Voice-Conversion-WebUI/trainset_preprocess_pipeline_print.py /content/drive/MyDrive/dataset/myvoice 40000 2 /content/Retrieval-based-Voice-Conversion-WebUI/logs/myvoice False

The result is the same - disconnect after 5-10min. So it's a not the policy restriction. It looks like a repository ban.

<!-- gh-comment-id:1705463980 --> @little-brother commented on GitHub (Sep 4, 2023): I tried to run training without GUI e.g. ``` !mkdir /content/Retrieval-based-Voice-Conversion-WebUI/logs/myvoice python3 /content/Retrieval-based-Voice-Conversion-WebUI/trainset_preprocess_pipeline_print.py /content/drive/MyDrive/dataset/myvoice 40000 2 /content/Retrieval-based-Voice-Conversion-WebUI/logs/myvoice False ``` The result is the same - disconnect after 5-10min. So it's a not the policy restriction. It looks like a repository ban.
Author
Owner

@instant-high commented on GitHub (Sep 5, 2023):

Same problem.
Tried different accounts and different colab notebooks.
Disconnected between 10 and 20 epochs

<!-- gh-comment-id:1706218486 --> @instant-high commented on GitHub (Sep 5, 2023): Same problem. Tried different accounts and different colab notebooks. Disconnected between 10 and 20 epochs
Author
Owner

@little-brother commented on GitHub (Sep 5, 2023):

I copied the repository on Google disk, then downloaded assets.
The first attempt was to run from Google disk and it failed with an error like #441.
So I run T4-session and copied RVC folder with assets to /content/RVC and finally the train was completed successfully.

My Colab has only 4 steps

# 1. Attach Google Drive
from google.colab import drive
drive.mount("/content/drive")

# 2. Copy RVC on the session machine
!cp -r /content/drive/MyDrive/RVC /content/

# 3. Install dependencies
!nvidia-smi

!apt-get -y install build-essential python3-dev ffmpeg
!pip3 install --upgrade setuptools wheel
!pip3 install --upgrade pip
!pip3 install faiss-cpu==1.7.2 fairseq gradio==3.14.0 ffmpeg ffmpeg-python praat-parselmouth pyworld numpy==1.23.5 numba==0.56.4 librosa==0.9.2
%cd /content/RVC
!pip3 install -r requirements.txt

# 4. Run UI
%cd /content/RVC
!python3 infer-web.py --colab --pycmd python3
<!-- gh-comment-id:1707239806 --> @little-brother commented on GitHub (Sep 5, 2023): I copied the repository on Google disk, then downloaded assets. The first attempt was to run from Google disk and it failed with an error like #441. So I run T4-session and copied RVC folder with assets to `/content/RVC` and finally the train was completed successfully. My Colab has only 4 steps ``` # 1. Attach Google Drive from google.colab import drive drive.mount("/content/drive") # 2. Copy RVC on the session machine !cp -r /content/drive/MyDrive/RVC /content/ # 3. Install dependencies !nvidia-smi !apt-get -y install build-essential python3-dev ffmpeg !pip3 install --upgrade setuptools wheel !pip3 install --upgrade pip !pip3 install faiss-cpu==1.7.2 fairseq gradio==3.14.0 ffmpeg ffmpeg-python praat-parselmouth pyworld numpy==1.23.5 numba==0.56.4 librosa==0.9.2 %cd /content/RVC !pip3 install -r requirements.txt # 4. Run UI %cd /content/RVC !python3 infer-web.py --colab --pycmd python3 ```
Author
Owner

@instant-high commented on GitHub (Sep 9, 2023):

At the bottom of the above image: creating deep fakes.

<!-- gh-comment-id:1712531403 --> @instant-high commented on GitHub (Sep 9, 2023): At the bottom of the above image: creating deep fakes.
Author
Owner

@SalavatNabi commented on GitHub (Sep 15, 2023):

I think that it's a not RVC notebook but Google Colab issue. I tried to use a simplified notebook with the same result (disconnect after about 10min).

Can it be solved by buying the pro version?

<!-- gh-comment-id:1721263009 --> @SalavatNabi commented on GitHub (Sep 15, 2023): > I think that it's a not RVC notebook but Google Colab issue. I tried to use a simplified notebook with the same result (disconnect after about 10min). Can it be solved by buying the pro version?
Author
Owner

@SalavatNabi commented on GitHub (Sep 15, 2023):

Facing the same issue, i think it has something to do with their updated policy on not allowing the following anymore: image

What is the point of colab if it is not going to run a program?

<!-- gh-comment-id:1721265946 --> @SalavatNabi commented on GitHub (Sep 15, 2023): > Facing the same issue, i think it has something to do with their updated policy on not allowing the following anymore: ![image](https://user-images.githubusercontent.com/53292031/264368863-517c98f3-bcf2-4c1a-8d6d-4fbf5ff0b54f.png) What is the point of colab if it is not going to run a program?
Author
Owner

@instant-high commented on GitHub (Sep 24, 2023):

Screenshot

<!-- gh-comment-id:1732533759 --> @instant-high commented on GitHub (Sep 24, 2023): ![Screenshot](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/assets/77229558/1856b9f3-fe1a-4443-bf62-f7def034895b)
Author
Owner

@RiniRaw commented on GitHub (Sep 29, 2023):

Screenshot

I bought a pro subscription, and yet.... I got an error. I lost a great deal of tokens to get 0 results.

<!-- gh-comment-id:1741346919 --> @RiniRaw commented on GitHub (Sep 29, 2023): > ![Screenshot](https://user-images.githubusercontent.com/77229558/270156765-1856b9f3-fe1a-4443-bf62-f7def034895b.jpg) I bought a pro subscription, and yet.... I got an error. I lost a great deal of tokens to get 0 results.
Author
Owner

@Daviddv0601 commented on GitHub (Dec 28, 2023):

Will nobody help?! I have the exact same problem! Been a week now and nothing's changed. I don't have enough data to install the local version. PLEASE HELP!!!

<!-- gh-comment-id:1871437964 --> @Daviddv0601 commented on GitHub (Dec 28, 2023): Will nobody help?! I have the exact same problem! Been a week now and nothing's changed. I don't have enough data to install the local version. PLEASE HELP!!!
Author
Owner

@hahunavth commented on GitHub (Jan 27, 2024):

I found this notebook on Kaggle, and it doesn't use WebUI, so it doesn't face disconnection issues on Google Colab or Kaggle.

<!-- gh-comment-id:1913030123 --> @hahunavth commented on GitHub (Jan 27, 2024): I found [this notebook](https://www.kaggle.com/code/varaslaw/aisingers-rvc-rmvpe-https-t-me-aisingers-ru) on Kaggle, and it doesn't use WebUI, so it doesn't face disconnection issues on Google Colab or Kaggle.
Author
Owner

@Hedwig7s commented on GitHub (Feb 16, 2024):

I tried to run training without GUI e.g.

!mkdir /content/Retrieval-based-Voice-Conversion-WebUI/logs/myvoice
python3 /content/Retrieval-based-Voice-Conversion-WebUI/trainset_preprocess_pipeline_print.py /content/drive/MyDrive/dataset/myvoice 40000 2 /content/Retrieval-based-Voice-Conversion-WebUI/logs/myvoice False

The result is the same - disconnect after 5-10min. So it's a not the policy restriction. It looks like a repository ban.

Because the webui code is still present it has to be fully stripped

<!-- gh-comment-id:1949015234 --> @Hedwig7s commented on GitHub (Feb 16, 2024): > I tried to run training without GUI e.g. > > ``` > !mkdir /content/Retrieval-based-Voice-Conversion-WebUI/logs/myvoice > python3 /content/Retrieval-based-Voice-Conversion-WebUI/trainset_preprocess_pipeline_print.py /content/drive/MyDrive/dataset/myvoice 40000 2 /content/Retrieval-based-Voice-Conversion-WebUI/logs/myvoice False > ``` > > The result is the same - disconnect after 5-10min. So it's a not the policy restriction. It looks like a repository ban. Because the webui code is still present it has to be fully stripped
Author
Owner

@ghost commented on GitHub (Mar 25, 2024):

I found this notebook on Kaggle, and it doesn't use WebUI, so it doesn't face disconnection issues on Google Colab or Kaggle.

Is there an English version? Chrome doesnt translate the full page for some reason

<!-- gh-comment-id:2017941028 --> @ghost commented on GitHub (Mar 25, 2024): > I found [this notebook](https://www.kaggle.com/code/varaslaw/aisingers-rvc-rmvpe-https-t-me-aisingers-ru) on Kaggle, and it doesn't use WebUI, so it doesn't face disconnection issues on Google Colab or Kaggle. Is there an English version? Chrome doesnt translate the full page for some reason
Author
Owner

@github-actions[bot] commented on GitHub (May 11, 2024):

This issue was closed because it has been inactive for 15 days since being marked as stale.

<!-- gh-comment-id:2105527606 --> @github-actions[bot] commented on GitHub (May 11, 2024): This issue was closed because it has been inactive for 15 days since being marked as stale.
Author
Owner

@cahayamahardika16 commented on GitHub (Jan 9, 2025):

Look that error much this AttributeError: 'FigureCanvasAgg' object has no attribute 'tostring_rgb'
But how can fix RVC v2 Disconnected in/content/Mangio-RVC-Fork/train/utils
Capture 253

<!-- gh-comment-id:2579308936 --> @cahayamahardika16 commented on GitHub (Jan 9, 2025): Look that error much this AttributeError: 'FigureCanvasAgg' object has no attribute 'tostring_rgb' But how can fix RVC v2 Disconnected in/content/Mangio-RVC-Fork/train/utils ![Capture 253](https://github.com/user-attachments/assets/f3d89114-2952-4e3f-a3a1-0e3619d09cd4)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#744
No description provided.