Useful PyTorch Layers
Project description
Deep-Learning-Blocks
A library with customized PyTorch layers and model components.
Install:
To install the latest stable version:
pip install deepblocks
For a specific version:
pip install deepblocks==0.1.1
To install the latest, but unstable version:
pip install git+https://github.com/blurry-mood/Deep-Learning-Blocks
What's available:
Layers
- Flip-Invariant Conv2d
- Squeeze-Excitation Block
- Multi-Head Self-Attention
- Multi-Head Self-Attention V2
Activations
- Funnel ReLU
Loss Functions
- Focal Loss
- AUC Loss
- AUC Margin Loss
- KL Divergence Loss
Regularization functions
- Anti-Correlation
Self-supervised Learning
- Barlow Twin
- DINO
Optimizers
- SAM
Documentation:
The current documention is hosted here
Bug or Feature:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
deepblocks-0.1.7.tar.gz
(19.8 kB
view hashes)
Built Distribution
deepblocks-0.1.7-py3-none-any.whl
(26.7 kB
view hashes)
Close
Hashes for deepblocks-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 309505c894862073f0fafe8d87a5bdca8e7f8188fa596ff261412108e4ee8d62 |
|
MD5 | f344b6cbbf2dc4a1b148568756b2a469 |
|
BLAKE2b-256 | bf200ecfc6ac4c7f478e0fdfb7ed440a54ce27a6df2148da4f1f39e56a162c16 |