from __future__ import print_function import tensorflow as tf import tensorflow.keras from tensorflow.keras.datasets import cifar10 from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, Dropout, Conv2D, MaxPooling2D, Flatten from tensorflow.keras.optimizers import RMSprop import matplotlib.pyplot as plt import numpy as np print('tensorflow:', tf.__version__) print('keras:', tensorflow.keras.__version__) ##Uncomment the following two lines if you get CUDNN_STATUS_INTERNAL_ERROR initialization errors. ## (it happens on RTX 2060 on room 104/moneo or room 204/lautrec) physical_devices = tf.config.experimental.list_physical_devices('GPU') tf.config.experimental.set_memory_growth(physical_devices[0], True) #load (first download if necessary) the CIFAR10 dataset # data is already split in train and test datasets (x_train, y_train), (x_test, y_test) = cifar10.load_data() #Let start our work: creating a convolutional neural network #####TO COMPLETE