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.
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.