Commit 126fe281 authored by 张彦钊's avatar 张彦钊

change test file

parent de18ca2f
...@@ -300,11 +300,7 @@ def main(_): ...@@ -300,11 +300,7 @@ def main(_):
FLAGS.model_dir = FLAGS.model_dir + FLAGS.dt_dir FLAGS.model_dir = FLAGS.model_dir + FLAGS.dt_dir
#FLAGS.data_dir = FLAGS.data_dir + FLAGS.dt_dir #FLAGS.data_dir = FLAGS.data_dir + FLAGS.dt_dir
tr_files = glob.glob("/home/gmuser/test/part*") tr_files = get_filename("tr")
random.shuffle(tr_files)
print("tr_files:", tr_files)
# tr_files = get_filename("tr")
va_files = get_filename("va") va_files = get_filename("va")
te_files = ["%s/part-r-00000" % FLAGS.hdfs_dir] te_files = ["%s/part-r-00000" % FLAGS.hdfs_dir]
...@@ -374,8 +370,8 @@ if __name__ == "__main__": ...@@ -374,8 +370,8 @@ if __name__ == "__main__":
os.system(a) os.system(a)
print("环境") print("环境")
print(os.system(a)) print(os.system(a))
# path = "hdfs://172.16.32.4:8020/strategy/esmm/" path = "hdfs://172.16.32.4:8020/strategy/esmm/"
# tf.logging.set_verbosity(tf.logging.INFO) tf.logging.set_verbosity(tf.logging.INFO)
# tf.app.run() tf.app.run()
# print("耗时(分钟):") print("耗时(分钟):")
# print((time.time()-b)/60) print((time.time()-b)/60)
\ No newline at end of file \ 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