Created
August 30, 2021 19:45
-
-
Save rahulremanan/61f84300e87cc42088cb71764ed32b4a to your computer and use it in GitHub Desktop.
Import dependencies to run the saliency filter evaluation tool
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 os,gc,json,glob,shlex,random,platform,warnings,subprocess,numpy as np, \ | |
pandas as pd,matplotlib.pyplot as plt,matplotlib.image as mpimg | |
from PIL import Image | |
from tqdm.auto import tqdm | |
from scipy.stats import wilcoxon | |
from collections import namedtuple | |
from IPython.display import display | |
from matplotlib.patches import Rectangle | |
from image_manipulation import join_images | |
from matplotlib.collections import PatchCollection | |
from crop_api import ImageSaliencyModel, is_symmetric, parse_output, reservoir_sampling |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment