Where can I find the Performance Metrics generated by SageMaker Debugger/Profiler?

85 Views Asked by At

Where can I look for the performance metrics generated by Amazon SageMaker Debugger/Profiler?

1

There are 1 best solutions below

0
Gaurav Chawla On BEST ANSWER

1.from sagemaker.debugger import ProfilerConfig

profiler_config = ProfilerConfig( framework_profile_params=FrameworkProfile(start_step=1, num_steps=2) )

2. from sagemaker.debugger import TensorBoardOutputConfig

tensorboard_output_config = TensorBoardOutputConfig(s3_output_path= << add your bucket name an folder >> )

  1. In your estimator - specify : profiler_config= profiler_config and tensorboard_output_config=tensorboard_output_config

  2. Train your model

  3. Go to the s3 bucket specified for your training job name that is assigned in Sagemaker . You should see a report under rule-output > ProfilerReport *** > profiler-output/ > profiler-report.html