Git Product home page Git Product logo

torchlite's Introduction

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

torchlite's People

Contributors

ekami avatar generall avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.