-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chapter 16: Downloading Shakespeare model: I get exception downloading the shakespeare_model #123
Comments
Here's the code as I ran it: import tensorflow as tf
from pathlib import Path
# extra code – downloads a pretrained model
url = "https://github.com/ageron/data/raw/main/shakespeare_model.tgz"
path = tf.keras.utils.get_file("shakespeare_model.tgz", url, extract=True)
model_path = Path(path).with_name("shakespeare_model")
#shakespeare_model = tf.keras.models.load_model(model_path) The stack trace I got:
Please what am I doing wrong? |
Your code looks good to me, in fact I've just tested it and it works fine. This might just be a temporary issue on github, you could just try again and hopefully it will work. If not, then it's probably a network issue: check your router, wifi, firewall, and so on. If nothing works, you can try downloading the file manually, and place it in |
No description provided.
The text was updated successfully, but these errors were encountered: