diff --git a/rgbAI/lib/ailib/ai.py b/rgbAI/lib/ailib/ai.py index 9089359..4cde5b3 100644 --- a/rgbAI/lib/ailib/ai.py +++ b/rgbAI/lib/ailib/ai.py @@ -166,9 +166,9 @@ def mutateProps( inpObj, curCost:float, maxLayer:int, gradient:list ): def printProgress(): global DEBUG_BUFFER - print(f"LR: {DEBUG_BUFFER['lr']}") - print(f"Cost: {DEBUG_BUFFER['cost']}") - print(f"Gen: {DEBUG_BUFFER['gen']}") + print(f"LR: {DEBUG_BUFFER['lr']}", end="\r") + print(f"Cost: {DEBUG_BUFFER['cost']}", end="\r") + print(f"Gen: {DEBUG_BUFFER['gen']}", end="\r") 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 ):