未验证 提交 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
......@@ -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.
先完成此消息的编辑!
想要评论请 注册