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

Why fc_coord is Linear() Instead of nn.linear in Regression_nf_3d.py? #61

Open
2015wan opened this issue Jul 31, 2023 · 1 comment
Open

Comments

@2015wan
Copy link

2015wan commented Jul 31, 2023

  1. Why design a separate linear layer for the output of the coordinate mean, and what is the difference between it and the ordinary fully connected layer?
  2. Why is this happening?
    x_norm = torch.norm(x, dim=1, keepdim=True)
    y = y / x_norm
@2015wan
Copy link
Author

2015wan commented Aug 3, 2023

In this class RegressFlow3D(nn.Module) Why when testing
pred_jts[:, :, 2] = pred_jts[:, :, 2] - pred_jts[:, self.root_idx:self.root_idx + 1, 2]
Why do you have to subtract like this

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

1 participant