aws / aws/amazon-sagemaker-examples

tensorflow_distributed_mnist_neo_inf1.ipynb failed CI

Open
#2,314 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_neo_compilation_jobs/deploy_tensorflow_model_on_Inf1_instance/tensorflow_distributed_mnist_neo_inf1.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [2]":
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
in
1 import utils
----> 2 from tensorflow.contrib.learn.python.learn.datasets import mnist
3 import tensorflow as tf
4
5 data_sets = mnist.read_data_sets('data', dtype=tf.uint8, reshape=False, validation_size=5000)

ModuleNotFoundError: No module named 'tensorflow.contrib'

Contributor guide

Open the contributing guide

Research direction

Start with sagemaker_neo_compilation_jobs/deploy_tensorflow_model_on_Inf1_instance/tensorflow_distributed_mnist_neo_inf1.ipynb and inspect the failing In [2] cell. Check the TensorFlow version used by CI and the replacement for the missing tensorflow.contrib MNIST import. Done means the notebook runs past that cell without ModuleNotFoundError and CI succeeds.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.