Skip to main content

A high level library on top of machine learning frameworks

Project description

Torchlite

PyPI version

Torchlite is a high level library on top of popular machine learning frameworks such as sklearn, Pytorch and Tensorflow. It gives a high layer abstraction of repetitive code used in machine learning for day-to-day data science tasks.

Installation

pip install torchlite

or if you want to run this lib directly to have access to the examples clone this repository and run:

pip install -r requirements.txt

to install the required dependencies. By default Pytorch 0.4.0+ and Tensorflow-GPU 1.8.0+ are installed along with this library but it's recommended to install them from source from here if you want to use the torchlite.torch package and/or head over to the Tensorflow install page if you want to use the torchlite.tf package.

Documentation

For now the library has no complete documentation but you can quickly get to know how it works by looking at the examples in the examples-* folders. This library is still in alpha and few APIs may change in the future. The only things which will evolve at the same pace as the library are the examples, they are meant to always be up to date with the library.

Few examples will generates folders/files such as saved models or tensorboard logs. To visualize the tensorboard logs download Tensorflow's tensorboard as well as Pytorch's tensorboard if you're interested by the torchlite.torch package. Then execute:

tensorboard --logdir=./tensorboard

Packaging the project for Pypi deploy

pip install twine
pip install wheel
python setup.py sdist
python setup.py bdist_wheel

Create a pypi account and create $HOME/.pypirc with:

[pypi]
username = <username>
password = <password>

Then upload the packages with:

twine upload dist/*

Or just:

pypi_deploy.sh

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

torchlite-0.1.9.0.tar.gz (35.3 kB view details)

Uploaded Source

Built Distribution

torchlite-0.1.9.0-py3-none-any.whl (45.3 kB view details)

Uploaded Python 3

File details

Details for the file torchlite-0.1.9.0.tar.gz.

File metadata

  • Download URL: torchlite-0.1.9.0.tar.gz
  • Upload date:
  • Size: 35.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for torchlite-0.1.9.0.tar.gz
Algorithm Hash digest
SHA256 92a3c7805c26fb04d3fd6c069b34755b7df3898722fb84188d3199a9b3ea46cf
MD5 4fa6fc2b500a10036310d989cc46f0b4
BLAKE2b-256 091e389238e41b16c6729d9dbcc618d6d9fad2b636827ffb63c2a5f7304ece19

See more details on using hashes here.

File details

Details for the file torchlite-0.1.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for torchlite-0.1.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31b806fa896d8629c042867f19a1d46d698b7e11008696dee72406b1a9a063ce
MD5 0dd38f0008e847200e093ecc21bbad56
BLAKE2b-256 f0bf872df36800c11b1861a84f61fe98e98005c7712695e9e454e0753c11bf99

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