Skip to main content

Pytorch project template and related tools

Project description

https://badge.fury.io/py/pytorch-lantern.svg https://img.shields.io/pypi/pyversions/pytorch-lantern.svg https://readthedocs.org/projects/pytorch-lantern/badge/?version=latest https://img.shields.io/pypi/l/pytorch-lantern.svg https://img.shields.io/badge/code%20style-black-000000.svg

Lantern contains our process of bringing a project to fruition as efficiently as possible. This is subject to change as we iterate and improve. This package implements tools and missing features to help bridge the gap between frameworks and libraries that we utilize.

The main packages and tools that we build around are:

See the documentation for more information.

Create new project with template

Install cookiecutter and poetry:

pip install cookiecutter
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python

Setup project:

cookiecutter https://github.com/aiwizo/pytorch-lantern-template.git
cd <new-project>
poetry install

You can now train the placeholder model and inspect the results:

guild run prepare
guild run train
guild tensorboard

Use lantern without templates

Install lantern from pypi using pip or poetry:

poetry add pytorch-lantern[training]
pip install pytorch-lantern[training]

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

pytorch_lantern-0.12.12.tar.gz (14.9 kB view hashes)

Uploaded Source

Built Distribution

pytorch_lantern-0.12.12-py3-none-any.whl (18.9 kB view hashes)

Uploaded Python 3

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