GoogleCloudPlatform / GoogleCloudPlatform/training-data-analyst

Issue with running quests/dei/WIT_Smile_Detector.ipynb on Qwiklabs

Open
#1,318 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
8.6k
Forks
6.1k
Avg merge
4h 44m
Merged PRs (30d)
2

Description

Hello when trying to follow the **Using the What-If Tool with Image Recognition Models** Lab I get the following error when trying to load the pre-trained model:

`from tensorflow.keras.models import load_model
model1 = load_model('smile-model.hdf5')`

`AttributeError: 'str' object has no attribute 'decode'`

I believe this is related to this issue mentioned here:
https://github.com/tensorflow/tensorflow/issues/44467

Yet I couldn't figure out a way to fix this

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.