inplace_abn
A PyTorch-style layer that combines batch normalization and activation while saving memory during deep network training. It lets you train larger models or use bigger batches on the same hardware.
Pick a small issue you can reproduce, then fix it with your AI coding agent.
Share on XLicense: BSD-3-Clause
Overview
In-Place Activated BatchNorm (InPlace-ABN) is a PyTorch layer that reduces the memory needed to train deep networks. It treats batch normalization and the following activation as one in-place operation, and drops or recomputes intermediate buffers when needed. The README reports memory savings of up to 50% in architectures such as ResNet, ResNeXt and Wider ResNet. The repository also has ImageNet training scripts and semantic segmentation inference code.
Key features
- Combines batch norm and activation in one in-place operation
- Reported memory savings of up to 50% in modern architectures
- Training scripts to reproduce the paper's ImageNet results
- Inference code for semantic segmentation with a Mapillary Vistas model
Best for
Deep learning practitioners who hit GPU memory limits when training large networks and want larger models or batches on the same hardware.
- Upstream
- mapillary/inplace_abn
- Fork on GitHub
- Guo-astro/inplace_abn
- Upstream stars
- 1.3k
- Category
- Finance, data and research
- Language
- Python
- License
- BSD-3-Clause
- Forked
- 2020-12-05
- Sync status
- In syncLast synced 2026-11-09
More in Finance, data and research
A Pine Script v5 collection of TradingView indicators and strategies for charting supply and demand zones and reversal pivots. Use the scripts to inspect potential price levels on TradingView charts.
Forked 2026-10-19Last synced 2026-11-09Custom license (see repository)Finance, data and researchGitHub
Python tools and sample data for exploring algorithmic trading strategies, including indicators, performance metrics, optimization, and portfolio simulation.
Forked 2026-10-18Last synced 2026-11-09Custom license (see repository)Finance, data and researchGitHub
NautilusTrader is a Rust-native engine for building multi-asset, multi-venue trading systems. It supports research, deterministic simulation, and live execution using a shared event-driven architecture.
Forked 2026-10-15Last synced 2026-11-09License: LGPL-3.0Finance, data and researchGitHub
A TradingView Pine Script collection for technical market analysis, strategy backtesting, and alerts. It gives traders reusable indicators, strategy scripts, and multi-symbol alert systems for exploring trading setups.
Forked 2026-10-15Last synced 2026-11-09No license declaredFinance, data and researchGitHub