agents
agents copied to clipboard
Support TFEnvironment in Actor
When using Actor to wrap a collecting policy on a TFEnvironment, I came across the exception "ValueError("Actor doesn't support TFEnvironments yet.")" and I found it easy to solve as long as to use TFDriver with the same arguments as the PyDriver, which drives the policy on a PyEnvironment.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
For more information, open the CLA check for this pull request.
@ebrevdo Could you help review this PR please?