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

Bug in encode_images.py #7

Open
gsygsy96 opened this issue Jan 13, 2020 · 2 comments
Open

Bug in encode_images.py #7

gsygsy96 opened this issue Jan 13, 2020 · 2 comments

Comments

@gsygsy96
Copy link

gsygsy96 commented Jan 13, 2020

An error occurs when I run step1. The details are:
File "/***/stylegan2/stylegan2encoder-master/encoder/generator_model.py", line 33, in init
self.dlatent_variable = next(v for v in tf.global_variables() if 'learnable_dlatents' in v.name)
StopIteration

I think there is no variable named 'learnable_dlatents'. Could you tell me how to fix it?

@segalinc
Copy link

yes found the same problem. any solution for this?

@dimitry12
Copy link

See pbaylies#4 (comment)

I assume you both are running @pbaylies 's version

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