Skip to content

Instantly share code, notes, and snippets.

View Taichi-Pink's full-sized avatar
🎯
Focusing

Taichi Taichi-Pink

🎯
Focusing
View GitHub Profile
@you359
you359 / GuidedBackpropagation.py
Created August 22, 2018 04:59
Guided-Backpropagation
import keras
from keras.applications.vgg16 import VGG16
from keras.applications.vgg16 import preprocess_input, decode_predictions
from keras.preprocessing import image
import keras.backend as K
import tensorflow as tf
from tensorflow.python.framework import ops
import numpy as np
@tarlen5
tarlen5 / calculate_mean_ap.py
Last active June 3, 2024 12:57
Calculate mean Average Precision (mAP) for a set of ground truth and predicted bounding boxes for a set of images.
"""
author: Timothy C. Arlen
date: 28 Feb 2018
Calculate Mean Average Precision (mAP) for a set of bounding boxes corresponding to specific
image Ids. Usage:
> python calculate_mean_ap.py
Will display a plot of precision vs recall curves at 10 distinct IoU thresholds as well as output