Skip to main content

A deep-learning package contains a set of well-organized deep-neural networks&tools.

Project description

pip install zhenglin

@ Author: zhenglin @version: 2.0

This package contains some off-the-shelves deep-learning networks implemented with .

use

pip install zhenglin

to install this package.

Updates

  • Apr 18 2025: Version: 2.0. Add init version of supercv(cv) class, a universal wrapper for cv2, PIL.Image and Torch.tensor.
  • Nov 13 2024: Version: 1.21. Package overhaul. Add huggingface accelerate, pytorch-lightning, and pytorch-ddp support.
  • Oct 26 2023: Version: 1.20.19 Add TransUNet and SwinUNet
  • Aug 13 2023: Version: 1.18.15 Add basic quantization support.

Introduction

zhenglin package was motivated by eriklindernoren and his repo which provides many grab-and-run implementation of DL variants. It is the level ground for zhenglin's deep learning projects.

Specifically, this package provides

  • universal structure-template:
    • zhenglin.accelerate.train
    • zhenglin.lightning.train
    • zhenglin.pytorch.train
  • loss functions and metrics
    • zhenglin.utils.loss
    • zhenglin.utils.metrics
  • utils
    • zhenglin.utils.utils
  • 20 modular deep-learning networks
    • zhenglin.networks.*

Networks(Alphabetically):

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

zhenglin-2.0.tar.gz (161.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zhenglin-2.0-py3-none-any.whl (262.3 kB view details)

Uploaded Python 3

File details

Details for the file zhenglin-2.0.tar.gz.

File metadata

  • Download URL: zhenglin-2.0.tar.gz
  • Upload date:
  • Size: 161.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for zhenglin-2.0.tar.gz
Algorithm Hash digest
SHA256 4eee924b828990f77b25bae4a994da2abe63a333b6b2406b8347795ee0c4f9b5
MD5 79ee4ddf161f375810ad87d6831a8bcc
BLAKE2b-256 335a8accbabc778e4125bddf88c2613c4e796ff2102e7626e8838feeef02cb0f

See more details on using hashes here.

File details

Details for the file zhenglin-2.0-py3-none-any.whl.

File metadata

  • Download URL: zhenglin-2.0-py3-none-any.whl
  • Upload date:
  • Size: 262.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for zhenglin-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b3f049389a7f8a0d8b10d3d0d5e410bf43c38faf216e16c9719b99d3fa228d7
MD5 3faed316905d3c795895b06b39870016
BLAKE2b-256 82587fc3ede9dd3196dc013af3223dcdb882c0f2714a43fff98f8345c246e3b1

See more details on using hashes here.

Supported by

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