+
Skip to content

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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载