-
Notifications
You must be signed in to change notification settings - Fork 114
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
使用demo时,出现下面的错误 #99
Comments
同样的错误 |
修改CDFA_model中代码 |
感谢,我降低torch版本可行。发自我的华为手机-------- 原始邮件 --------发件人: mhdkssygit ***@***.***>日期: 2023年3月17日周五 晚上7:42收件人: justchenhao/STANet ***@***.***>抄送: 陈铭 ***@***.***>, Comment ***@***.***>主 题: Re: [justchenhao/STANet] 使用demo时,出现下面的错误 (Issue #99)
修改CDFA_model中代码
self.dist = F.pairwise_distance(self.feat_A, self.feat_B, keepdim=True) # 特征距离
为
self.feat_A = self.feat_A.permute(0, 2, 3, 1)
self.feat_B = self.feat_B.permute(0, 2, 3, 1)
self.dist = F.pairwise_distance(self.feat_A, self.feat_B, keepdim=True) # 特征距离
self.dist = self.dist.permute(0,3, 1, 2)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
That is very useful for me. Thank you very much!!! |
It works, thanks. |
|
in fromarray
mode, rawmode = _fromarray_typemap[typekey]
KeyError: ((1, 1, 64), '|u1')
The text was updated successfully, but these errors were encountered: