Crates.io | gym |
lib.rs | gym |
version | 2.2.1 |
source | src |
created_at | 2019-08-21 00:39:26.119717 |
updated_at | 2020-02-10 12:23:07.915344 |
description | Open AI environments bindings for Rust |
homepage | |
repository | https://github.com/MrRobb/gym-rs |
max_upload_size | |
id | 158502 |
size | 35,556 |
OpenAI gym binding for Rust.
Actively maintained! If you have any problem just create an issue.
Just install the requierements layed out in the requirements.txt.
If you don't have python installed, go here
curl "https://raw.githubusercontent.com/MrRobb/gym-rs/master/requirements.txt" > requirements.txt
pip3 install -r requirements.txt
Once everything is installed, just add this crate to your your Rust project.
# Cargo.toml
[dependencies]
gym = "*"
Then, to use it just do:
// main.rs
extern crate gym;
/* ... */
Once you have installed correctly the library, the only thing left is to test if its working ok. To do so, you just have to execute the following commands:
If you don't have Rust installed go here
git clone https://github.com/MrRobb/gym-rs.git
cd gym-rs
pip3 install -r requirements.txt
cargo run --example basic
BTC address: 3KRM66geiaXWzqs5hRb35dGiQEQAa6JTYU