
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
DMM-PyTorch
Advanced tools
This is the repository of paper Debiased Mapping for Full-Reference Image Quality Assessment.
Installation:
pip install DMM-PyTorchRequirements:
Usage:
from DMM_PyTorch import DMM
from torchvision import transforms
from PIL import Image
def prepare_PIL_Image(PIL_Image):
msize = min(PIL_Image.size)
if msize>128:
tar_size = max(int(msize/(1.0*48))*32,128)
image =transforms.functional.resize(PIL_Image,tar_size)
image = transforms.ToTensor()(image)
return image.unsqueeze(0)
model = DMM().cuda()
ref_pth = './Images/I04.BMP'
dist_pth = './Images/i04_24_2.bmp'
ref = prepare_PIL_Image(Image.open(ref_pth).convert("RGB")).cuda()
dist = prepare_PIL_Image(Image.open(dist_pth).convert("RGB")).cuda()
dmm_score = model(ref, dist)
print(dmm_score)
or
git clone https://github.com/Baoliang93/DMM
cd DMM_PyTorch
python DMM.py --ref <ref_path> --dist <dist_path>
FAQs
Debiased Mapping for Full-Reference Image Quality Assessment
We found that DMM-PyTorch 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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.