davidADSP / GDL_code

The official code repository for examples in the O'Reilly book 'Generative Deep Learning'
GNU General Public License v3.0
1.47k stars 739 forks source link

cifar10.load_data() is not working #109

Open canberk17 opened 1 year ago

canberk17 commented 1 year ago

(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()