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

possible bug #4

Open
denkorzh opened this issue Mar 16, 2022 · 6 comments
Open

possible bug #4

denkorzh opened this issue Mar 16, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@denkorzh
Copy link

x_latent = res_blck(latent_x)

You seem to use the same latent_x for all columns of the decoder part. I suggest this is a bug in your implementation of GridNet.

@mahmoudnafifi
Copy link
Owner

mahmoudnafifi commented Mar 16, 2022

Thanks for your comment. At first res block, x_latent is returned "if j == 0: x_latent = res_blck(latent_x)", then for next blocks I use x_latent. It is bad naming i agree, but it looks not an implementation bug to me.

@denkorzh
Copy link
Author

the line I pointed to is NOT under if j == 0

@denkorzh
Copy link
Author

denkorzh commented Mar 16, 2022 via email

@mahmoudnafifi
Copy link
Owner

mahmoudnafifi commented Mar 16, 2022

I checked the code carefully and yes you are right. It should be x_latent. It means the current implementation practically has a single decoder column. I will not change it to make trained models work as trained. But let's keep this issue open to help people find out.

@mahmoudnafifi
Copy link
Owner

Updated readme and referred to this issue. Thanks @denkorzh!

@mahmoudnafifi mahmoudnafifi added the bug Something isn't working label Mar 16, 2022
@denkorzh
Copy link
Author

You're welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants