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

Log metrics in any environment #60

Closed andrew-ge-wu closed 4 years ago

andrew-ge-wu commented 4 years ago

Is your feature request related to a problem? Please describe. I create a Tracker via Tracker.create but I can not use such tracker to log metric. It throws this log instead. "Cannot write metrics in this environment."

Describe the solution you'd like The tracker can be created should able to log metrics as well.

Describe alternatives you've considered N/A

Additional context I noticed that the create method creating Tracker with no metrics_writer which required to log metric and there is no way to opt that in. I can not find the intended way to use log_metric API from documentation either, maybe I missed something?

danabens commented 4 years ago

Hi Andrew, thanks for creating this issue. We are discussing and will respond shortly.

andrew-ge-wu commented 4 years ago

Thanks @danabens, let me know if there's any update.

danabens commented 4 years ago

released

mooreniemi commented 1 year ago

I'm on sagemaker-experiments 0.1.45 but see:

WARNING:root:Cannot write metrics in this environment.
santoshmedisetty321 commented 1 year ago

@danabens I also see the issue on sagemaker-experiments 0.1.45. @mooreniemi Any solution?

joslinm commented 11 months ago

I am seeing this as well