Skip to content
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

Export the mode using tf.saved_model and deploy it to production environment #30

Open
suenpun opened this issue Oct 25, 2019 · 1 comment

Comments

@suenpun
Copy link

suenpun commented Oct 25, 2019

Sorry to bother.
When I'm trying to export the model using tf.saved_model to deploy it to a production environment (tf serving in docker), there are some problems.
The exported graph format requires pure inputs and outputs signature, but in our model,the agent needs to interact with an environment. But all of the codes are written in numpy rather than tensorflow except the agent.py. So if I export the agent only(maybe failed), how the agent interacts with the environment?
My idea: rewrite the environment in TF... but this is going to be a lot of work.

Thanks in advance.

@suenpun
Copy link
Author

suenpun commented Dec 12, 2019

Already done! And I've upgraded the VPG to PPO!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant