Skip to content

What's the position mean in TransUNet3D? #47

@yjsb

Description

@yjsb

I just want to use your 3D TransUNet in your code.
but I don't know the input shape of the position parameter in forward, I use
position=torch.Tensor([1,512,2,2,2, 64])
to match the
self.pos_emb_layer = nn.Linear(6, emb_channels)
I feel I was wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions