Skip to content

Unused proj_attn in the attention block #7991

Closed
@KumoLiu

Description

@KumoLiu

proj_attn is not used in the original generative repo, we may add an argument in SABlock to make the behaviour consistent with before.

https://github.com/Project-MONAI/GenerativeModels/blob/7428fce193771e9564f29b91d29e523dd1b6b4cd/generative/networks/nets/diffusion_model_unet.py#L383

self.out_proj = nn.Linear(self.inner_dim, self.hidden_input_size)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions