-
Notifications
You must be signed in to change notification settings - Fork 397
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
Model isn't loaded from file #8
Comments
I had this same question, just commenting to see if an answer is ever provided |
You can save what the AI has learned in a folder somewhere and reuse that contents when train() begins again. |
I made a code entirely based on this repository. |
I tried by loading state dict but still it performs poorly (starts learning from scratch everytime its ran) |
you can delete "if random.randint(0, 200) < self.epsilon" in agent.py. |
Love what you've done with the python snake stuff, but i've noticed if you run the ai again, it doesn't use what it's already learnt and start from there again. Is there an easy way to get this implemented? I'm not great at python but i'd be happy to give it a go if i'm pointed in the right direction?
The text was updated successfully, but these errors were encountered: