mirror of
https://github.com/wassname/DeepRL.git
synced 2026-10-30 12:50:27 +08:00
Minor fix for python 2.7
This commit is contained in:
1 parent
c7ad749058
commit
b6668fc374
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -78,7 +78,7 @@ class RunningStatsNormalizer(BaseNormalizer):
|
||||
|
||||
class RescaleNormalizer(BaseNormalizer):
|
||||
def __init__(self, coef=1.0):
|
||||
super(RescaleNormalizer, self).__init__()
|
||||
BaseNormalizer.__init__(self)
|
||||
self.coef = coef
|
||||
|
||||
def __call__(self, x):
|
||||
|
||||
Reference in new issue
Block a user