训练指标曲线图配置成setting文件中的变量。

This commit is contained in:
zhanghuan
2025-09-10 15:19:29 +08:00
parent 2412c26342
commit 5a3fc59573
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ if __name__ == '__main__':
plt.grid(True)
plt.tight_layout()
plt.savefig('../model/02/training_curves.png', dpi=300, bbox_inches='tight')
plt.savefig(settings.TRAINING_CURVES_PATH, dpi=300, bbox_inches='tight')
plt.show()
print(f'\n最终结果:')