Permalink
Browse files

fix typos

  • Loading branch information...
1 parent baf1b7a commit 8f4d51d9bd8a6c7131040a385935bd5b3e49fd87 @da03 da03 committed Dec 21, 2016
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/model.lua
  2. +2 −2 src/train.lua
View
@@ -589,7 +589,7 @@ function model:save(modelPath)
end
-- destructor
-function model:shutdown()
+function model:shutDown()
if self.outputFile then
self.outputFile:close()
logger:info('Results saved to %s.', self.outputPath)
View
@@ -248,8 +248,8 @@ function main()
-- Run Model
run(model, opt.phase, opt.batch_size, opt.num_epochs, trainData, valData, opt.model_dir, opt.steps_per_checkpoint, opt.beam_size, opt.output_dir, opt.learning_rate, opt.lr_decay)
- model:shutdown()
- logger:shutdown()
+ model:shutDown()
+ logger:shutDown()
end -- function main
main()

0 comments on commit 8f4d51d

Please sign in to comment.