Skip to main content

A lightweight PyTorch code wrapper for ML researchers

Project description

NNCore

A lightweight PyTorch code wrapper for ML 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 researches. 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 1.9+, but the installation of PyTorch is not necessary.

Continuous Integration

Platform / Python Version 3.7 3.8 3.9 3.10
Ubuntu 18.04 Build Build Build Build
Ubuntu 20.04 Build Build Build Build
macOS 10.15 Build Build Build Build
macOS 11.6 Build Build Build Build
Windows Server 2022 Build Build Build Build

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 incorperate 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nncore-0.3.5.tar.gz (69.1 kB view details)

Uploaded Source

File details

Details for the file nncore-0.3.5.tar.gz.

File metadata

  • Download URL: nncore-0.3.5.tar.gz
  • Upload date:
  • Size: 69.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for nncore-0.3.5.tar.gz
Algorithm Hash digest
SHA256 ad7e242e3fdd35d6794a3a4917bc87cfb56aa7d96f15a9e5601fab084f39d393
MD5 73db2781d87f7474f94351881be06757
BLAKE2b-256 ab954fc5e93422ae24bb7cf58bf11fcd85b4694e984f2c09c7c46aeb90e6d1b5

See more details on using hashes here.

Supported by

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