How to export the PB model? How to export the policy to a PB model file?
@bug404 Here is an example showing how to access the underlying Tensorflow model of a policy. Please see “Example: Querying a policy’s action distribution” in the link below. I’m very rusty with Tensorflow, but once you have access to model as a Tensorflow object, saving as pb should be a tensorflow thing. Hope this helps.
https://docs.ray.io/en/master/rllib-training.html#accessing-model-state