juvchan
juvchan

Reputation: 6245

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

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

Upvotes: 0

Views: 117

Answers (1)

Gaurav Chawla
Gaurav Chawla

Reputation: 398

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

Upvotes: 1

Related Questions