You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
InvalidArgumentError (see above for traceback): You must feed a value for placeholder tensor 'batch_normalization_1/keras_learning_phase' with dtype bool
#9
Open
kadima666 opened this issue
Dec 6, 2021
· 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!
The text was updated successfully, but these errors were encountered:
Hi,I'm running the td3_per.py,and I amended
parser.add_argument('--play', action='store_true')
toparser.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!
The text was updated successfully, but these errors were encountered: