Commit 725405ac authored by 宋柯's avatar 宋柯

模型上线

parent ab1e8bc0
...@@ -272,6 +272,6 @@ filename = filenames[0] ...@@ -272,6 +272,6 @@ filename = filenames[0]
from datetime import date from datetime import date
filename_ = date.fromtimestamp(int(filename)).strftime('%Y%m%d') filename_ = date.fromtimestamp(int(filename)).strftime('%Y%m%d')
os.remove(os.path.join(MODEL_BASE_DIR, filename), os.path.join(MODEL_BASE_DIR, filename_)) os.rename(os.path.join(MODEL_BASE_DIR, filename), os.path.join(MODEL_BASE_DIR, filename_))
print("训练耗时: {}s".format(time.time() - start)) print("训练耗时: {}s".format(time.time() - start))
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment