snake-ai-pytorch
snake-ai-pytorch copied to clipboard
Model crashing after running for a little bit
Hi. I tried to write this code for myself, but every time the program is run, it runs for 7-9 iterations, and then python crashes, showing the following error:
This error persists, even after i cloned the repository and ran it in the virtual env. All required packages are installed, and everything runs perfectly as expected right up to the moment before error. Does anyone have any idea on how to fix this? This is run on MacOS 14, and VSCode