Skip to content

Instantly share code, notes, and snippets.

@ashhadulislam
Created June 16, 2021 06:14
Show Gist options
  • Save ashhadulislam/dcb725a3fefcec8817bc5ba5fad0a23b to your computer and use it in GitHub Desktop.
Save ashhadulislam/dcb725a3fefcec8817bc5ba5fad0a23b to your computer and use it in GitHub Desktop.
import tensorflow as tf
import os
import cv2
import numpy as np
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Input, Dense, Dropout
from tensorflow.keras.callbacks import EarlyStopping, CSVLogger, ReduceLROnPlateau
from sklearn.model_selection import train_test_split
from tensorflow.keras.preprocessing import image
from tensorflow.keras.applications.inception_resnet_v2 import preprocess_input, decode_predictions
from tensorflow.keras.utils import to_categorical
from tensorflow.keras import models
from tensorflow.keras import Model
from tensorflow.keras.models import load_model
import matplotlib.pyplot as plt
from tensorflow.keras.applications.vgg16 import VGG16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment