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

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

Comments

@kadima666
Copy link

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!

@YNannan
Copy link

YNannan commented Jan 18, 2022

Hi,I also have some problem. Maybe we can discuss by e-mail. [email protected]
looking forward to your email.

@dongbaba-1
Copy link

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

@dongbaba-1
Copy link

Hi,I also have some problem. Maybe we can discuss by e-mail. [email protected] looking forward to your email.

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

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

3 participants