Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tkinter Exception when trying to open the graph tab or analysis tab only when the training is just started #1164

Open
AhmedAhmedEG opened this issue Jun 20, 2021 · 0 comments
Labels

Comments

@AhmedAhmedEG
Copy link

AhmedAhmedEG commented Jun 20, 2021

Note: For general usage questions and help, please use either our FaceSwap Forum
or FaceSwap Discord server. General usage questions are liable to be closed without
response.

Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\PC\MiniConda3\envs\faceswap\lib\tkinter\__init__.py", line 1892, in __call__ return self.func(*args) File "D:\faceswap\lib\gui\display.py", line 186, in _on_tab_change selected_object.on_tab_select() File "D:\faceswap\lib\gui\display_command.py", line 254, in on_tab_select self._update_page() File "D:\faceswap\lib\gui\display_page.py", line 273, in _update_page self.load_display() File "D:\faceswap\lib\gui\display_page.py", line 285, in load_display self.display_item_process() File "D:\faceswap\lib\gui\display_command.py", line 388, in display_item_process for key in self.display_item.get_loss_keys(Session.session_ids[-1]) File "D:\faceswap\lib\gui\analysis\stats.py", line 245, in get_loss_keys retval = loss_keys[session_id] KeyError: 5

This exception happens when I open the graph tab or the analysis tab while training with a non-default batch size, for 120, it always throws the exception, if 64, it works with a very low chance, for 32, 50% of times works, for 16, it always works and the exception never accuors.

after starting/resuming the training, if I left the preview windows open for a long time, I never face the exception, all menus works fine.

@AhmedAhmedEG AhmedAhmedEG changed the title Tkinter Exception when trying to open the graph tab after restarting an training. Tkinter Exception when trying to open the graph tab or analysis tab only when the training is just started Jun 21, 2021
@torzdf torzdf added the bug label Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants