Skip to content

Commit

Permalink
Reset rewards
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiuionescu committed Dec 11, 2023
1 parent 898af34 commit b042e41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sym/js/actor.critic.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ class ActorCritic {

reset() {
this.replayBuffer = [];
this.rewards = [];
this.step = 0;
this.trainingBuffer = {
'tfState': [],
Expand Down

0 comments on commit b042e41

Please sign in to comment.