源代码:
from keras.applications.resnet50 import ResNet50
pretrained_model = ResNet50(input_shape=(n_h,n_w,n_c),include_top=False)
错误:
Exception: URL fetch failure on https://storage.googleapis.com/tensorflow/keras-applications/resnet/resnet50_weights_tf_dim_ordering_tf_kernels_notop.h5: None -- [Errno -3] Temporary failure in name resolution不知道你这个问题是否已经解决, 如果还没有解决的话: