Skip to main content

A toolbox for common deep learning procedures

Project description

# A Toolbox for Common Deep Learning Procedures.

## Introduction

Whenever I do a project, I always have to re-implement everything from scratch. At first, this is helpful because it requires me to really learn the concepts and procedures by heart. However, these chores quickly become irritating and annoying. So I start to create this repository, to store all the useful pieces of code. <br /> This soon extends to the stuff that I see in papers and want to implement. Finally, as I was implementing some of the more difficult stuff (e.g the callbacks) the awesome fastai course comes out, so I decide to use this opportunity to follow along the lessons, adapting the codes (i.e the notebooks) and the library to suit my existing codebase.

## What can you find here?

I organize the codes into core elements (callbacks, components, losses, metrics, optim, transforms, etc.), and applications (vision, sequence, etc.), each having its own elements directory. ## How do I use the codes?

To use the codes here, simply clone this repository and add it to your favourite project. Then do a simple import call, and have fun deep learning! <br /> Alternatively, you can just select a piece of code that you need and copy it to your project. No need to ask for permission (unless it’s something that’s not originally mine either, such as the codes adapted from fastai library courses). However, do be aware that the one function might requires another function from another directory to work. <br /> Note that I have released the codes as a package on PyPI, but right now the everything is still highly experimental and volatile. Nevertheless, you can install it with: ` pip install nn-toolbox `

## Some Examples:

I am currently doing some projects with this toolbox. Some of them are still work in progress, but you can visit my [implementation](https://github.com/nhatsmrt/torch-styletransfer) of arbitrary style transfer for some example usage, or look at some [tests](https://github.com/nhatsmrt/nn-toolbox/tree/experimental/nntoolbox/test).

## Documentation

Please visit https://nhatsmrt.github.io/nn-toolbox/

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

nn-toolbox-0.0.3.tar.gz (80.8 kB view details)

Uploaded Source

Built Distribution

nn_toolbox-0.0.3-py3-none-any.whl (132.9 kB view details)

Uploaded Python 3

File details

Details for the file nn-toolbox-0.0.3.tar.gz.

File metadata

  • Download URL: nn-toolbox-0.0.3.tar.gz
  • Upload date:
  • Size: 80.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for nn-toolbox-0.0.3.tar.gz
Algorithm Hash digest
SHA256 3c4e935361539b715363edd864a29b6c77087fad88c4f915e4ed04e519ec9657
MD5 d7c7f93aef45f13bc28cfd0d23a2d6e8
BLAKE2b-256 1221642fc2bdf7c7cb5453f6afac086095e6b0ea824e2bee6f30a7a6e9a978eb

See more details on using hashes here.

File details

Details for the file nn_toolbox-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: nn_toolbox-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 132.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for nn_toolbox-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f28c1a2a3d87c7d61bfd429dc7ba99bdde4fe2a2539c60db0a338a3baa7e1f81
MD5 5774e5df6827cea60e4e1fdc749f4fe9
BLAKE2b-256 b9c627c08ddfd05cd73294a650ee2208f81876efbf46b2e8776920db776fc6f2

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