rian-kh/DiscordMessages-AI

MAJOR - Windows: SIGINT and terminate() can't be used to interrupt training/generation

Opened this issue · 0 comments

Error message when pressing "Save and end training":

Traceback (most recent call last):
File "C:\Users\Rian\PycharmProjects\DiscordMessages-AI\main.py", line 218, in
p.send_signal(signal.SIGINT)
File "C:\Users\Rian\miniconda3\envs\tf\lib\subprocess.py", line 1545, in send_signal
raise ValueError("Unsupported signal: {}".format(sig))
ValueError: Unsupported signal: 2

When pressing "End text generation", no error is thrown but the generation still continues.