philtabor / Youtube-Code-Repository

Repository for most of the code from my YouTube channel
873 stars 479 forks source link

Outdated argument critic network DDPG #26

Open tristan-deep opened 4 years ago

tristan-deep commented 4 years ago

Hi, First of all, thank you for the code. It seems the n_actions argument has been removed in a previous update (ba997f7dc4d38312c2cd1877652ff67aee826c69). I believe, it should be removed here as well to make the code work again.

https://github.com/philtabor/Youtube-Code-Repository/blob/6a917ce4759e48cd1b81e74674fecdf9c2afb26b/ReinforcementLearning/PolicyGradient/DDPG/tensorflow2/pendulum/ddpg_tf2.py#L22

https://github.com/philtabor/Youtube-Code-Repository/blob/6a917ce4759e48cd1b81e74674fecdf9c2afb26b/ReinforcementLearning/PolicyGradient/DDPG/tensorflow2/pendulum/ddpg_tf2.py#L24