#544 · Primary category: Computer Vision
dropblock
Implementation of DropBlock: A regularization method for convolutional networks in PyTorch.
Project last updated:07/29/20
GitHub Stars
594
Forks
95
Contributors
6
License
MIT
Why we included this project
Plain dropout often does little for convolutional layers, because nearby activations are spatially correlated and information keeps flowing around the dropped units. DropBlock attacks that directly: instead of zeroing individual activations, it removes whole contiguous blocks of a feature map, which is what actually forces the network to learn features that do not depend on their neighbors. This package is a faithful PyTorch implementation of the 2018 NeurIPS paper, with DropBlock2D and DropBlock3D modules plus a LinearScheduler that gradually raises the drop probability during training, a detail the paper credits for better accuracy and less sensitivity to hyperparameter choices. It installs from PyPI and fits into an existing training loop in a few lines, and the bundled ResNet-CIFAR10 example shows a realistic setup. If you are reproducing the paper's results or just want a stronger regularizer for your own vision models, this is a clean reference to build on.
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)