運行keras的resnet時出錯

CSDN問答 2022-01-07 16:14:19 阅读数:118

keras resnet

源代碼:

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
版权声明:本文为[CSDN問答]所创,转载请带上原文链接,感谢。 https://gsmany.com/2022/01/202201071614187127.html