Skip to content

Commit

Permalink
readme fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hhsecond committed Jul 18, 2019
1 parent 5cf8f1e commit ba73bdf
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# RedisAI Python Client


## Installing
## Installation

1. Install Redis 5.0 or above

Expand All @@ -20,14 +20,19 @@
$ pip install redisai
```

[RedisAI example repo](https://github.com/RedisAI/redisai-examples) shows few examples made using redisai-py under `python_client` section. Checkout [mlut](https://github.com/hhsecond/mlut) for convenient functions those might help in converting models (sparkml, sklearn, xgboost to ONNX), serializing models to disk, loading it back to redisai-py etc.
4. Install serialization-deserialization utility (optional)
```sh
$ pip install ml2rt
```

[RedisAI example repo](https://github.com/RedisAI/redisai-examples) shows few examples made using redisai-py under `python_client` section. Checkout [ml2rt](https://github.com/hhsecond/ml2rt) for convenient functions those might help in converting models (sparkml, sklearn, xgboost to ONNX), serializing models to disk, loading it back to redisai-py etc.

For a quick walk through, checkout this example

```python
from redisai import Client
from redisai import Tensor, BlobTensor, DType, Device, Backend
import mlut
import ml2rt

client = Client()
client.tensorset('x', Tensor(DType.float, [2], [2, 3]))
Expand Down

0 comments on commit ba73bdf

Please sign in to comment.