Skip to content

Commit

Permalink
Remove the original coco preprocess. Fix a bug in train_rl_tb.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ruotianluo committed May 5, 2017
1 parent ab3b46c commit 3b7f1fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 188 deletions.
188 changes: 0 additions & 188 deletions coco/coco_preprocess.ipynb

This file was deleted.

1 change: 1 addition & 0 deletions train_rl_tb.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def train(opt):
# Assure in training mode
model.train()

crit = utils.LanguageModelCriterion()
rl_crit = utils.RewardCriterion()

optimizer = optim.Adam(model.parameters(), lr=opt.learning_rate, weight_decay=opt.weight_decay)
Expand Down

0 comments on commit 3b7f1fe

Please sign in to comment.