HTTP Error 403: Forbidden on downloading weights in C3_W1_Lab_1_transfer_learning_cats_dogs.ipynb

The following urlib request to download weights for the Inception V3 from Google APIs seems to be outdated:

weights_url = "https://storage.googleapis.com/mledu-datasets/inception_v3_weights_tf_dim_ordering_tf_kernels_notop.h5"

weights_file = "inception_v3.h5"

urllib.request.urlretrieve(weights_url, weights_file)

I get the error message:

HTTP Error 403: Forbidden

Can someone please provide an alternative url or fix the permission issue?

Thanks a lot in advance

check the link provided by the post creator

Also please share screenshot of the complete error message you got with the forbidden message, it might provide information reason behind it.

Hi, and thank you for reporting! It looks like that GCP bucket containing the model is mistakenly put into private mode. Please re-open the lab from the classroom to see the new public link. Thanks again!

1 Like

Hi Chris,

Thanks for your help! It works fine now.

Best,

1 Like