Core PyTorch Utils (CPU)
This package is a light-weight core library that provides the most common and essential functionalities shared in various deep learning tasks:
Trainer: does tedious training logic for you.LRWarmupScheduler: wraps all standard PyTorch LR scheduler to support warmup.ConfigArgumentParser: provides an argument parser that supports loading a YAML configuration file.- ......
You can find a brief Chinese introduction at zhihu.
Installation
From PyPI.
pip install core-pytorch-utils
Or from source.
git clone https://github.com/serend1p1ty/core-pytorch-utils.git
cd core-pytorch-utils
pip install -r requirements.txt
pip install -v -e .
Getting Started
In examples/ folder, we show how to use our Trainer to train a CNN on MINIST.
It is strongly recommended that you run this code before using the CPU library.
Advanced
Learn more from our documentaion.
Contributing
Pull request is welcomed! Before submitting a PR, DO NOT forget to run ./dev/linter.sh that provides syntax checking and code style optimation.
License
CPU is released under the MIT License.
Acknowledgments
We refered mmcv, detectron2 and pytorch-image-models when develping CPU.
Metadata
Release files for core-pytorch-utils 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| core-pytorch-utils-1.0.4.tar.gz | 28.6 kB | Without provenance | Details for core-pytorch-utils-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| core_pytorch_utils-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for core_pytorch_utils-1.0.4-py3-none-any.whl |
Total release size: 63.6 kB
Release files / core-pytorch-utils-1.0.4.tar.gz
| Download URL | core-pytorch-utils-1.0.4.tar.gz |
|---|---|
| Size | 28.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e85c5982c43494d3bb6754f933dc650a82b7b576f1cca96f422473222eae710b
|
|
BLAKE2b-256 checksum How to use checksums |
a890b3be620814f239377e4ea75e77a9485604790064bbfbd41639d35e104809
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.0
|
Release files / core_pytorch_utils-1.0.4-py3-none-any.whl
| Download URL | core_pytorch_utils-1.0.4-py3-none-any.whl |
|---|---|
| Size | 35.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f9daafed1cd22c149d18eb00691cc6c09fdb2761c96d5c4678d3cb197af3ce1
|
|
BLAKE2b-256 checksum How to use checksums |
b27ac1fcf7da0d43dfaebc602fd2fa765027a3614c8c2d2e46a0132ce48ecf79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.0
|
Security for core-pytorch-utils 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.