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
不理解这里的架构,是有问题吗 #795
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
def forward(self, x):
H, W = self.input_resolution
B, L, C = x.shape
assert L == H * W, "input feature has wrong size"
shortcut = x
x = self.norm1(x)
x = x.view(B, H, W, C)
这里传入的数据是一个4维度的,为什么是blc三个维度呢,请问是少了合并hw这步吗
The text was updated successfully, but these errors were encountered: