The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

468414 (1) [Avatar] Offline

I was getting tons of errors of this sort when trying to feed a dictionary to a placeholder.

InvalidArgumentError: You must feed a value for placeholder tensor 'Placeholder_54' with dtype float [[Node: Placeholder_54 = Placeholderdtype=DT_FLOAT, shape=[], _device="/job:localhost/replica:0/task:0/cpu:0"]] Caused by op u'Placeholder_54':

I'm running from within a Jupyter notebook... tried everything then found a tip to run:


at the top of the cell. This fixed the issue. This should be added to the code as it took me a several hours over a the course of a few days to hunt this down.

Nishant Shukla (52) [Avatar] Offline
Interesting issue. I was not able to reproduce this error.

Does restarting the kernel solve the issue for you as well?