text_plain_output_1.png
from keras.applications.inception_v3 import InceptionV3, preprocess_input

main_folder = '../input/celeba-dataset/'
images_folder = main_folder + 'img_align_celeba/img_align_celeba/'
example_pic = images_folder + '000506.jpg'
training_sample = 10000
validation_sample = 2000
test_sample = 2000
img_width = 178
img_height = 218
batch_size = 16
num_epochs = 5

inc_model = InceptionV3(weights='../input/inceptionv3/inception_v3_weights_tf_dim_ordering_tf_kernels_notop.h5', include_top=False, input_shape=(img_height, img_width, 3))
print('number of layers in the model : ', len(inc_model.layers))