Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
a804f4db
Unverified
Commit
a804f4db
authored
Mar 22, 2018
by
Ewanli
Committed by
GitHub
Mar 22, 2018
Browse files
fix bugs in Python 3.X
fix this issue
https://github.com/tensorflow/models/issues/2948
parent
4b85dab1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
research/pcl_rl/env_spec.py
research/pcl_rl/env_spec.py
+2
-2
No files found.
research/pcl_rl/env_spec.py
View file @
a804f4db
...
...
@@ -86,8 +86,8 @@ class EnvSpec(object):
else
:
self
.
combine_actions
=
False
self
.
obs_dims_and_types
=
zip
(
self
.
obs_dims
,
self
.
obs_types
)
self
.
act_dims_and_types
=
zip
(
self
.
act_dims
,
self
.
act_types
)
self
.
obs_dims_and_types
=
tuple
(
zip
(
self
.
obs_dims
,
self
.
obs_types
)
)
self
.
act_dims_and_types
=
tuple
(
zip
(
self
.
act_dims
,
self
.
act_types
)
)
self
.
total_obs_dim
=
sum
(
self
.
obs_dims
)
self
.
total_sampling_act_dim
=
sum
(
self
.
sampling_dim
(
dim
,
typ
)
...
...
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