From bf60dc8f92a59d6a274606940e6e37adb2a7c4f6 Mon Sep 17 00:00:00 2001 From: jonasgabriel18 Date: Mon, 1 Apr 2024 10:00:29 -0300 Subject: [PATCH] remove exception from update progress --- api/Neural_Network2.py | 1 - 1 file changed, 1 deletion(-) diff --git a/api/Neural_Network2.py b/api/Neural_Network2.py index 6aba9393..ed5be9a7 100644 --- a/api/Neural_Network2.py +++ b/api/Neural_Network2.py @@ -45,7 +45,6 @@ def update_progress(self, logs): current_batch = self.model._train_counter total_batches = self.params['steps'] * total_epochs percent_complete = int((current_batch / total_batches) * 100) - raise ValueError(percent_complete) # Definir o status de treinamento como True training_in_progress = True