serend1p1ty/core-pytorch-utils
serend1p1ty/core-pytorch-utils has 226 GitHub stars and 25 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-19 13:59 UTC. Last push 2024-05-02.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 기록 수집 중
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
Yet another PyTorch Trainer and some core components for deep learning.
머신러닝README.md
Original
Core PyTorch Utils (CPU) [Completed :tada:]
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.
Updates
[2023/10/29]: Now CPU supports iteration-based training, checkpointing and evaluation!
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.