Deploying a model #508
-
I want to deploy a model in such a way that I can have it observe and act in the real world through an API. It recieves an observation and then it sends back an action. My understanding is that the trained model parameters are saved in the .ckpt files, and can be loaded through the config files, however I'm lost after that. Apologies if this information is already out there, I've looked through all the documentation and wasn't able to figure it out myself. Would really appreciate the help! For reference, this is a simplified version of what I'm trying to achieve, but in stable-baselines3:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Sorry about there is no an obvious entry in the documentation about how to evaluate (deploy) the trained policy. You can refer to this demo and check whether it is enough for you demand. |
Beta Was this translation helpful? Give feedback.
-
I add a new policy deployment demo like what in SB3. You can refer to this example. |
Beta Was this translation helpful? Give feedback.
-
@johnlut were you able to figure it out how to make the demo work for gym_anytrading, I'm a little lost at how to make predictions |
Beta Was this translation helpful? Give feedback.
I add a new policy deployment demo like what in SB3. You can refer to this example.