mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-11-05 00:27:30 +00:00
[GH-ISSUE #2411] AttributeError: 'FigureCanvasAgg' object has no attribute 'tostring_rgb' #1682
Labels
No labels
AMD/Intel
bug
bug
bug
colab
dependencies
documentation
duplicate
enhancement
following up
good first issue
help wanted
invalid
question
stale
stale
stale
todo list
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#1682
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Mehmet2407 on GitHub (Dec 14, 2024).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2411
Whenever I press "train model" it goes up to 5.3 seconds and then says error on the progress bar. The command window shows this error in the last line. I have no idea what's wrong
@kunibald413 commented on GitHub (Dec 15, 2024):
same here
@Sol-III-Observer commented on GitHub (Dec 15, 2024):
+1
@kunibald413 commented on GitHub (Dec 15, 2024):
i think this might be only related to tensorboard logs
if you don't need them you can just comment out the code or skip it
in
infer/lib/train/utils.pyfind thesummarizefunction and try catch it@5uperninj4 commented on GitHub (Dec 18, 2024):
+1. Looking for solution
@xpdd123 commented on GitHub (Dec 20, 2024):
pip install matplotlib==3.7.0,
It work for me
@TheTrustedComputer commented on GitHub (Dec 30, 2024):
I also faced this error in the terminal window once training started. The workaround is downgrading matplotlib to 3.9 with:
pip install matplotlib<3.10, likely due to breaking API changes with 3.10.@anurag12-webster commented on GitHub (Jan 1, 2025):
same, downgrading to
pip install matplotlib==3.7.0worked for me,@Charles-yueyue831 commented on GitHub (Jan 5, 2025):
I agree with you
@cahayamahardika16 commented on GitHub (Jan 9, 2025):
But you got this error thing was matplotlib this expired.

@meisei4 commented on GitHub (Jan 10, 2025):
I think this might be related? (https://github.com/matplotlib/matplotlib/pull/25484), I am not using this repos software, but i am using matplotlib version 3.10 and getting this error from trying to show plots in the jetbrains IDE PyCharm 2024.1.3 (Professional Edition, Runtime version: 17.0.11+1-b1207.24 x86_64, macOS 12.7.6) viewer:
trace:
Workaround is using matplotlib version 3.9.4 and below i think... (at least i tested with 3.9.4 and that solved my issue
@cahayamahardika16 commented on GitHub (Jan 11, 2025):
I got failure Preprocessing and Feature Extraction "AttributeError: 'NoneType' object has no attribute 'loader'"
@boycececil666gmailcom commented on GitHub (Jan 22, 2025):
I am pretty sure the update of the matplotlib break its support with seaborn
@ikamensh commented on GitHub (Jan 22, 2025):
someone should report this to matplotlib. I got this error while plotting generic data.
@FHeizenberg commented on GitHub (Jan 23, 2025):
I had the same problem and the following helps me:
`import matplotlib
matplotlib.use('TkAgg')`
You can try to select another backend manually, here is the documentation https://matplotlib.org/stable/users/explain/figure/backends.html
@alobito commented on GitHub (Feb 2, 2025):
Having the exact same issue. Downgrading matplotlib didn't help, no matter which version I tried.
@Bartabok commented on GitHub (Feb 27, 2025):
same as alobito. I downgraded matplotlib with
pip install matplotlib==3.7.0
as explained above.... but it solved nothing :/ Got same error message.
@GabrielDornelles commented on GitHub (Mar 10, 2025):
it was removed on matplotlib 3.10. If you want to use downgrade to <3.10
@Joseph-Sherman commented on GitHub (Mar 17, 2025):
can you help me? im not familiar with these kind of stuff .. just wanted to use RVC but get AttributeError: 'FigureCanvasAgg' object has no attribute 'tostring_rgb' . I tried and downgraded numpy and matplotlib .. but the issue persists
@Docteur-RS commented on GitHub (Apr 3, 2025):
As of today (03/04/25) doing
pip install matplotlib==3.7.0fixed the error and got to the epoch part.@EscoffierZhou commented on GitHub (Apr 13, 2025):
Python in
3.12.0,downgrading topip install matplotlib==3.9.0works though in3.7.0seems still dysfunctional@RVC-Boss commented on GitHub (Jul 20, 2026):
You can update the code to the latest
mainbranch, where this issue has already been resolved.