Occur error when click 'Graphs' icon for selected session.

If training is failing to start, and you are not receiving an error message telling you what to do, tell us about it here

Forum rules

Read the FAQs and search the forum before posting a new topic.

This forum is for reporting errors with the Training process. If you want to get tips, or better understand the Training process, then you should look in the Training Discussion forum.

Please mark any answers that fixed your problems so others can find the solutions.

Post Reply
User avatar
Posts: 4
Joined: Sun Jul 25, 2021 10:41 am

Occur error when click 'Graphs' icon for selected session.

Post by water_35 »

When click 'Graphs' icon for selected session,


Occur error below, and the window can't close:

Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib64/python3.9/tkinter/__init__.py", line 1892, in __call__
return self.func(*args)
File "/home/A73/faceswap/lib/gui/popup_session.py", line 496, in _graph_build
File "/home/A73/faceswap/lib/gui/display_graph.py", line 349, in build
File "/home/A73/faceswap/lib/gui/display_graph.py", line 254, in toolbar_place
self.toolbar = NavigationToolbar(self.plotcanvas, parent)
File "/home/A73/.local/lib/python3.9/site-packages/matplotlib/backends/_backend_tk.py", line 512, in __init__
self._buttons[text] = button = self._Button(
TypeError: _Button() got an unexpected keyword argument 'toggle'

User avatar
Posts: 1495
Joined: Fri Jul 12, 2019 12:53 am
Answers: 127
Has thanked: 51 times
Been thanked: 287 times

Re: Occur error when click 'Graphs' icon for selected session.

Post by torzdf »

Not a bug. It looks like you are using a more recent version of matplotlib than is in our requirements. This is a known issue in versions of matplotlib>=3.3.0. Downgrade your matplotlib

My word is final

Post Reply