actor_critic
actor_critic copied to clipboard
Something about the source code
Hi Siraj, great coding ever!
However, I wonder the code in line 145 actor_target_weights = self.target_critic_model.get_weights() should it be actor_target_weights = self.target_actor_model.get_weights() ? And in line 153, would it be critic_target_weights = self.target_critic_model.get_weights() ?
Cheerio!
On that same note, line 157 should also be changed: from 157: self.critic_target_model.set_weights(critic_target_weights) to 157: self.target_critic_model.set_weights(critic_target_weights)
The reason that bug is never picked up is that the code never updates the target models aka update_target() never gets call. Is there a reason to use target models but never update them? Looking at the code, update_target() uses the target models but those models are never updated.
Same question there! :)
Same problem here. Not quite understanding why the target is used if it's not being updated.
the code is not right.
@vergilus agreed!
do we need two actor and two critic model for reducing co-variance among the updates ??? can someone please explain.