49c49
< def instantiate():
---
> def instantiate(ckpt_dir=None):
88a89,93
> # Restore checkpoint (if any)
> if ckpt_dir:
> internal.core.unserializeAll(ckpt_dir)
> need_resume.append(root)
>
163,169d167
< def restoreCheckpoint(dir):
< root = objects.Root.getInstance()
< print "Restoring from checkpoint"
< internal.core.unserializeAll(dir)
< need_resume.append(root)
< stats.reset()
<