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

unet.py file miss count_flops_attn() function. #35

Open
VoldemortGin opened this issue Jan 30, 2023 · 0 comments
Open

unet.py file miss count_flops_attn() function. #35

VoldemortGin opened this issue Jan 30, 2023 · 0 comments

Comments

@VoldemortGin
Copy link

In guided_diffusion.unet.py file, the method count_flops() of 2 classes (QKVAttentionLegacy class and QKVAttention class) need a function with signature count_flops_attn(model, _x, y). The method is not been called, so there is no error, but I think it's better to adding it.

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