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

Threading issue #18

Open
bharath2468 opened this issue Mar 24, 2024 · 1 comment
Open

Threading issue #18

bharath2468 opened this issue Mar 24, 2024 · 1 comment

Comments

@bharath2468
Copy link

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
Copy link

Hey, did you find the solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants