Skip to main content

A port of the Keras API to PyTorch

Project description

Olympic PyTorch

Olympic implements a Keras-like API for PyTorch.

The goal of Olympic is to combine the joy of Pytorch's dynamic graph execution with the joy of Keras's high level abstractions for training. Concretely, Olympic contains:

  1. The olympic.fit() function. This implements a very similar API to Keras's model.fit and model.fit_generator methods in a more functional and less object-oriented fashion and spares you the effort of "hand-rolling" your own training loop.
  2. Callback objects that perform functionality common to most deep learning training pipelines such as learning rate scheduling, model checkpointing and csv logging. These integrate into olympic.fit() and spare you the effort of writing boilerplate code.
  3. Some helpful utility functions such as common metrics and some convenience layers from Keras that are missing in PyTorch.

Documentation is available here

This package is available on PyPi.

pip install olympic

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

olympic-0.1.4-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file olympic-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: olympic-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

File hashes

Hashes for olympic-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a0a66c05d0cd03ed08814081d4b2946e34cbb23a8141c7cecb2cf4935f638591
MD5 5cff84b9a2b85f020db90a5ce6769c77
BLAKE2b-256 f44d1bc48f25b3ca3b8446cd3ea19ec9d0b824edef85878f3a7c2a03a95716d1

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