tensorflow数据集下载失败
fashion = tf.keras.datasets.fashion_mnist(x_train, y_train), (x_test, y_test) = fashion.load_data()urllib.error.URLError: <urlopen error unknown url type: https>Exception: URL fetch failure on h
·
fashion = tf.keras.datasets.fashion_mnist
(x_train, y_train), (x_test, y_test) = fashion.load_data()
urllib.error.URLError: <urlopen error unknown url type: https>
Exception: URL fetch failure on https://storage.googleapis.com/tensorflow/tf-keras-datasets/train-labels-idx1-ubyte.gz: None -- unknown url type: https
https://blog.csdn.net/weixin_44604887/article/details/105099177
法二:
在代码中加入一行
DEFAULT_SOURCE_URL = 'http://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz'
下载cifar数据集
更多推荐




所有评论(0)