Commit 2bb65789 authored by 宋柯's avatar 宋柯

模型调试

parent 264e4628
...@@ -16,6 +16,9 @@ else: ...@@ -16,6 +16,9 @@ else:
save_dir = '/data/files/wideAndDeep/' save_dir = '/data/files/wideAndDeep/'
print('save_dir: ', save_dir) print('save_dir: ', save_dir)
if not os.path.exists(save_dir):
print('mkdir save_dir: ', save_dir)
os.makedirs(save_dir)
conn = getRedisConn() conn = getRedisConn()
vocab_keys = conn.lrange("strategy:all:vocab", 0, -1) vocab_keys = conn.lrange("strategy:all:vocab", 0, -1)
......
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