Skip to content

Commit 67419ec

Browse files
use cmaes curriculum
1 parent 444a6ff commit 67419ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/curriculum/ts_curriculum.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from univar_gaussian_teacher import UnivarGaussianTeacher
1212

1313
class TSCurriculum(RWCurriculum):
14-
14+
1515
# TODO: remove init_v from this class, and perhaps put this in bandit class
1616
def init_v(self, length:int, mean:int, std:float):
1717
v = np.zeros(length)
@@ -32,7 +32,7 @@ def learn_online(self, planner, nn_model):
3232
test_solve = 0
3333
memory = Memory()
3434

35-
teacher = UnivarGaussianTeacher(batch_size=self._states_per_difficulty, mean=4, std=4)
35+
teacher = CMAESTeacher(batch_size=self._states_per_difficulty, mean=4, std=4)
3636
## TODO: remove this TMP!
3737

3838
while test_solve < 1:

0 commit comments

Comments
 (0)