This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
from tensorflow.keras.applications.resnet50 import preprocess_input | |
from tensorflow.keras.preprocessing.image import ImageDataGenerator | |
from tensorflow.keras.preprocessing import image | |
import pathlib | |
import matplotlib.pyplot as plt | |
import tensorflow_addons as tfa | |
from tensorflow.keras.applications import ResNet50 | |
from tensorflow.keras.models import Model, Sequential | |
from tensorflow.keras.layers import Dense, Flatten, GlobalAveragePooling2D, Dropout |