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

Unable to load checkpoints to DCGAN architecture for inference purposes #17

Open
jmtzt opened this issue Oct 5, 2019 · 1 comment
Open

Comments

@jmtzt
Copy link

jmtzt commented Oct 5, 2019

Hello there, it seems that whatever I try to change in the code I can't find out why the checkpoints could not be loaded properly.

discriminator/d_h3_lin/bias:0 (float32_ref 1) [1, bytes: 4]
Total size of variables: 9451908
Total bytes of variables: 37807632
[] Reading checkpoints...
[
] Failed to find a checkpoint
[*] 0
Traceback (most recent call last):
File "C:\Users\Joao Marcelo\Anaconda3\envs\oficinaintegracao\lib\site-packages\tensorflow\python\client\session.py", line 1356, in _do_call
return fn(*args)
File "C:\Users\Joao Marcelo\Anaconda3\envs\oficinaintegracao\lib\site-packages\tensorflow\python\client\session.py", line 1341, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "C:\Users\Joao Marcelo\Anaconda3\envs\oficinaintegracao\lib\site-packages\tensorflow\python\client\session.py", line 1429, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.FailedPreconditionError: 2 root error(s) found.
(0) Failed precondition: Attempting to use uninitialized value generator/g_h4/b
[[{{node generator/g_h4/b/read}}]]
[[concat_3/_5]]
(1) Failed precondition: Attempting to use uninitialized value generator/g_h4/b
[[{{node generator/g_h4/b/read}}]]
0 successful operations.
0 derived errors ignored.

@HymEric
Copy link

HymEric commented Dec 11, 2019

@jmtzt Do you know how to do inference with the pretrained model?

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

2 participants