summaryrefslogtreecommitdiffstats
path: root/tryprune.py
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-07-26 14:59:47 +0800
committerPeng Wu <alexepico@gmail.com>2011-07-26 14:59:47 +0800
commit04428f228cbe184618736a49fd23051301a5293a (patch)
tree892863728a37ab365c6010650da44e3814e5ad38 /tryprune.py
parent9c3a0edbe6c9b0e2d792e8edfba849175daefe0f (diff)
downloadtrainer-04428f228cbe184618736a49fd23051301a5293a.tar.gz
trainer-04428f228cbe184618736a49fd23051301a5293a.tar.xz
trainer-04428f228cbe184618736a49fd23051301a5293a.zip
add store to tryprune
Diffstat (limited to 'tryprune.py')
-rwxr-xr-xtryprune.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tryprune.py b/tryprune.py
index 7a14b0a..f79be2d 100755
--- a/tryprune.py
+++ b/tryprune.py
@@ -200,6 +200,8 @@ if __name__ == '__main__':
modelsize = utils.get_file_length(inter_model)
cwdstatus['PruneModelSize'] = modelsize
+ utils.store_status(cwdstatuspath, cwdstatus)
+
print('final model size:' + modelsize)
#sign status epoch