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.6+, but the installation of PyTorch is not necessary.

Continuous Integration

Platform / Python Version 3.6 3.7 3.8 3.9
Ubuntu 16.04 Build Build Build Build
Ubuntu 18.04 Build Build Build Build
Ubuntu 20.04 Build Build Build Build
macOS 10.15 Build Build Build Build
Windows 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.0.tar.gz (54.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: nncore-0.3.0.tar.gz
  • Upload date:
  • Size: 54.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for nncore-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f11b9c6ce9ee85124f07fb9feb3ce5c89cbfd68deceebb0f25517eef9ab6ce07
MD5 dc94caadfe1d5b07c0d11a3a5024ffc1
BLAKE2b-256 85596db086f414984507d7d722be2dd718619e21799b0fffa5cac82476dcbb50

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