aws / aws/amazon-sagemaker-examples

sentiment-analysis-tf-distributed-training-bringyourownscript.ipynb failed CI

Open
#2,355 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
11k
Forks
7k
Avg merge
8h 29m
Merged PRs (30d)
8

Description

Link to the notebook:
https://github.com/aws/amazon-sagemaker-examples/blob/master/sagemaker-debugger/tensorflow_nlp_sentiment_analysis/sentiment-analysis-tf-distributed-training-bringyourownscript.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [23]":
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
in
----> 1 from smdebug.profiler.analysis.notebook_utils.metrics_histogram import MetricsHistogram
2
3 system_metrics_reader.refresh_event_file_list()
4 metrics_histogram=MetricsHistogram(
5 system_metrics_reader

/usr/local/lib/python3.7/site-packages/smdebug/profiler/analysis/notebook_utils/__init__.py in
1 # Local
----> 2 from .metrics_histogram import MetricsHistogram
3 from .step_histogram import StepHistogram
4 from .training_job import TrainingJob

/usr/local/lib/python3.7/site-packages/smdebug/profiler/analysis/notebook_utils/metrics_histogram.py in
4 # Third Party
5 impor

[...]

ModuleNotFoundError: No module named 'bokeh'

Contributor guide

Open the contributing guide

Research direction

Open the linked notebook and inspect cell 23, where the smdebug profiler analysis import fails because the bokeh module is missing. Run the notebook in the CI environment and verify that the sentiment-analysis-tf-distributed-training-bringyourownscript.ipynb workflow completes without the ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
machine-learning, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.