TimeoutError Traceback (most recent call last)
in ()
1 fashion_mnist = keras.datasets.fashion_mnist
----> 2 (x_train_all,y_train_all),(x_test,y_test) = fashion_mnist.load_data()
3 x_valid,x_train = x_train_all[:5000],x_train_all[5000:]
4 y_valid,y_train = y_train_all[:5000],y_train_all[5000:]
5
D:\anaconda3.5\lib\site-packages\tensorflow_core\python\keras\datasets\fashion_mnist.py in load_data()
50 paths = []
51 for fname in files:
—> 52 paths.append(get_file(fname, origin=base + fname, cache_subdir=dirname))
53
54 with gzip.open(paths[0], ‘rb’) as lbpath:
D:\anaconda3.5\lib\site-packages\tensorflow_core\python\keras\utils\data_utils.py in get_file(fname, origin, untar, md5_hash, file_hash, cache_subdir, hash_algorithm, extract, archive_format, cache_dir)
249 try:
250 try:
–> 251 urlretrieve(origin, fpath, dl_progress)
252 except HTTPError as e:
253 raise Exception(error_msg.format(origin, e.code, e.msg))
D:\anaconda3.5\lib\urllib\request.py in urlretrieve(url, filename, reporthook, data)
246 url_type, path = splittype(url)
247
–> 248 with contextlib.closing(urlopen(url, data)) as fp: