Skip to content

Saving Trained QLearner #1143

Answered by lanctot
blurblur12 asked this question in Q&A
Nov 23, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hmmm.... do you mean the tabular Q-learner? I assume you mean the Python Tabular QLearner. AFAIK that's not currently built-in, but you could just serialize the entire QLearning object every X iterations using pickle and reload that from disk, right? Does that work?

If you mean the C++ tabular q-learning, you'd have to do it manually.. but that functionality would make a nice contribution :)

If you mean the Q-learning with function approximation, it'd depend on which ML framework; most of them already support it but in different ways.

Probably easiest to first point me out to the specific implementation/file you're talking about and I'll follow-up if necessary.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@blurblur12
Comment options

@lanctot
Comment options

Answer selected by lanctot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants