Commit f845d959 authored by Your Name's avatar Your Name

change train.py

parent 7f0b5dec
......@@ -421,6 +421,7 @@ if __name__ == "__main__":
main(tr_files)
elif FLAGS.task_type == 'infer':
te_files = ["%s/part-r-00000" % FLAGS.hdfs_dir]
print(te_files[0])
queue_name = te_files[0].split('_')[-1] + "_queue"
print(queue_name + " task")
result = main(te_files)
......
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