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

Merge branch 'master' of git.wanmeizhensuo.com:ML/ffm-baseline

add print
parents 640a3426 93b9b034
......@@ -96,7 +96,7 @@ if __name__ == '__main__':
with open(output1,'a+') as f:
for line in result1:
line = [str(i) for i in line]
str_line = ','.join(line) + ',' + '\n'
str_line = ','.join(line) + '\n'
f.write(str_line)
#2.实际中的灰度非灰度:
......@@ -142,7 +142,7 @@ if __name__ == '__main__':
with open(output2,'a+') as f:
for line in result2:
line = [str(i) for i in line]
str_line = ','.join(line) + ',' + '\n'
str_line = ','.join(line) + '\n'
f.write(str_line)
end = time.time()
......
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