Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numpy Ravel error #23

Open
gorogm opened this issue Mar 20, 2017 · 0 comments
Open

Numpy Ravel error #23

gorogm opened this issue Mar 20, 2017 · 0 comments

Comments

@gorogm
Copy link

gorogm commented Mar 20, 2017

When running a test with python3 (from readme), numpy.ravel complains for data type:

python3 main.py --network_header_type=mlp --network_output_type=normal --observation_dims='[16]' --env_name=CorridorSmall-v5 --t_learn_start=0.1 --learning_rate_decay_step=0.1 --history_length=1 --n_action_repeat=1 --t_ep_end=10 --display=True --learning_rate=0.025 --learning_rate_minimum=0.0025

[2017-03-20 13:28:03,027] Making new env: CorridorSmall-v5
Traceback (most recent call last):
File "main.py", line 168, in
tf.app.run()
[...]/deep-rl-tensorflow/environments/corridor.py", line 66, in init
isd = (desc == 'S').ravel().astype('float64')
AttributeError: 'bool' object has no attribute 'ravel'

Is it because of python3? I saw some fixes for python3 on git already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant