diff options
author | Peng Wu <alexepico@gmail.com> | 2011-07-23 20:23:40 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-07-23 20:23:40 +0800 |
commit | f2cce92f790dbceef5bbbbefb6d6989f17701628 (patch) | |
tree | 72191ccd5f875068b6e352129ea1adfdd6baf3b1 /lib | |
parent | 4f45286b35c94f1bd7e2048a543787f5e9f103bc (diff) | |
download | trainer-f2cce92f790dbceef5bbbbefb6d6989f17701628.tar.gz trainer-f2cce92f790dbceef5bbbbefb6d6989f17701628.tar.xz trainer-f2cce92f790dbceef5bbbbefb6d6989f17701628.zip |
begin to write estimate.py
Diffstat (limited to 'lib')
-rw-r--r-- | lib/myconfig.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/myconfig.py b/lib/myconfig.py index 7a81b60..0032348 100644 --- a/lib/myconfig.py +++ b/lib/myconfig.py @@ -65,6 +65,9 @@ class MyConfig: candidate_model_size = 11.9 * 1024 * 1024 return candidate_model_size + def getModelPostfix(self): + return '.db' + def getCandidateModelName(self, index): candidate_model_name = "model-candidates-{0}.db" return candidate_model_name.format(index) |