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

confidence map #24

Closed
LeiyuanMa opened this issue Nov 3, 2018 · 4 comments
Closed

confidence map #24

LeiyuanMa opened this issue Nov 3, 2018 · 4 comments

Comments

@LeiyuanMa
Copy link

Excuse me, There are one more questions...hope it not bothing you too much...
"The output of D is a probability map with values ranges from 0-1. When the input is unlabeled data, we use the D output map as the indicator for semi-supervised learning."

D_out = interp(model_D(F.softmax(pred)))
D_out_sigmoid = F.sigmoid(D_out).data.cpu().numpy().squeeze(axis=1)
##following is used to draw the confindence map in your papar Figure3
for i in range(args.batch_size):
plt.imshow(D_out_sigmoid[i], cmap='jet')
plt.show()
Can I interpret the D_out_sigmoid is the confidence map you mentioned?
I use VOC_20000.pth and VOC_20000_D.pth(when use these two model the evaluatation mIOU is 0.709) as the parameters for RESTORE_FROM and RESTORE_FROM_D,and tried to get the figure of confidence map,but it looks not matching so well,it looks weird ,can you explain how you get the confidence map in your paper?

@hfslyc
Copy link
Owner

hfslyc commented Nov 3, 2018

the code looks fine to me. What do you mean by "not matching so well"?

@LeiyuanMa
Copy link
Author

plt.imshow(D_out_sigmoid[i], cmap='jet')
Does this image should looks close to the ground truth?

@LeiyuanMa
Copy link
Author

and Is it the right way to draw confidence map?

@hfslyc
Copy link
Owner

hfslyc commented Nov 3, 2018 via email

@hfslyc hfslyc closed this as completed Nov 29, 2018
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