
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
scam-net-rewintous
Advanced tools
Score Weighted Class Activation Mapping. A tool for convolutional neural network activation analysis
This is an implementation of: Score-CAM Improved Visual Explanations Via Score-Weighted Class Activation Mapping. [https://arxiv.org/abs/1910.01279]
BibTex reference:
@misc{wang2019scorecamimproved,
title={Score-CAM:Improved Visual Explanations Via Score-Weighted Class Activation Mapping},
author={Haofan Wang and Mengnan Du and Fan Yang and Zijian Zhang},
year={2019},
eprint={1910.01279},
archivePrefix={arXiv},
primaryClass={cs.CV}
}
It is capable of postprocessing CNNs by taking its final output convolutional layer and softmax layer and generating spatial heatmap for the specified class. Regions with higher score correspond to the pixels with greater importance in classifying an image with a specific class.
To use ScoreCAM class with Keras is as easy as adding 2 calls:
from scam.keras import ScoreCAM
scoreCAM = ScoreCAM(model_input=model_input, last_conv_output=conv_layers, softmax_output=softmax_output, input_shape=input_shape)
scoreCAM.prepare_cam(img)
model_input - is an input layerconv_layers - last convolutional layer outputsoftmax_output - final classification layer output.input_shape - expected image spatial dimensions (e.g. (224,224))and
# return heatmap of the same size as image
heatmap = scoreCAM.get_class_heatmap(class_id)
The output is a heatmap which describes an importance of a class class_id with respect to pixel location.
Below is the sample output for tiger_cat class:

FAQs
Score Weighted Class Activation Mapping. A tool for convolutional neural network activation analysis
We found that scam-net-rewintous demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.