Skip to content

Commit

Permalink
Remove metrics parsing for distributed models
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcarnero97 committed Mar 1, 2024
1 parent 975ac29 commit 1cdb7f4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions model_training/tensorflow/mainTraining.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,6 @@ def create_distributed_model(self):

metrics = self.metrics.replace(' ', '')
metrics = metrics.split(',')
for m in metrics:
if m == 'tf.keras.metrics.Precision()':
m = tf.keras.metrics.Precision()
elif m == 'tf.keras.metrics.Recall()':
m = tf.keras.metrics.Recall()
"""Formats metrics"""

outputs = []
Expand Down

0 comments on commit 1cdb7f4

Please sign in to comment.