rlcard
rlcard copied to clipboard
How to save agent?
I've made a simple tic-tac-toe game and trained a dqnAgent vs a random agent and got good results. But I don't know how to save the agent/ model to use it later. I know this question must sound trivial but I could not find an answer on my own, I am a beginner in ML stuff and this was my first project. help is appreciated.
when training......torch.save(model_name)