A lightweight machine learning toolkit for researchers.
Project description
NNCore
A lightweight machine learning toolkit for researchers.
NNCore is a library that provides common functionalities for Machine Learning and Deep Learning researchers. This project aims at helping users focus more on science but not engineering during research. The essential functionalities include but are not limited to:
- Universal I/O APIs
- Efficient implementations of layers and losses that are not included in PyTorch
- Extended methods for distributed training
- More powerful data loading techniques
- An engine that can take over the whole training and testing process, with all the baby-sitting works (stage control, optimizer configuration, lr scheduling, checkpoint management, metrics & tensorboard writing, etc.) done automatically. See an example for details.
Note that some methods in the library work with PyTorch 2.0+, but the installation of PyTorch is not necessary.
Continuous Integration
Platform / Python Version | 3.9 | 3.10 | 3.11 | 3.12 |
---|---|---|---|---|
Ubuntu 20.04 | ||||
Ubuntu 22.04 | ||||
macOS 12.x | ||||
macOS 13.x | ||||
Windows Server 2022 |
Installation
You may install nncore directly from PyPI
pip install nncore
or manually from source
git clone https://github.com/yeliudev/nncore.git
cd nncore
pip install -e .
Getting Started
Please refer to our documentation for how to incorporate nncore into your projects.
Acknowledgements
This library is licensed under the MIT License. Part of the code in this project is modified from mmcv and fvcore with many thanks to the original authors.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file nncore-0.4.2.tar.gz
.
File metadata
- Download URL: nncore-0.4.2.tar.gz
- Upload date:
- Size: 79.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d486d23d5951b0843b6835b08ea9ff3a0f3309ecf623f944a46e8b4fc2b770ce |
|
MD5 | 0fa8bc712b51951e25bca1482a2dba0c |
|
BLAKE2b-256 | 43e7c10d8362b4e5560a2ca21e3a05f9ba3deca65c64ea61f28f4dfd288eae5c |