File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ def run(self):
243
243
mb_mus .append (mus )
244
244
mb_dones .append (self .dones )
245
245
obs , rewards , dones , _ = self .env .step (actions )
246
- # states information for statefull predictors like LSTM
246
+ # states information for statefull models like LSTM
247
247
self .states = states
248
248
self .dones = dones
249
249
self .update_obs (obs , dones )
@@ -260,7 +260,7 @@ def run(self):
260
260
261
261
mb_dones = np .asarray (mb_dones , dtype = np .bool ).swapaxes (1 , 0 )
262
262
263
- mb_masks = mb_dones # Used for statefull predictors like LSTM's to mask state when done
263
+ mb_masks = mb_dones # Used for statefull models like LSTM's to mask state when done
264
264
mb_dones = mb_dones [:, 1 :] # Used for calculating returns. The dones array is now aligned with rewards
265
265
266
266
# shapes are now [nenv, nsteps, []]
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ def searchFactors(gradient, graph):
134
134
# check associated weights and bias for homogeneous coordinate representation
135
135
# and check redundent factors
136
136
# TO-DO: there may be a bug to detect associate bias and weights for
137
- # forking layer, e.g. in inception predictors .
137
+ # forking layer, e.g. in inception models .
138
138
for param in varlist :
139
139
factorTensors [param ]['assnWeights' ] = None
140
140
factorTensors [param ]['assnBias' ] = None
You can’t perform that action at this time.
0 commit comments