We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, sorry to bother you again. I find some code in class WeightRegressor like:
out = torch.matmul(out, self.w1) + self.b1 out = out.view(bs, self.in_channels, self.hidden_dim) out = torch.matmul(out, self.w2) + self.b2 kernel = out.view(bs, self.out_channels, self.in_channels, self.kernel_size, self.kernel_size) # like bz, 512, 512, 3, 3
why not use linear layer, like
w1 = nn.Linear(128, 65536) w2 = nn.Linear(65536, 2359296) out = w1(out) out = w2(out) kernel = out.view(bs, self.out_channels, self.in_channels, self.kernel_size, self.kernel_size)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, sorry to bother you again. I find some code in class WeightRegressor like:
why not use linear layer, like
w1 = nn.Linear(128, 65536)
w2 = nn.Linear(65536, 2359296)
out = w1(out)
out = w2(out)
kernel = out.view(bs, self.out_channels, self.in_channels, self.kernel_size, self.kernel_size)
The text was updated successfully, but these errors were encountered: