From 2925776052315c43f5b239ae1dea8259cfaac813 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Sat, 17 Oct 2020 18:47:28 +0200 Subject: [PATCH] Small tweaks --- rgbAI/lib/func.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rgbAI/lib/func.py b/rgbAI/lib/func.py index b279cb7..b5f240c 100644 --- a/rgbAI/lib/func.py +++ b/rgbAI/lib/func.py @@ -140,7 +140,7 @@ class AIlib: grads, curCost = AIlib.gradient( inp, obj, theta, maxLen - 1 ) obj = AIlib.mutateProps( obj, maxLen, grads ) # mutate the props for next round - print("Cost:", curCost) + print(f"Cost: {curCost}") print("DONE\n")