File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ license = "MIT"
8
8
[tool .poetry .dependencies ]
9
9
python = " ^3.10"
10
10
matplotlib = " ^3.5.1"
11
- Pillow = " ^9.0.0"
12
11
munch = " ^2.5.0"
13
12
PyYAML = " ^6.0"
14
13
imageio = " ^2.14.1"
15
14
dict-deep = " ^4.1.2"
16
15
scikit-optimize = " ^0.9.0"
16
+ scikit-learn = " ^1.3.0"
17
17
gymnasium = " ^0.28"
18
18
torch = " ^1.10.2"
19
19
gpytorch = " ^1.6.0"
Original file line number Diff line number Diff line change @@ -713,7 +713,7 @@ def learn(self,
713
713
self .train_iterations + validation_iterations ,
714
714
random_state = self .seed )
715
715
input_samples = np .array (input_samples ) # not being used currently
716
- seeds = self .env .np_random .randint (0 , 99999 , size = self .train_iterations + validation_iterations )
716
+ seeds = self .env .np_random .integers (0 , 99999 , size = self .train_iterations + validation_iterations )
717
717
for i in range (self .train_iterations + validation_iterations ):
718
718
# For random initial state training.
719
719
# init_state = init_state_samples[i,:]
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ def reset(self,
100
100
env
101
101
):
102
102
if self .step_offset is None :
103
- self .current_step_offset = self .np_random .randint (self .max_step )
103
+ self .current_step_offset = self .np_random .integers (self .max_step )
104
104
else :
105
105
self .current_step_offset = self .step_offset
106
106
self .current_peak_step = int (self .current_step_offset + self .duration / 2 )
@@ -146,7 +146,7 @@ def reset(self,
146
146
env
147
147
):
148
148
if self .step_offset is None :
149
- self .current_step_offset = self .np_random .randint (self .max_step )
149
+ self .current_step_offset = self .np_random .integers (self .max_step )
150
150
else :
151
151
self .current_step_offset = self .step_offset
152
152
Original file line number Diff line number Diff line change 4
4
version = '2.0.0' ,
5
5
install_requires = [
6
6
'matplotlib' ,
7
- 'Pillow' ,
8
7
'munch' ,
9
8
'pyyaml' ,
10
9
'imageio' ,
11
10
'dict-deep' ,
12
11
'scikit-optimize' ,
12
+ 'scikit-learn' ,
13
13
'gymnasium' ,
14
14
'torch' ,
15
15
'gpytorch' ,
You can’t perform that action at this time.
0 commit comments