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

VIG的代码疑问 #161

Open
szwlh-c opened this issue Nov 27, 2022 · 1 comment
Open

VIG的代码疑问 #161

szwlh-c opened this issue Nov 27, 2022 · 1 comment

Comments

@szwlh-c
Copy link

szwlh-c commented Nov 27, 2022

你好,代码x = torch.cat([x.unsqueeze(2), x_j.unsqueeze(2)], dim=2).reshape(b, 2 * c, n, _)会对x和x''做一个拼接,然后做线性变换。但是论文中好像没有描述这一点。
image
请问这是为什么呢?是我哪里弄错了吗?

@szwlh-c szwlh-c changed the title 代码和论文有点对不上的地方 代码的疑问 Nov 27, 2022
@szwlh-c szwlh-c changed the title 代码的疑问 VIG的代码疑问 Nov 27, 2022
@iamhankai
Copy link
Member

不好意思,论文里写错了,最新版已经更正:https://arxiv.org/pdf/2206.00272.pdf

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