aws / aws/amazon-sagemaker-examples

tf-eager-sm-scriptmode.ipynb failed CI

Open
#2,458 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-python-sdk/tensorflow-eager-script-mode/tf-eager-sm-scriptmode.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [1]":
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
in
3
4
----> 5 tf.enable_eager_execution()
6 tf.set_random_seed(0)
7 tf.logging.set_verbosity(tf.logging.ERROR)

AttributeError: module 'tensorflow' has no attribute 'enable_eager_execution'

Contributor guide

Open the contributing guide

Research direction

Open sagemaker-python-sdk/tensorflow-eager-script-mode/tf-eager-sm-scriptmode.ipynb and inspect the first cell, especially the failing tf.enable_eager_execution() call. Reproduce the notebook CI failure, then verify that the notebook runs without the reported AttributeError and passes the relevant CI check.

Written by the indexing model from the issue text.

Assessment

Tech stack
tensorflow
Domain
ci-cd, machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.