-
Notifications
You must be signed in to change notification settings - Fork 38
/
index.rst
120 lines (96 loc) · 3.42 KB
/
index.rst
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
.. _PettingZoo_tutorials:
PettingZoo Multi-agent Tutorials
================================
These tutorials provide an introductory guide to using `AgileRL <https://github.com/AgileRL/AgileRL>`_ with
`PettingZoo <https://pettingzoo.farama.org/>`_. AgileRL's multi-agent algorithms make use of the PettingZoo
parallel API and allow users to train multiple-agents in parallel in both competitive and co-operative environments.
.. raw:: html
<style>
/* CSS styles for tiles with rounded corners, centered titles, and always displayed algorithm list */
/* Style for the container */
.tiles {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 0.25fr));
grid-auto-rows: 200px; /* 2 rows */
gap: 25px; /* Adjust the gap between tiles */
margin-top: 48px;
margin-bottom: 48px;
width: 100%;
align-content: start;
/*height: auto;
}
/* Style for each tile */
.tile {
padding: 0px 0px; ; /* Fixed padding */
transition: background-color 0.3s ease; /* Smooth transition */
text-decoration: none;
width: auto; /* Fixed width */
height: auto; /* Fixed height */
overflow: hidden; /* Hide overflow content */
/* display: flex; /* Use flexbox for content alignment */
flex-direction: column; /* Align content vertically */
justify-content: center; /* Center content vertically */
align-items: flex-start;*/
background-color: transparent; /* Dark grey background */
border-radius: 7px; /* Rounded corners */
box-shadow: 0 4px 8px rgba(0, 150, 150, 0.5);
margin-bottom: 0px;
}
.column {
flex: 1; /* Equal flex distribution */
width: 50%; /* 50% width for each column */
display: flex;
flex-direction: column;
/* Additional styles */
}
/* Lighter background color on hover */
.tile:hover {
background-color: #48b8b8; /* Lighter grey on hover */
color: white;
}
/* Title styles */
.tile h2 {
font-size: 18px; /* Adjust the font size */
text-align: center; /* Center title text */
margin-top: 20px;
margin-bottom: 20px;
padding: 4px 4px 4px 4px;
}
/* Learn more link styles */
.tile a {
display: block;
margin-bottom: 0px; /* Adjust the margin */
text-decoration: none;
/*color: white; /* Link color */
text-align: center; /* Center link text */
padding: 0px 0px;
}
.tile a:hover {
color: white; /* Link color on hover */
}
.thumbnail-image {
width: 100%;
height: 60%;
object-fit: cover;
}
</style>
<div class="tiles article">
<a href="../pettingzoo/dqn.html" class="tile">
<img src="../../_images/connect_four_self_opp.gif" alt="Connect4 gif" class="thumbnail-image">
<h2>DQN - Connect4</h2>
</a>
<a href="../pettingzoo/maddpg.html" class="tile online">
<img src="../../_images/atari_space_invaders.gif" alt="Space Invaders gif" class="thumbnail-image">
<h2>MADDPG - Space Invaders</h2>
</a>
<a href="../pettingzoo/matd3.html" class="tile online">
<img src="../../_images/mpe_looped.gif" alt="Speaker Listener gif" class="thumbnail-image">
<h2>MATD3 - Speaker Listener</h2>
</a>
</div>
.. toctree::
:maxdepth: 2
:hidden:
dqn
maddpg
matd3