未验证 提交 3b97394e 编写于 作者: H Hongsheng Zeng 提交者: GitHub

add A2C benchmark; add more information in PyPI homepage (#70)

* add A2C benchmark; add more information in PyPI homepage

* filter picture in PyPI homepage
上级 efa5a8c2
......@@ -17,7 +17,7 @@ English | [简体中文](./README.cn.md)
# Abstractions
<img src=".github/abstractions.png" alt="abstractions" width="400"/>
<img src=".github/abstractions.png" alt="abstractions" width="400"/>
PARL aims to build an agent for training algorithms to perform complex tasks.
The main abstractions introduced by PARL that are used to build an agent recursively are the following:
......@@ -123,6 +123,6 @@ pip install parl
- [GA3C](examples/GA3C/)
- [Winning Solution for NIPS2018: AI for Prosthetics Challenge](examples/NeurIPS2018-AI-for-Prosthetics-Challenge/)
<img src=".github/NeurlIPS2018.gif" width = "300" height ="200" alt="NeurlIPS2018"/> <img src=".github/Half-Cheetah.gif" width = "300" height ="200" alt="Half-Cheetah"/> <img src=".github/Breakout.gif" width = "200" height ="200" alt="Breakout"/>
<img src=".github/NeurlIPS2018.gif" width = "300" height ="200" alt="NeurlIPS2018"/> <img src=".github/Half-Cheetah.gif" width = "300" height ="200" alt="Half-Cheetah"/> <img src=".github/Breakout.gif" width = "200" height ="200" alt="Breakout"/>
<br>
<img src=".github/Aircraft.gif" width = "808" height ="300" alt="NeurlIPS2018"/>
......@@ -9,6 +9,8 @@ Please see [here](https://gym.openai.com/envs/#atari) to know more about Atari g
### Benchmark result
Results with one learner (in a P40 GPU) and 5 actors in 10 million sample steps.
<img src=".benchmark/A2C_Pong.jpg" width = "400" height ="300" alt="A2C_Pong" /> <img src=".benchmark/A2C_Breakout.jpg" width = "400" height ="300" alt="A2C_Breakout"/>
<img src=".benchmark/A2C_BeamRider.jpg" width = "400" height ="300" alt="A2C_BeamRider" /> <img src=".benchmark/A2C_Qbert.jpg" width = "400" height ="300" alt="A2C_Qbert"/>
<img src=".benchmark/A2C_SpaceInvaders.jpg" width = "400" height ="300" alt="A2C_SpaceInvaders" />
## How to use
### Dependencies
......
......@@ -17,6 +17,12 @@ import os
import re
from setuptools import setup, find_packages
cur_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(cur_dir, 'README.md'), 'rb') as f:
lines = [x.decode('utf-8') for x in f.readlines()]
lines = ''.join([re.sub('^<.*>\n$', '', x) for x in lines])
long_description = lines
def _find_packages(prefix=''):
packages = []
......@@ -31,6 +37,10 @@ def _find_packages(prefix=''):
setup(
name='parl',
version=1.1,
description='Reinforcement Learning Framework',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/PaddlePaddle/PARL',
packages=_find_packages(),
package_data={'': ['*.so']},
install_requires=[
......@@ -38,4 +48,13 @@ setup(
"pyzmq>=17.1.2",
"pyarrow>=0.12.0",
],
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册