A library with customized PyTorch layers and model components.
To install the latest stable version:
pip install deepblocks
For a specific version:
pip install deepblocks==0.1.9
To install the latest, but unstable version:
pip install git+https://github.com/blurry-mood/Deep-Learning-Blocks
- ConvMixer
- U-Net
- ICT-Net
- ConvMixer Layer
- Flip-Invariant Conv2d
- Squeeze-Excitation Block
- Dense Block
- Multi-Head Self-Attention
- Multi-Head Self-Attention V2
- Funnel ReLU
- Focal Loss
- AUC Loss
- AUC Margin Loss
- KL Divergence Loss
- Anti-Correlation
- Barlow Twin
- DINO
- SAM
The current documention is hosted here
Deepblocks is a growing package. If you encounter a bug or would like to request a feature, please feel free to open an issue here.