A PyTorch reinforcement learning library for generalizable and reproducible implementations.
Project description
GenRL
Installation
We suggest creating a conda virtual environment before installing our package.
conda create -n JgRL_env python=3.6 pip
conda activate JgRL_env
From Source (Recommended)
git clone https://github.com/SforAiDl/genrl.git
cd genrl
pip install -r requirements.txt
python setup.py install
Using Pip
pip install genrl # for most recent stable release
pip install genrl==0.0.1dev2 # for most recent development release
Usage
from genrl import PPO1
import gym
env = gym.make('CartPole-v0')
agent = PPO1(network_type='mlp', env=env, epochs=500, render = True, tensorboard_log='./runs/')
agent.learn()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
genrl-0.0.1.tar.gz
(30.0 kB
view hashes)
Built Distributions
genrl-0.0.1-py3.7.egg
(270.8 kB
view hashes)
genrl-0.0.1-py3.6.egg
(724.6 kB
view hashes)
genrl-0.0.1-py3-none-any.whl
(50.5 kB
view hashes)
genrl-0.0.1-py2.py3-none-any.whl
(291.3 kB
view hashes)
Close
Hashes for genrl-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc37870e5370906b99d66c6e2b1809e2afcfcea8b86cbbb68168fc4d839f52e0 |
|
MD5 | 267d58e320606172bbffe4754a815427 |
|
BLAKE2b-256 | 715993d76329e205d900a5438af4604ae59ead60a7e4bbd5f95c4ce5838d3605 |