self.meteor_p.stdin.write("{}\n".format(eval_line))
self.meteor_p.stdin.flush()
for i in range(0, len(imgIds)):
scores.append(float(self.meteor_p.stdout.readline().strip()))
score = float(self.meteor_p.stdout.readline().strip())
return score, scores
After Change
self.meteor_p.stdin.flush()
for i in range(0, len(imgIds)):
scores.append(float(dec(self.meteor_p.stdout.readline().strip())))
score = float(dec(self.meteor_p.stdout.readline()).strip())
return score, scores