From c33640932f48ee150c07d689d824792e298bd330 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Sun, 19 Nov 2017 01:29:30 +0000 Subject: [PATCH] fix misspellings --- baselines/acktr/kfac.py | 2 +- baselines/common/atari_wrappers.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/baselines/acktr/kfac.py b/baselines/acktr/kfac.py index 3c044c8..b420819 100644 --- a/baselines/acktr/kfac.py +++ b/baselines/acktr/kfac.py @@ -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 diff --git a/baselines/common/atari_wrappers.py b/baselines/common/atari_wrappers.py index 1bfb4b2..ce83299 100644 --- a/baselines/common/atari_wrappers.py +++ b/baselines/common/atari_wrappers.py @@ -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