patrickloeber / snake-ai-pytorch

MIT License
617 stars 398 forks source link

Model crashing after running for a little bit #22

Open adityakak27 opened 4 months ago

adityakak27 commented 4 months ago

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: [

Screenshot 2024-05-14 at 7 00 49 PM

](url)

Screenshot 2024-05-14 at 7 00 49 PM

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