patrickloeber / snake-ai-pytorch

MIT License
626 stars 409 forks source link

Threading issue #18

Open bharath2468 opened 7 months ago

bharath2468 commented 7 months ago

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

KunalC13 commented 3 months ago

Hey, did you find the solution?