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

What's the position mean in TransUNet3D? #47

Open
yjsb opened this issue May 23, 2023 · 0 comments
Open

What's the position mean in TransUNet3D? #47

yjsb opened this issue May 23, 2023 · 0 comments

Comments

@yjsb
Copy link

yjsb commented May 23, 2023

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.

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