May 2020
Beginner to intermediate
430 pages
10h 39m
English
In this section, the model inputs various Keras libraries and TensorFlow. This can be seen in the following code. For now, take this with a pinch of salt; this will be explained in full in Chapter 6, Visual Search Using Transfer Learning:
from __future__ import absolute_import, division, print_function, unicode_literals,import tensorflow as tf,from tensorflow.keras.applications import VGG16\nfrom keras.applications.vgg16 import preprocess_input, from keras import modelsfrom tensorflow.keras.models import Sequential, Modelfrom tensorflow.keras.layers import Dense, Conv2D, Flatten, Dropout, GlobalAveragePooling2D, MaxPooling2Dfrom tensorflow.keras.preprocessing.image import ImageDataGenerator\n",from tensorflow.keras.optimizers ...