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

Segmentation result #43

Open
yahoo0742 opened this issue Jul 18, 2021 · 0 comments
Open

Segmentation result #43

yahoo0742 opened this issue Jul 18, 2021 · 0 comments

Comments

@yahoo0742
Copy link

Hi @carrierlxk,
I believe the output of the model has 2 tensors in the shape of (N_batch, 1_channel, H, W) respectively. In the code below

output_sum = output_sum + output[0].data[0,0].cpu().numpy() #分割那个分支的结果

It only summed prediction for the first input of a batch data[0,0], and in the end for a batch, there is only one masks generated even though there are more than one input.

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