aws / sagemaker-experiments

Experiment tracking and metric logging for Amazon SageMaker notebooks and model training.
Apache License 2.0
126 stars 36 forks source link

fix metric buffer not flushing on newline #92

Closed danabens closed 4 years ago

danabens commented 4 years ago

log_metric was using binary based buffering that flushed to file after a certain number of bytes were written (~60 lines) instead of new line buffering.

https://docs.python.org/3/library/functions.html#open