Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
13530934
baselines
Commits
0778e9f1
Commit
0778e9f1
authored
Jun 23, 2017
by
Szymon Sidor
Committed by
GitHub
Jun 23, 2017
Browse files
Merge pull request #28 from zach-nervana/patch-1
remove unnecessary initialization of variable resized_screen
parents
59c7887e
ec38bf46
Changes
1
Hide whitespace changes
Inline
Side-by-side
baselines/common/atari_wrappers_deprecated.py
View file @
0778e9f1
...
...
@@ -130,7 +130,6 @@ class ProcessFrame84(gym.ObservationWrapper):
@
staticmethod
def
process
(
frame
):
resized_screen
=
None
if
frame
.
size
==
210
*
160
*
3
:
img
=
np
.
reshape
(
frame
,
[
210
,
160
,
3
]).
astype
(
np
.
float32
)
elif
frame
.
size
==
250
*
160
*
3
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment