rlcard icon indicating copy to clipboard operation
rlcard copied to clipboard

How to save agent?

Open Najeeb-00 opened this issue 2 years ago • 1 comments

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.

Najeeb-00 avatar Oct 31 '23 14:10 Najeeb-00

when training......torch.save(model_name)

JocyeI avatar Dec 11 '23 01:12 JocyeI