agents
agents copied to clipboard
Feature Request: expose a target_update method for DQNAgent
Currently, DQNAgent updates the target network periodically.
Would it make sense to provide a target_update method in DQNAgent to update the target network?
Reasons:
- I find it confusing to determine how often and how frequently the target network is being updated.
- If I could call the target_update method explicitly in my training loop, then I could easily determine how often and how frequently the target network is being updated.
- When the training loop ends, I can insure that the target network is updated at the end (before the agent is being saved).