|
Algorithm 1 Adaptive Curriculum Learning |
Require: Environment , success threshold , buffer size N, curriculum levels L
Ensure: Curriculum level l, environment boundary Env.boundary
-
1:
Initialize , ,
-
2:
Set , , ,
-
3:
-
4:
Env.boundary
-
5:
for
do
-
6:
if then
-
7:
-
8:
Execute_PPO_Step()
-
9:
continue
-
10:
end if
-
11:
Execute_PPO_Step()
-
12:
if then
-
13:
Add()
-
14:
end if
-
15:
if then
-
16:
-
17:
if and then
-
18:
-
19:
Env.boundary
-
20:
Clear()
-
21:
-
22:
end if
-
23:
end if
-
24:
end for
-
25:
return l, Env.boundary
|