Skip to content

Commit 306a864

Browse files
authored
Add install info to README (#20)
1 parent 567ad70 commit 306a864

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![status](http://www.repostatus.org/badges/latest/concept.svg)](http://www.repostatus.org/#concept)
44
[![ci](https://github.com/dirmeier/surjectors/actions/workflows/ci.yaml/badge.svg)](https://github.com/dirmeier/surjectors/actions/workflows/ci.yaml)
5+
[![version](https://img.shields.io/pypi/v/surjectors.svg?colorB=black&style=flat)](https://pypi.org/project/surjectors/)
56

67
> Surjection layers for density estimation with normalizing flows
78
@@ -19,7 +20,11 @@ You can find several self-contained examples on how to use the algorithms in `ex
1920
Make sure to have a working `JAX` installation. Depending whether you want to use CPU/GPU/TPU,
2021
please follow [these instructions](https://github.com/google/jax#installation).
2122

22-
You can install
23+
To install the package from PyPI, call:
24+
25+
```bash
26+
pip install surjectors
27+
```
2328

2429
To install the latest GitHub <RELEASE>, just call the following on the command line:
2530

surjectors/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
surjectors: Surjection layers for density estimation with normalizing flows
33
"""
44

5-
__version__ = "0.2.3"
5+
__version__ = "0.2.4"
66

77
from surjectors.bijectors.lu_linear import LULinear
88
from surjectors.bijectors.masked_autoregressive import MaskedAutoregressive

0 commit comments

Comments
 (0)