Home

Awesome

<p align="center"> <img src="https://raw.githubusercontent.com/yeliudev/nncore/main/.github/logo.svg"> </p> <h1 align="center">NNCore</h1> <p align="center"> <strong>A lightweight machine learning toolkit for researchers.</strong> </p> <p align="center"> <a href="https://pypi.org/project/nncore"><img src="https://badgen.net/pypi/v/nncore?label=PyPI&cache=300"></a> <a href="https://pypistats.org/packages/nncore"><img src="https://badgen.net/pypi/dm/nncore?label=Downloads&color=cyan&cache=300"></a> <a href="https://github.com/yeliudev/nncore/blob/main/LICENSE"><img src="https://badgen.net/github/license/yeliudev/nncore?label=License&cache=300"></a> <a href="https://coveralls.io/github/yeliudev/nncore?branch=main"><img src="https://badgen.net/coveralls/c/github/yeliudev/nncore/main?label=Coverage&cache=300"></a> <a href="https://www.codacy.com/gh/yeliudev/nncore/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=yeliudev/nncore&amp;utm_campaign=Badge_Grade"><img src="https://badgen.net/codacy/grade/93d963e3247e43eb86d282cffacf0125?label=Code%20Quality&cache=300"></a> </p>

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:

Note that some methods in the library work with PyTorch 2.0+, but the installation of PyTorch is not necessary.

Continuous Integration

Platform / Python Version3.93.103.113.12
Ubuntu 20.04BuildBuildBuildBuild
Ubuntu 22.04BuildBuildBuildBuild
macOS 12.xBuildBuildBuildBuild
macOS 13.xBuildBuildBuildBuild
Windows Server 2022BuildBuildBuildBuild

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.