All Projects → shinmura0 → Faster-Grad-CAM

shinmura0 / Faster-Grad-CAM

Licence: MIT License
Faster and more precisely than Grad-CAM

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Faster-Grad-CAM

Pysad
Streaming Anomaly Detection Framework in Python (Outlier Detection for Streaming Data)
Stars: ✭ 87 (+163.64%)
Mutual labels:  real-time, anomaly-detection
MemStream
MemStream: Memory-Based Streaming Anomaly Detection
Stars: ✭ 58 (+75.76%)
Mutual labels:  real-time, anomaly-detection
MStream
Anomaly Detection on Time-Evolving Streams in Real-time. Detecting intrusions (DoS and DDoS attacks), frauds, fake rating anomalies.
Stars: ✭ 68 (+106.06%)
Mutual labels:  real-time, anomaly-detection
ADRepository-Anomaly-detection-datasets
ADRepository: Real-world anomaly detection datasets
Stars: ✭ 77 (+133.33%)
Mutual labels:  anomaly-detection
SiamFC-tf
A TensorFlow implementation of the SiamFC tracker, use with your own camera and video, or integrate to your own project 实时物体追踪,封装API,可整合到自己的项目中
Stars: ✭ 22 (-33.33%)
Mutual labels:  real-time
object-flaw-detector-python
Detect various irregularities of a product as it moves along a conveyor belt.
Stars: ✭ 17 (-48.48%)
Mutual labels:  real-time
EVT
使用极端值理论(Extreme Value Theory)实现阈值动态自动化设置
Stars: ✭ 48 (+45.45%)
Mutual labels:  anomaly-detection
verse-blender
Blender Python Add-on with Verse integration
Stars: ✭ 36 (+9.09%)
Mutual labels:  real-time
haskell-tic-tac-toe
A multiplayer web real-time implementation of the famous Tic Tac Toe game in Haskell.
Stars: ✭ 51 (+54.55%)
Mutual labels:  real-time
MIST VAD
Official codes for CVPR2021 paper "MIST: Multiple Instance Self-Training Framework for Video Anomaly Detection"
Stars: ✭ 52 (+57.58%)
Mutual labels:  anomaly-detection
mute-structs
MUTE-structs is a Typescript library that provides an implementation of the LogootSplit CRDT algorithm.
Stars: ✭ 14 (-57.58%)
Mutual labels:  real-time
asana-webhooks-manager
Asana Webhooks Manager (AWM) is a free and open source management and event handling server, written in JavaScript (NodeJS, Angular) for Asana's webhooks API. Use AWM to manage webhooks subscriptions and accept event payloads from Asana in real-time. Want to create your own Asana Dashboard? Consider AWM as your starting point!
Stars: ✭ 23 (-30.3%)
Mutual labels:  real-time
mtad-gat-pytorch
PyTorch implementation of MTAD-GAT (Multivariate Time-Series Anomaly Detection via Graph Attention Networks) by Zhao et. al (2020, https://arxiv.org/abs/2009.02040).
Stars: ✭ 85 (+157.58%)
Mutual labels:  anomaly-detection
WhiteBox-Part1
In this part, I've introduced and experimented with ways to interpret and evaluate models in the field of image. (Pytorch)
Stars: ✭ 34 (+3.03%)
Mutual labels:  grad-cam
vbcg
real-time application for video-based methods in the context of MRI
Stars: ✭ 20 (-39.39%)
Mutual labels:  real-time
transform-hub
Flexible and efficient data processing engine and an evolution of the popular Scramjet Framework based on node.js. Our Transform Hub was designed specifically for data processing and has its own unique algorithms included.
Stars: ✭ 38 (+15.15%)
Mutual labels:  real-time
Real-Time-Abnormal-Events-Detection-and-Tracking-in-Surveillance-System
The main abnormal behaviors that this project can detect are: Violence, covering camera, Choking, lying down, Running, Motion in restricted areas. It provides much flexibility by allowing users to choose the abnormal behaviors they want to be detected and keeps track of every abnormal event to be reviewed. We used three methods to detect abnorma…
Stars: ✭ 35 (+6.06%)
Mutual labels:  real-time
TorrentsDuck
A multi users bittorrents client with a responsive web UI that quacks 🦆
Stars: ✭ 42 (+27.27%)
Mutual labels:  real-time
DCSO
Supplementary material for KDD 2018 workshop "DCSO: Dynamic Combination of Detector Scores for Outlier Ensembles"
Stars: ✭ 20 (-39.39%)
Mutual labels:  anomaly-detection
reactors
Maintain state, incorporate change, broadcast deltas. Reboot on error.
Stars: ✭ 17 (-48.48%)
Mutual labels:  real-time

Faster-Grad-CAM

Faster and more precisely than Grad-CAM.

fig1

Upper result is...

  • The size of images is 96-96.
  • We used MobileNet V2 with ArcFace.
  • We measured the processing time on Colaboratory(Tesla P4).

Based paper

Adapting Grad-CAM for Embedding Networks(arXiv, Jan 2020)

We changed below.

  • change Triplet to ArcFace.
  • change k-means clusters(from 50 to 10).

Usage(Janken Demo)

  • Keras 2.2.4
  • TensorFlow 1.9.0
  • sklearn 0.19.0
  • Opencv 3.4.3.18
  • RapberryPi3 modelB(below result) or PC

command below

python3 janken_demo.py

gif1

press [s] to change below mode(like ObjectDetection).

gif2

Method

Detail is here(Japanese). f1 f2 f3 f4

Procedure of training

Look at Train_Faster-Grad-CAM.ipynb

More faster(Raspberry Pi)

  • Change MobileNet V2 to V3. Because V3 is faster than V2 on CPU.
  • Change Raspberry Pi3 to Pi4(or JetsonNANO).
  • Quantization like this.

Application examples

1.Anomaly detection
When you use Self-supervised-learning, anomaly region is visualized by using Faster-Grad-CAM.
Next example is that circle is normal.

fig3

And extra line or missing line is anomaly image.

fig4

Upper result is that only normal images is used in trainging!
Realtime visualization is like below.

fig5

You can do anomaly detection and visualization at the same time.

2.Auto-Annotation
Auto-Annotation is based Grad-CAM and Bayesian optimization.
When you use Faster-Grad-CAM instead of Grad-CAM, you reduce total time by 25%(from 20sec to 15sec).

Special thanks

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].