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

#multi-train #5

Open
yyyyll0ss opened this issue Oct 23, 2022 · 1 comment
Open

#multi-train #5

yyyyll0ss opened this issue Oct 23, 2022 · 1 comment

Comments

@yyyyll0ss
Copy link

hi,this error occurs when I try to use multi_train.py,so how can i solve this error.Thank you for your outstanding work。
14bd2d45b7342e67cc39f0ead61db9a

@XJKunnn
Copy link
Collaborator

XJKunnn commented Oct 23, 2022

Hi, thanks for your interest.

So yet, We have not encountered this warning. This warning may caused by transpose or permute. We fix this by applying contiguous after transpose in ECA module.

HiSup/hisup/detector.py

Lines 52 to 53 in a085bae

y = self.conv(y.squeeze(-1).transpose(-1, -2).contiguous())
y = y.transpose(-1 ,-2).contiguous().unsqueeze(-1)

New code can be tested in the fix-contiguous branch.

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

2 participants