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

Question about Pseudo-labels are source domain but not target domain in the code #19

Closed
jingzhengli opened this issue Jun 3, 2021 · 1 comment

Comments

@jingzhengli
Copy link

Hi, thanks for the nice code~
I have some questions about the pseudo-labels training part of the code,

this is the pseudo labeling loss of the source data as Eq.11 in paper:
loss_seg1 = self.update_variance(labels, pred1, pred2), in which the labels come from the source domain.

the target domain does not use the pseudo-labels but the entropy minimization:
loss_kl = ( self.kl_loss(self.log_sm(pred_target2) , mean_pred) + self.kl_loss(self.log_sm(pred_target1) , mean_pred))/(nhw)

@jingzhengli jingzhengli changed the title Question about Pseudo-labels are source domain but not target domain in the cod Question about Pseudo-labels are source domain but not target domain in the code Jun 3, 2021
@jingzhengli
Copy link
Author

I saw the #Issue 8 and it solved my confusion

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