A high level library on top of machine learning frameworks
Project description
Torchlite
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
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
File details
Details for the file torchlite-0.2.0.0.tar.gz
.
File metadata
- Download URL: torchlite-0.2.0.0.tar.gz
- Upload date:
- Size: 36.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 225dd7340b6ba685f14c4bddb9314f4d02337808d67d7f1bfe832192aed3c5fc |
|
MD5 | 4227bb4f66215dce5effb77ad1984ef1 |
|
BLAKE2b-256 | 8204f624a35d7690f81e35f8e3b4b170604ded3f00fe6651d3b893702ffd7bff |
File details
Details for the file torchlite-0.2.0.0-py3-none-any.whl
.
File metadata
- Download URL: torchlite-0.2.0.0-py3-none-any.whl
- Upload date:
- Size: 46.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86802642d0343820c042f36f8996be253f274a16609b069a8f3118e5dfb9bcac |
|
MD5 | dbb0f8922e4ec0328eb6b89cc740f37b |
|
BLAKE2b-256 | 82dcfb12020b53808361b38432056989bb0a00226d3a9c64d9348907361b64fc |