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

Final ResNetBlock block for UNet in denoising_diffusion_pytorch.py #266

Open
MekkCyber opened this issue Oct 27, 2023 · 0 comments
Open

Comments

@MekkCyber
Copy link

Hello @lucidrains

Sorry if i'm mistaken, but in the line 380 of the file denoising_diffusion_pytorch.py, where the final ResNetBlock is defined for the UNet :
self.final_res_block = block_klass(dim * 2, dim, time_emb_dim = time_dim)
Shouldn't the input channels dimension be init_dim * 2 instead of dim * 2 ?

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

1 participant