#294 · Primary category: Computer Vision
antialiased-cnns
pip install antialiased-cnns to improve stability and accuracy
Project last updated:04/08/24
GitHub Stars
1.7K
Forks
202
Contributors
6
License
Other
Why we included this project
A one-pixel shift in the input can flip a convolutional network's prediction, a real headache for image classification and object recognition. This PyTorch package fixes that with the BlurPool layer, a direct replacement for stride-2 max and average pooling that blurs before downsampling and restores shift invariance without adding parameters. If you already use torchvision backbones, the big convenience is the pretrained antialiased weights for common architectures like AlexNet, VGG, ResNet, DenseNet, and MobileNetV2, so you can load a checkpoint instead of training from scratch. You can also apply BlurPool to your own architecture and copy existing weights over to continue fine-tuning, which keeps the upgrade path simple. The README reports measured ImageNet gains in both top-1 accuracy and prediction consistency across shifted inputs, so you know what to expect before adopting it.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
opencv
Open Source Computer Vision Library
RuView
π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.
PaddleOCR
Turn any PDF or image document into structured data for your AI. A powerful, lightweight OCR toolkit that bridges the gap between images/PDFs and LLMs. Supports 100+ languages.
MinerU
Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
tesseract
Tesseract Open Source OCR Engine (main repository)