Commit efb0ee59 authored by Your Name's avatar Your Name

test

parent abed48aa
...@@ -161,7 +161,6 @@ def model_fn(features, labels, mode, params): ...@@ -161,7 +161,6 @@ def model_fn(features, labels, mode, params):
def main(te_file): def main(te_file):
dt_dir = (date.today() + timedelta(-1)).strftime('%Y%m%d') dt_dir = (date.today() + timedelta(-1)).strftime('%Y%m%d')
model_dir = "hdfs://172.16.32.4:8020/strategy/esmm/model_ckpt/DeepCvrMTL/" + dt_dir model_dir = "hdfs://172.16.32.4:8020/strategy/esmm/model_ckpt/DeepCvrMTL/" + dt_dir
print(model_dir)
te_files = ["hdfs://172.16.32.4:8020/strategy/esmm/nearby/part-r-00000"] te_files = ["hdfs://172.16.32.4:8020/strategy/esmm/nearby/part-r-00000"]
model_params = { model_params = {
"field_size": 15, "field_size": 15,
......
...@@ -326,7 +326,6 @@ def main(te_files): ...@@ -326,7 +326,6 @@ def main(te_files):
if FLAGS.dt_dir == "": if FLAGS.dt_dir == "":
FLAGS.dt_dir = (date.today() + timedelta(-1)).strftime('%Y%m%d') FLAGS.dt_dir = (date.today() + timedelta(-1)).strftime('%Y%m%d')
FLAGS.model_dir = FLAGS.model_dir + FLAGS.dt_dir FLAGS.model_dir = FLAGS.model_dir + FLAGS.dt_dir
print(FLAGS.model_dir)
#FLAGS.data_dir = FLAGS.data_dir + FLAGS.dt_dir #FLAGS.data_dir = FLAGS.data_dir + FLAGS.dt_dir
tr_files = ["hdfs://172.16.32.4:8020/strategy/esmm/test_tr/part-r-00000"] tr_files = ["hdfs://172.16.32.4:8020/strategy/esmm/test_tr/part-r-00000"]
......
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