Skip to content

Commit

Permalink
Fix bug in build of grpcio last version
Browse files Browse the repository at this point in the history
  • Loading branch information
werner-duvaud committed Apr 5, 2020
1 parent df0e407 commit 221d917
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion games/cartpole.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def __init__(self):
### Adjust the self play / training ratio to avoid over/underfitting
self.self_play_delay = 0 # Number of seconds to wait after each played game
self.training_delay = 0 # Number of seconds to wait after each training step
self.ratio = 1/50 # Desired self played games per training step ratio. Equivalent to a synchronous version, training can take much longer. Set it to None to disable it
self.ratio = None # Desired self played games per training step ratio. Equivalent to a synchronous version, training can take much longer. Set it to None to disable it


def visit_softmax_temperature_fn(self, trained_steps):
Expand Down
2 changes: 1 addition & 1 deletion games/lunarlander.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __init__(self):
self.momentum = 0.9 # Used only if optimizer is SGD

# Exponential learning rate schedule
self.lr_init = 0.05 # Initial learning rate
self.lr_init = 0.1 # Initial learning rate
self.lr_decay_rate = 0.95 # Set it to 1 to use a constant learning rate
self.lr_decay_steps = 1000

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ ray
psutil
setproctitle
aiohttp
grpcio
grpcio==1.27.2

0 comments on commit 221d917

Please sign in to comment.