deep-rl-tensorflow icon indicating copy to clipboard operation
deep-rl-tensorflow copied to clipboard

Numpy Ravel error

Open gorogm opened this issue 8 years ago • 0 comments

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.

gorogm avatar Mar 20 '17 13:03 gorogm