Skip to content

Commit

Permalink
Update cartpole_a2c.py
Browse files Browse the repository at this point in the history
  • Loading branch information
20chase committed Jun 26, 2017
1 parent 454f77c commit 41734f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2-cartpole/4-actor-critic/cartpole_a2c.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def build_actor(self):
kernel_initializer='he_uniform'))
actor.summary()
actor.compile(loss='categorical_crossentropy',
optimizer=Adam(lr=self.critic_lr))
optimizer=Adam(lr=self.actor_lr))
return actor

# critic: state is input and value of state is output of model
Expand Down

0 comments on commit 41734f9

Please sign in to comment.