Commit 03015146 authored by 张彦钊's avatar 张彦钊

change test file

parent afe26d0b
...@@ -316,8 +316,8 @@ def main(_): ...@@ -316,8 +316,8 @@ def main(_):
# print('l2_reg ', FLAGS.l2_reg) # print('l2_reg ', FLAGS.l2_reg)
# print('ctr_task_wgt ', FLAGS.ctr_task_wgt) # print('ctr_task_wgt ', FLAGS.ctr_task_wgt)
tr_files = get_filename("/strategy/esmm/tr") tr_files = get_filename("tr")
va_files = get_filename("/strategy/esmm/va") va_files = get_filename("va")
te_files = ["%s/part-r-00000" % FLAGS.hdfs_dir] te_files = ["%s/part-r-00000" % FLAGS.hdfs_dir]
if FLAGS.clear_existing_model: if FLAGS.clear_existing_model:
...@@ -364,7 +364,8 @@ def main(_): ...@@ -364,7 +364,8 @@ def main(_):
print("Not Implemented, Do It Yourself!") print("Not Implemented, Do It Yourself!")
def get_filename(dir_in): def get_filename(dir_in):
pre_add = "hdfs:///172.16.32.4:8020/strategy/esmm/" pre_add = "hdfs://172.16.32.4:8020/strategy/esmm/"
x = [] x = []
for i in range(0, 200): for i in range(0, 200):
if i < 10: if i < 10:
......
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