Skip to content

Commit

Permalink
remove exception from update progress
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasgabriel18 committed Apr 1, 2024
1 parent 30898ed commit bf60dc8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/Neural_Network2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bf60dc8

Please sign in to comment.