Skip to content

Commit e3f2957

Browse files
Update Evaluator.py
issue #157
1 parent d612d3f commit e3f2957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Evaluator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def PlotPrecisionRecallCurve(self,
284284
# arrowprops=dict(arrowstyle="->", connectionstyle="arc3"),
285285
# bbox=box)
286286
if savePath is not None:
287-
plt.savefig(os.path.join(savePath, classId + '.png'))
287+
plt.savefig(os.path.join(savePath, str(classId) + '.png'))
288288
if showGraphic is True:
289289
plt.show()
290290
# plt.waitforbuttonpress()

0 commit comments

Comments
 (0)