Skip to main content

A high level library on top of machine learning frameworks

Project description

## Torchlite

[![PyPI version](https://badge.fury.io/py/torchlite.svg)](https://badge.fury.io/py/torchlite)

Torchlite is a high level library on top of popular machine learning frameworks such as pandas, 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. Then install pytorch and torchvision from [here](http://pytorch.org/) if you want to use the torchlite.torch package and/or head over to the [Tensorflow install page](https://www.tensorflow.org/install/) 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](https://github.com/lanpa/tensorboard-pytorch) 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](https://packaging.python.org/tutorials/distributing-packages/#id76) 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.8.0.tar.gz (35.1 kB view details)

Uploaded Source

Built Distribution

torchlite-0.1.8.0-py3-none-any.whl (47.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for torchlite-0.1.8.0.tar.gz
Algorithm Hash digest
SHA256 3d8233b57f7d7cff7190fcb680cccfe8c08f36df501370bfc878c3248b8a2d7a
MD5 8660b26a09e1e56c156c4a8042b9da57
BLAKE2b-256 1b3ebfeae3669e04fa4904606923478d041dcf82664ae56a707f3da6d70c678c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torchlite-0.1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4a261664b042c0eff456985a82243273a890a17d784f91546507e69cba72820
MD5 d143736e84a21a6e658bfa5eae1afd7b
BLAKE2b-256 d19139316f42780c1e8f46a04d1a78077ccb1bc72b1d742abd1d3b9849696115

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