Commit 1143f59f authored by Your Name's avatar Your Name

test

parent 6927e66f
......@@ -180,6 +180,7 @@ def main(te_file):
result = []
for prob in preds:
result.append([str(prob["uid"][0]), str(prob["city"][0]), str(prob["cid_id"][0]), str(prob['pctcvr'])])
return result
def trans(x):
return str(x)[2:-1] if str(x)[0] == 'b' else x
......
......@@ -375,6 +375,7 @@ def main(te_files):
result = []
for prob in preds:
result.append([str(prob["uid"][0]), str(prob["city"][0]), str(prob["cid_id"][0]), str(prob['pctcvr'])])
return result
elif FLAGS.task_type == 'export':
print("Not Implemented, Do It Yourself!")
......
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