8000 Merge pull request #44 from 20chase/patch-1 · rlcode/reinforcement-learning@b86d067 · GitHub
[go: up one dir, main page]

Skip to content

Commit b86d067

Browse files
authored
Merge pull request #44 from 20chase/patch-1
Update cartpole_a2c.py
2 parents 454f77c + 41734f9 commit b86d067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-cartpole/4-actor-critic/cartpole_a2c.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def build_actor(self):
4343
kernel_initializer='he_uniform'))
4444
actor.summary()
4545
actor.compile(loss='categorical_crossentropy',
46-
optimizer=Adam(lr=self.critic_lr))
46+
optimizer=Adam(lr=self.actor_lr))
4747
return actor
4848

4949
# critic: state is input and value of state is output of model

0 commit comments

Comments
 (0)
0