A high level library for Pytorch
Project description
## Torchlite
[![PyPI version](https://badge.fury.io/py/torchlite.svg)](https://badge.fury.io/py/torchlite)
Torchlite is a high level library meant to be what Keras is for Tensorflow and Theano. It is not meant to micmic the Keras API at 100% but instead to get the best of both worlds (Pytorch and Keras API). For instance if you used Keras train/validation generators, in Torchlite you would use Pytorch [Dataset](http://pytorch.org/docs/master/data.html#torch.utils.data.Dataset) and [DataLoader](http://pytorch.org/docs/master/data.html#torch.utils.data.DataLoader).
## 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for torchlite-0.1.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 232057d21b81c63e3a2b778aebd75ad2ef1f27c43ba4d33529415a8ce0265d96 |
|
MD5 | 00910060410ebfbd8f90e130645ff679 |
|
BLAKE2b-256 | 8d40d93e84386f56607bd4dff785d5e50b05caeae65a2c602bf1b3611a3b1a40 |