Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
92 lines (91 loc) · 4.56 KB
/
Copy pathsetup.py
File metadata and controls
92 lines (91 loc) · 4.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
from setuptools import find_packages, setup
setup(
name='xuance',
packages=find_packages(include=['xuance', 'xuance.*']),
package_data={
"xuance":
[
"configs/*.yaml",
"configs/*/*.yaml",
"configs/*/*/*.yaml",
"environment/magent2/libmagent.so", # for magent2 environment on linux
"environment/magent2/magent.dll", # for magent2 environment on Windows
"environment/magent2/libmagent.dylib" # for magent2 environment on macOS (for Intel CPU)
]
},
version="1.4.4",
description='XuanCe: A Comprehensive and Unified Deep Reinforcement Learning Library.',
long_description='XuanCe is an open-source ensemble of Deep Reinforcement Learning (DRL) algorithm implementations. We call it as Xuan-Ce (玄策) in Chinese. "Xuan (玄)" means incredible and magic box, "Ce (策)" means policy. DRL algorithms are sensitive to hyperparameters tuning, varying in performance with different tricks, and suffering from unstable training processes, therefore, sometimes DRL algorithms seems elusive and "Xuan". This project gives a thorough, high-quality and easy-to-understand implementation of DRL algorithms, and hope this implementation can give a hint on the magics of reinforcement learning. We expect it to be compatible with multiple deep learning backends (PyTorch, TensorFlow, and MindSpore), and hope it can really become a zoo full of DRL algorithms.',
author='Wenzhang Liu, et al.',
author_email='liu_wzh@foxmail.com',
license='MIT',
url='https://github.com/agi-brain/xuance.git',
download_url='https://pypi.org/project/xuance/#files',
keywords=['deep reinforcement learning', 'open source library', 'PyTorch', 'TensorFlow2', 'MindSpore'],
classifiers=[
'Development Status :: 4 - Beta',
# Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package
'Intended Audience :: Developers', # Define that your audience are developers
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License', # Again, pick a license
'Programming Language :: Python :: 3.6', # Specify which python versions that you want to support
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
extras_require={
"torch": ["torch",
"torchvision"],
"tensorflow": ["tensorflow==2.19.0",
"keras==3.10.0"],
"mindspore": ["mindspore==2.6.0",
"protobuf==3.20.0"],
"all": [
"torch",
"torchvision",
"tensorflow==2.19.0",
"tf_keras==2.19.0",
"mindspore==2.6.0", # mindspore might be installed manually.
"protobuf==3.20.0",
],
"tune": [
"optuna>=4.1.0",
"optuna-dashboard>=0.17.0",
"plotly>=5.24.1",
],
"mujoco": ["gymnasium[mujoco]"],
"atari": ["gymnasium[accept-rom-license]",
"gymnasium[atari]",
"ale-py==0.10.1"],
"box2d": ["swig==4.3.0",
"gymnasium[box2d]"], # for Box2D
"minigrid": ["minigrid==3.0.0"],
"metadrive": ["metadrive"],
"rware": ["rware"],
"einops": ["einops==0.8.1"], # default version is 0.8.1 for ViT
},
install_requires=[
"numpy", # suggest version: >=1.21.6
#NumPy does not need to be pinned explicitly here; each ML backend will resolve a compatible version through its dependency stack.
"gymnasium>=0.28.0, <1.3.0", # suggest version: >=1.1.1
"torch>=2.0.0, <3.0.0",
"torchvision",
"scipy", # suggest version: >=1.15.3
"PyYAML", # suggest version: 6.0
"pygame", # suggest version: >=2.1.0
"tqdm", # suggest version: >=4.66.3
"pyglet==1.5.15", # suggest version: ==1.5.15
"pettingzoo", # for MARL, suggest version: >=1.23.0
"tensorboard", # logger, suggest version: >=2.11.2
"wandb", # suggest version: >=0.15.3
"moviepy==1.0.3", # suggest version: >=1.0.3
"imageio", # suggest version: 2.9.0
"opencv-python", # suggest version: 4.5.4.58
],
setup_requires=['pytest-runner'],
tests_requires=['pytest'],
test_suite='tests',
)