Installation

Install on Linux and OSX

Developers

First, make sure you have Pytorch installed.

Then, clone this repository with:

$ git clone https://github.com/nasimrahaman/inferno.git

Next, install the dependencies.

$ cd inferno
$ pip install -r requirements.txt

If you use python from the shell:

Finally, add inferno to your PYTHONPATH with:

source add2path.sh

If you use PyCharm:

Refer to this QA about setting up paths with Pycharm.

Installation via PyPi / pip / setup.py(Experimental)

You need to install pytorch via pip before installing inferno. Follow the pytorch installation guide.

Stable release

To install inferno, run this command in your terminal:

$ pip install inferno-pytorch

This is the preferred method to install inferno, as it will always install the most recent stable release.

If you don’t have pip installed, this Python installation guide can guide you through the process.

From sources

First, make sure you have Pytorch installed. The sources for inferno can be downloaded from the Github repo. You can either clone the public repository:

$ git clone git://github.com/nasimrahaman/inferno

Or download the tarball:

$ curl  -OL https://github.com/nasimrahaman/inferno/tarball/master

Once you have a copy of the source, you can install it with:

$ python setup.py install