Merge pull request #215 from chris-chris/feature/typo-2017-11-19

fix misspellings
This commit is contained in:
John Schulman
2017-12-04 14:02:49 -08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -228,7 +228,7 @@ class KfacOptimizer():
Ow = bpropFactor.get_shape()[2]
if Oh == 1 and Ow == 1 and self._channel_fac:
# factorization along the channels
# assume independence bewteen input channels and spatial
# assume independence between input channels and spatial
# 2K-1 x 2K-1 covariance matrix and C x C covariance matrix
# factorization along the channels do not
# support homogeneous coordinate, assnBias

View File

@@ -63,7 +63,7 @@ class EpisodicLifeEnv(gym.Wrapper):
# then update lives to handle bonus lives
lives = self.env.unwrapped.ale.lives()
if lives < self.lives and lives > 0:
# for Qbert somtimes we stay in lives == 0 condtion for a few frames
# for Qbert sometimes we stay in lives == 0 condtion for a few frames
# so its important to keep lives > 0, so that we only reset once
# the environment advertises done.
done = True