Commit e2301395 authored by Your Name's avatar Your Name

test rm sess.run

parent 3f9f49cc
......@@ -141,7 +141,7 @@ def input_fn(filenames, batch_size=32, num_epochs=1, perform_shuffle=False):
#print(batch_features,batch_labels)
return batch_features, batch_labels
def main(_):
def main():
# dt_dir = (date.today() + timedelta(-1)).strftime('%Y%m%d')
model_dir = "hdfs://172.16.32.4:8020/strategy/esmm/model_ckpt/DeepCvrMTL/"
te_files = ["hdfs://172.16.32.4:8020/strategy/esmm/nearby/part-r-00000"]
......@@ -188,6 +188,7 @@ if __name__ == "__main__":
b = time.time()
tf.logging.set_verbosity(tf.logging.INFO)
tf.app.run()
# tf.app.run()
main()
print("耗时(分钟):")
print((time.time()-b)/60)
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