From 99a264be474bb04eff26f3768d2af87f82e4d406 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Sun, 15 Nov 2020 12:11:52 +0100 Subject: [PATCH] Added carriage returns --- rgbAI/lib/ailib/ai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rgbAI/lib/ailib/ai.py b/rgbAI/lib/ailib/ai.py index fac7f9a..9089359 100644 --- a/rgbAI/lib/ailib/ai.py +++ b/rgbAI/lib/ailib/ai.py @@ -169,7 +169,7 @@ def printProgress(): print(f"LR: {DEBUG_BUFFER['lr']}") print(f"Cost: {DEBUG_BUFFER['cost']}") print(f"Gen: {DEBUG_BUFFER['gen']}") - print(f"inp: {DEBUG_BUFFER['inp']} | pre: {DEBUG_BUFFER['predicted']} cor: {DEBUG_BUFFER['correct']}") + print(f"inp: {DEBUG_BUFFER['inp']} | pre: {DEBUG_BUFFER['predicted']} cor: {DEBUG_BUFFER['correct']}", end="\r") def learn( inputNum:int, obj, theta:float, traintimes:int ): # Calculate the derivative for: