From 6e7cc7cb7daf1cf7905f880a0e6ea529835b9b32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CShashank?= Date: Tue, 15 Oct 2024 12:43:57 +0530 Subject: [PATCH] Refactor tqdm import in LSTM class --- neural_network/lstm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neural_network/lstm.py b/neural_network/lstm.py index 7eaf6bdac..be2732dff 100644 --- a/neural_network/lstm.py +++ b/neural_network/lstm.py @@ -14,7 +14,7 @@ Date: [Current Date] import numpy as np from numpy.random import Generator -from tqdm import tqdm +# from tqdm import tqdm class LSTM: @@ -285,7 +285,7 @@ class LSTM: """ inputs = [self.one_hot_encode(char) for char in self.train_X] - for _ in tqdm(range(self.epochs)): + for _ in range(self.epochs): predictions = self.forward(inputs) errors = []