snake-ai-pytorch icon indicating copy to clipboard operation
snake-ai-pytorch copied to clipboard

Threading issue

Open bharath2468 opened this issue 11 months ago • 1 comments

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

bharath2468 avatar Mar 24 '24 06:03 bharath2468

Hey, did you find the solution?

KunalC13 avatar Aug 11 '24 23:08 KunalC13