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.6 3.7 3.8 3.9
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.4.tar.gz (68.9 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for nncore-0.3.4.tar.gz
Algorithm Hash digest
SHA256 def8ee5f0f241577c58f65d360349ce4dd49fc7c231065e43f22f21efbd9f5f5
MD5 56896491e9a4371dc82dad074bc48e61
BLAKE2b-256 55d7411926846be9438d947724c9679e05dd01511ba5f2ce1bf7c6c4567db001

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