Skip to content

Commit df2e846

Browse files
export: fix accidental rename
1 parent edb52c2 commit df2e846

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

baselines/acer/acer_simple.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def run(self):
243243
mb_mus.append(mus)
244244
mb_dones.append(self.dones)
245245
obs, rewards, dones, _ = self.env.step(actions)
246-
# states information for statefull predictors like LSTM
246+
# states information for statefull models like LSTM
247247
self.states = states
248248
self.dones = dones
249249
self.update_obs(obs, dones)
@@ -260,7 +260,7 @@ def run(self):
260260

261261
mb_dones = np.asarray(mb_dones, dtype=np.bool).swapaxes(1, 0)
262262

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
264264
mb_dones = mb_dones[:, 1:] # Used for calculating returns. The dones array is now aligned with rewards
265265

266266
# shapes are now [nenv, nsteps, []]

baselines/acktr/kfac.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def searchFactors(gradient, graph):
134134
# check associated weights and bias for homogeneous coordinate representation
135135
# and check redundent factors
136136
# 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.
138138
for param in varlist:
139139
factorTensors[param]['assnWeights'] = None
140140
factorTensors[param]['assnBias'] = None

0 commit comments

Comments
 (0)