Fatal Python error: PyEval_RestoreThread: the function must be called with the GIL held, but the GIL is released (the current Python thread state is NULL)
Python runtime state: initialized
Current thread 0x00001324 (most recent call first):
File "d:\snake-ai-pytorch\game.py", line 67 in play_step
File "d:\snake-ai-pytorch\agent.py", line 118 in train
File "d:\snake-ai-pytorch\agent.py", line 147 in
Fatal Python error: PyEval_RestoreThread: the function must be called with the GIL held, but the GIL is released (the current Python thread state is NULL) Python runtime state: initialized
Current thread 0x00001324 (most recent call first): File "d:\snake-ai-pytorch\game.py", line 67 in play_step File "d:\snake-ai-pytorch\agent.py", line 118 in train File "d:\snake-ai-pytorch\agent.py", line 147 in