Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rahulremanan/61f84300e87cc42088cb71764ed32b4a to your computer and use it in GitHub Desktop.
Save rahulremanan/61f84300e87cc42088cb71764ed32b4a to your computer and use it in GitHub Desktop.
Import dependencies to run the saliency filter evaluation tool
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