Skip to main content

TorchSUL

This package is created for a better experience with Pytorch.

Quick start

Quick start

References

Quantization

Model Flags

Why making this

  • I dont want to write in_channels when building models. It's wired that I should care about input when I only want to write forward flows.

  • It inlines with my TF wrap-ups so I can easily move my old code and model structures to the current package.

Installation

You need to install pytorch>=1.10, and python>=3.7

Good, then just

pip install --upgrade torchsul

Patch Notes

2023-xx-xx: Upgrade to 0.3.0

  1. Refactor the codes. Now the structure becomes clearer and more extendable

  2. Almost supports type hinting

  3. (Base) build_forward is removed

  4. (Tools) Add more tools

Projects

You can find some examples in the "example" folder. It's almost like a trash bin, and some of the functions & modules may be no longer supported in the current version.

  • ArcFace (Deng, Jiankang, et al. "Arcface: Additive angular margin loss for deep face recognition." arXiv preprint arXiv:1801.07698 (2018))

  • HR Net (Sun, Ke, et al. "Deep High-Resolution Representation Learning for Human Pose Estimation." arXiv preprint arXiv:1902.09212 (2019))

  • AutoDeepLab (Liu, Chenxi, et al. "Auto-deeplab: Hierarchical neural architecture search for semantic image segmentation." Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2019)

  • Knowledge distillation (Hinton, Geoffrey, Oriol Vinyals, and Jeff Dean. "Distilling the knowledge in a neural network." arXiv preprint arXiv:1503.02531 (2015))

  • 3DCNN (Ji, Shuiwang, et al. "3D convolutional neural networks for human action recognition." IEEE transactions on pattern analysis and machine intelligence 35.1 (2012): 221-231)

  • Temporal Convolutional Network (Not the same) (Pavllo, Dario, et al. "3D human pose estimation in video with temporal convolutions and semi-supervised training." Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2019)

  • RetinaFace for face detection (Deng, Jiankang, et al. "Retinaface: Single-stage dense face localisation in the wild." arXiv preprint arXiv:1905.00641 (2019))

  • Fractal Net (Larsson, Gustav, Michael Maire, and Gregory Shakhnarovich. "Fractalnet: Ultra-deep neural networks without residuals." arXiv preprint arXiv:1605.07648 (2016))

  • Polarized Self Attention (Liu, Huajun, et al. "Polarized self-attention: Towards high-quality pixel-wise regression." arXiv preprint arXiv:2107.00782 (2021))

  • Some 2D/3D pose estimation works

  • Some network structures

  • Some cuda kernels

Release files for TorchSUL 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for TorchSUL 0.3.1
File Size Uploaded
TorchSUL-0.3.1.tar.gz 26.2 kB Details

Release files / TorchSUL-0.3.1.tar.gz

Download URL TorchSUL-0.3.1.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4d16732c9dd3efe52ec3cac99ea12af6ec5288c08b20faadaf89996fc12cb07c
BLAKE2b-256 checksum
How to use checksums
6d280c03e2f6a00774de0de9002b904bc0b97bda84b90692ad5cdf4056f97b37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 release file

0.3.0

1 release file

0.2.10

1 release file

0.2.9

1 release file

0.2.8

1 release file

0.2.7

1 release file

0.2.6

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.31

1 release file

0.1.30

1 release file

0.1.29

2 release files

0.1.28

1 release file

0.1.27

1 release file

0.1.26

1 release file

0.1.25

2 release files

0.1.24

2 release files

0.1.23

2 release files

0.1.22

2 release files

0.1.20

2 release files

0.1.18

2 release files

0.1.17

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page