sunghoonhong/AirsimDRL

InvalidArgumentError (see above for traceback): You must feed a value for placeholder tensor 'batch_normalization_1/keras_learning_phase' with dtype bool

kadima666 opened this issue · 3 comments

Hi,I'm running the td3_per.py,and I amended parser.add_argument('--play', action='store_true') to parser.add_argument('--play', action='store_true',default=False) for training.
But when the episodes increased by 100, the programs would stop and report the following error:
InvalidArgumentError (see above for traceback): You must feed a value for placeholder tensor 'batch_normalization_1/keras_learning_phase' with dtype bool [[Node: batch_normalization_1/keras_learning_phase = Placeholder[dtype=DT_BOOL, shape=[], _device="/job:localhost/replica:0/task:0/gpu:0"]()]] [[Node: dense_8/BiasAdd/_1409 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/cpu:0", send_device="/job:localhost/replica:0/task:0/gpu:0", send_device_incarnation=1, tensor_name="edge_125_dense_8/BiasAdd", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"]()]]
I don't know what caused this error,can you please help me with that?
Thank you!

Hi,I also have some problem. Maybe we can discuss by e-mail. yangnanyn0217@gmail.com
looking forward to your email.

hello,have you finished this ?Can you tell me the version of tensorflow and keras?

Hi,I also have some problem. Maybe we can discuss by e-mail. yangnanyn0217@gmail.com looking forward to your email.

hello,have you finished this ?Can you tell me the version of tensorflow and keras?