summaryrefslogtreecommitdiff
path: root/candle-examples/examples/reinforcement-learning/README.md
blob: 2d3d14b0a0a5fe22fae4a73c0b43131fe892c094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# candle-reinforcement-learning

Reinforcement Learning examples for candle.

This has been tested with `gymnasium` version `0.29.1`. You can install the
Python package with:
```bash
pip install "gymnasium[accept-rom-license]"
```

In order to run the example, use the following command. Note the additional
`--package` flag to ensure that there is no conflict with the `candle-pyo3`
crate.
```bash
cargo run --example reinforcement-learning --features=pyo3 --package candle-examples
```