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

issue about y_pred #6

Open
18370029656 opened this issue Dec 12, 2023 · 1 comment
Open

issue about y_pred #6

18370029656 opened this issue Dec 12, 2023 · 1 comment

Comments

@18370029656
Copy link

May I ask, in this code, what is the shape of y_pred? Is it [1,1, image size]?
image

@MungoMeng
Copy link
Owner

Hi, thanks for your interest in our work!
The shape of y_pred in the loss Lstructure is [batch size, image size, 2], where the 2 is the channel number.
Please refer to the function diffs_with_edge. The first channel [..., 0:1] is the predicted appearance transformation map, while the second channel [..., 1:2] is the edge map.

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