Skip to main content

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.9

To install the latest, but unstable version:

pip install git+https://github.com/blurry-mood/Deep-Learning-Blocks

What's available:

Networks

  • ConvMixer
  • U-Net
  • ICT-Net

Layers

  • ConvMixer Layer
  • Flip-Invariant Conv2d
  • Squeeze-Excitation Block
  • Dense 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


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.13.tar.gz (21.9 kB view details)

Uploaded Source

Built Distribution

deepblocks-0.1.13-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

Details for the file deepblocks-0.1.13.tar.gz.

File metadata

  • Download URL: deepblocks-0.1.13.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for deepblocks-0.1.13.tar.gz
Algorithm Hash digest
SHA256 cf48cd23a269fed229042d2762bfde00c6ef6b17c5e0fc08dbdc534685b08dd6
MD5 9f0a7eeaf8fc42548066e580e4047167
BLAKE2b-256 a64942de9dee6ff77ab77826f8096317cb93125149c61da8a4b9435ae5eb6ce3

See more details on using hashes here.

File details

Details for the file deepblocks-0.1.13-py3-none-any.whl.

File metadata

  • Download URL: deepblocks-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 31.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for deepblocks-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 c8cb93051f1a5a2efcadba3777805267c0183a93a2ee540fff0b844721c23825
MD5 36e872a0599a03eb3575a2e6d8c599c0
BLAKE2b-256 b7f719bc1e4bd99888148e2ad9854065f5be105cbc25b869f65cb343e40b6452

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page