Skip to content
/ pytrain Public

๐Ÿšƒ Automated task/test framework for writing differentiable software.

License

Notifications You must be signed in to change notification settings

alexjc/pytrain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

63 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

docs/logo.png

https://img.shields.io/badge/python-3.6%2B-blue

What It Does. Like pytest supports you in writing better Python code through automated testing, pytrain helps you build differentiable programs by making it easy to create tasks and use them to optimize your programs.

How It Works. You write differentiable components (e.g. using PyTorch) along with tasks they are expected to handle, and pytrain will optimize all the parameters involved and save them to disk as an automated process.

Installation

# Create a base environment
conda create -n myenv python=3.6
conda install pytorch -c pytorch

# Either install latest release 0.0.x, see GitHub for latest version number:
pip install https://github.com/alexjc/pytrain/releases/download/v0.0.x/pytrain-0.0.x.tar.gz

# Or clone the repository online:
git clone https://github.com/alexjc/pytrain.git

Usage

# Either launch from installed script:
pytrain -h
pytrain --path examples/

# Or run from current directory:
python -m pytrain -h
python -m pytrain --path examples/

Examples

See the #docs/ folder or scripts in #examples/ to get up and running.

NOTE: This version 0.0.x is an early prototype for the PyTorch Hackathon 2019. Feedback and suggestions are the most welcome at this stage!

docs/console.gif

About

๐Ÿšƒ Automated task/test framework for writing differentiable software.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages