davidADSP / GDL_code

The official code repository for examples in the O'Reilly book 'Generative Deep Learning'

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cifar10.load_data() is not working

canberk17 opened this issue · comments

(x_train,y_train),(x_test,y_test)=cifar10.load_data()
doesn't not work on colab, but this does:

import numpy as np
import tensorflow as tf
from keras.utils import to_categorical
from keras.datasets import cifar10
(x_train,y_train),(x_test,y_test)=tf.keras.datasets.cifar10.load_data()