summaryrefslogtreecommitdiff
path: root/candle-examples/examples/reinforcement-learning/gym_env.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove some unused macros. (#2618)Laurent Mazare2024-11-151-1/+0
| | | | | * Remove some unused macros. * More unused fixes.
* Update for pyo3 0.21. (#1985)Laurent Mazare2024-04-011-6/+8
| | | | | | | | | | | * Update for pyo3 0.21. * Also adapt the RL example. * Fix for the pyo3-onnx bindings... * Print details on failures. * Revert pyi.
* Add DDPG and fix Gym wrapper (#1207)Travis Hammond2023-10-281-17/+21
| | | | | | | | | | | | | | | | | | | | | | * Fix Gym wrapper - It was returning things in the wrong order - Gym now differentiates between terminated and truncated * Add DDPG * Apply fixes * Remove Result annotations * Also remove Vec annotation * rustfmt * Various small improvements (avoid cloning, mutability, get clippy to pass, ...) --------- Co-authored-by: Travis Hammond <travis.hammond@alexanderthamm.com> Co-authored-by: Laurent <laurent.mazare@gmail.com>
* Add some reinforcement learning example. (#1090)Laurent Mazare2023-10-141-0/+108
* Add some reinforcement learning example. * Python initialization. * Get the example to run. * Vectorized gym envs for the atari wrappers. * Get some simulation loop to run.