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
ec38bf46
Commit
ec38bf46
authored
Jun 09, 2017
by
Zach Dwiel
Committed by
GitHub
Jun 09, 2017
Browse files
remove unnecessary initialization of variable resized_screen
parent
184440ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
baselines/common/atari_wrappers_deprecated.py
View file @
ec38bf46
...
...
@@ -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