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

FailedPreconditionError on DCGAN #237

Open
Narleo5 opened this issue Aug 24, 2020 · 2 comments
Open

FailedPreconditionError on DCGAN #237

Narleo5 opened this issue Aug 24, 2020 · 2 comments

Comments

@Narleo5
Copy link

Narleo5 commented Aug 24, 2020

Hello,
When I run your code of dcgan on jupyter notebook, I catch the following issue :

FailedPreconditionError: Error while reading resource variable _AnonymousVar33 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/_AnonymousVar33/class tensorflow::Var does not exist.
[[node mul_13/ReadVariableOp (defined at C:\Users\leona.conda\envs\tensorflow\lib\site-packages\keras\backend\tensorflow_backend.py:3009) ]] [Op:__inference_keras_scratch_graph_1815]

Function call stack:
keras_scratch_graph
,
I didn't find anything on stackoverflow, do you know how to solve this problem please ?

Thank you
Léonard

@salilsaxena
Copy link

  • Could you have reordered some cells such that some tensor may have been used before initialization?
  • Try running this tf.global_variables_initializer(), or find documentations related to the mentioned topic. I have solved it once while running sessions on tf1.5

@naomity
Copy link

naomity commented Jan 22, 2021

@Narleo5 hi have you figured it out?

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