Need full example of using tf-agents Ddpgagent

1.3k Views Asked by At

I cannot find any full examples of using the DdpgAgent from tf-agents in TensorFlow and have not been able to get it to work. Could someone please link a full piece of code or a complete tutorial creating and training a ddpg agent and a data_spec for it.

3

There are 3 best solutions below

1
On

It looks like there is one in tf_agents' Githup repo. It is undocumented, though.

0
On

You can find an example in here!. I could recently make it work.

0
On

I have a simple code to train ddpg agent of tf-agents, with customized environment on my action/observation data spec. Hope can help. enter link description here