Skip to content

Commit

Permalink
Use self.json_write instead of Metric.json_write, in order to permit …
Browse files Browse the repository at this point in the history
…a custom behavior of json writing
  • Loading branch information
galeone committed Jan 26, 2020
1 parent 1e2c79d commit 2dc9aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ashpy/metrics/metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def model_selection(
tf.print(
f"{self.sanitized_name}: validation value: {previous_value}{current_value}"
)
Metric.json_write(
self.json_write(
self.best_model_sel_file,
{
self.sanitized_name: str(current_value),
Expand Down

0 comments on commit 2dc9aac

Please sign in to comment.