Skip to content

Commit

Permalink
Switch to performing less modifications of the metric names
Browse files Browse the repository at this point in the history
  • Loading branch information
golmschenk committed Jul 8, 2024
1 parent 4152926 commit cee8756
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/qusi/internal/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ def excepthook(exc_type, exc_value, exc_traceback):

def get_metric_name(metric_function):
metric_name = type(metric_function).__name__
metric_name = camel_case_acronyms(metric_name)
metric_name = stringcase.snakecase(metric_name)
metric_name = metric_name.replace('_metric', '').replace('_loss', '')
return metric_name


Expand Down

0 comments on commit cee8756

Please sign in to comment.