Skip to content

Commit

Permalink
bug fix on momentum coefficient
Browse files Browse the repository at this point in the history
  • Loading branch information
hma02 committed Aug 2, 2017
1 parent 1680315 commit bb60a61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions theanompi/lib/opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ def BSP_MSGD(model, use_nesterov_momentum, k=1):
model.vels2=[]

lr = model.lr #shared_lr #T.scalar('lr') # symbolic learning rate
mu = model.mu # def: 0.9 # momentum coefficient
eta = model.eta #0.0002 # weight decay

updates_pre_g_aggre = [] # pre gradient aggregation
Expand Down

0 comments on commit bb60a61

Please sign in to comment.