Skip to content

Instantly share code, notes, and snippets.

@myungsub
Last active December 5, 2016 11:24
Show Gist options
  • Save myungsub/493158ffe8a3ee4d8163c917ec8de1a5 to your computer and use it in GitHub Desktop.
Save myungsub/493158ffe8a3ee4d8163c917ec8de1a5 to your computer and use it in GitHub Desktop.
cjson = require 'cjson'
f = io.open(filename, 'r')
text = f:read()
info = cjson.decode(text)
-- 'info' is a table containing everything
-- info.all_losses
-- info.iter
-- info.loss_history
-- info.results_history
-- info.best_val_score
-- info.iterators
-- info.opt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment