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 numpy as np | |
import tensorflow | |
from tensorflow.keras.preprocessing import image | |
from tensorflow.keras.utils import get_file | |
from tensorflow.keras.applications.vgg16 import VGG16, preprocess_input | |
from tf_explain.core.grad_cam import GradCAM | |
import PIL | |
from PIL import Image, ImageDraw, ImageFont |