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.

Locked
User avatar
water_35
Posts: 7
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,
Image

Image

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
self.
graph.build()
File "/home/A73/faceswap/lib/gui/display_graph.py", line 349, in build
self.toolbar_place(self)
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
torzdf
Posts: 2651
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 129 times
Been thanked: 622 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

Locked