aws / aws/amazon-sagemaker-examples
tensorflow_serving_container.ipynb failed CI
- 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_serving_container/tensorflow_serving_container.ipynb
Error:
---------------------------------------------------------------------------
Exception encountered at "In [3]":
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
in
----> 1 import sample_utils
2
3 model_name = 'mobilenet_v2_140_224'
4 export_path = 'mobilenet'
5 model_path = sample_utils.tfhub_to_savedmodel(model_name, export_path)
/opt/ml/processing/input/sample_utils.py in
2 import tensorflow_hub as hub
3 import numpy as np
----> 4 import cv2
5
6
/usr/local/lib/python3.7/site-packages/cv2/__init__.py in
3 import sys
4
----> 5 from .cv2 import *
6 from .data import *
7
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
Contributor guide
Research direction
Start with sagemaker-python-sdk/tensorflow_serving_container/tensorflow_serving_container.ipynb and the sample_utils.py import shown in the traceback. Reproduce the CI failure and investigate why cv2 cannot find libGL.so.1. Done means the notebook's CI run completes without the OpenCV import error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, opencv, python, tensorflow
- Domain
- ci-cd, machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100