Skip to content

Instantly share code, notes, and snippets.

@emuccino
Created March 20, 2020 03:12
Show Gist options
  • Save emuccino/28a264727ef1170eafc5d406b6600dee to your computer and use it in GitHub Desktop.
Save emuccino/28a264727ef1170eafc5d406b6600dee to your computer and use it in GitHub Desktop.
#imports
import tensorflow as tf
from tensorflow.keras.applications.mobilenet_v2 import MobileNetV2,preprocess_input
from tensorflow.keras.layers import Input,GlobalMaxPooling2D,Dense
from tensorflow.keras.models import Model
from tensorflow.keras.preprocessing.image import img_to_array,load_img
import numpy as np
from cv2 import resize
from os import path, listdir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment