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

Preprocess_representation has a bug for me #19

Open
MarziEd opened this issue Aug 31, 2017 · 1 comment
Open

Preprocess_representation has a bug for me #19

MarziEd opened this issue Aug 31, 2017 · 1 comment

Comments

@MarziEd
Copy link

MarziEd commented Aug 31, 2017

Hi,
I was trying to reproduce the representation learning results of paper. Everything works fine except "preprocess_representations" script. It is leading to this error:

File "scripts/preprocess_representations", line 32, in preprocess_svhn
bricks=[ali.encoder.layers[-9], ali.encoder.layers[-6],
AttributeError: 'GaussianConditional' object has no attribute 'layers'

Any help would be appreciated.

@MarziEd MarziEd changed the title Preprocess_representation has bug for me Preprocess_representation has a bug for me Aug 31, 2017
@priverasalas
Copy link

Try modifying

bricks=[ali.encoder.layers[-9], ali.encoder.layers[-6], ali.encoder.layers[-6]

for

bricks=[ali.encoder.mapping.layers[-9], ali.encoder.mapping.layers[-6], ali.encoder.mapping.layers[-6]

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