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

About the loss of SDE_3Dto2D #1

Open
MorningEatDinner opened this issue Dec 27, 2023 · 1 comment
Open

About the loss of SDE_3Dto2D #1

MorningEatDinner opened this issue Dec 27, 2023 · 1 comment

Comments

@MorningEatDinner
Copy link

I observed that in code SDEModel3Dto2D_node_adj_dense_02, loss is calculated by:
losses_x = torch.square(score_x + z_x) # [B, max_num_nodes, num_class_X] or [B, max_num_nodes, 1]
losses_adj = torch.square(score_adj + z_adj) # [B, max_num_nodes, max_num_nodes]

But in SDE_model_2d_to_3d, the code to calculate loss is
loss_pos = torch.sum((scores - pos_noise) ** 2, -1) # (num_node)

I'm confused why the 3D_to_2D code isn't score - x.

@chao1224
Copy link
Owner

Hi @MorningEatDinner
I am not sure what you mean by why the 3D_to_2D code isn't score - x. Can you explain this further?

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