Skip to content

Instantly share code, notes, and snippets.

View pvwalke's full-sized avatar

Prathamesh Walke pvwalke

View GitHub Profile
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