shehzaadzd / MINERVA

Meandering In Networks of Entities to Reach Verisimilar Answers
Apache License 2.0
312 stars 88 forks source link

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

Open suenpun opened 5 years ago

suenpun commented 5 years ago

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 commented 4 years ago

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