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

help #2

Open
bili1bili opened this issue Apr 15, 2018 · 1 comment
Open

help #2

bili1bili opened this issue Apr 15, 2018 · 1 comment

Comments

@bili1bili
Copy link

thanks your code. and i have some confusion of this code. in this paper, student(target) and teacher(target) have different augmentation, dropout and noise parameters. but i think there are the same setting both student and teacher in the code.

@Britefury
Copy link
Owner

The critical lines are:

  • line 431; the call to the map method of the data source. This invokes the augment function on each mini-batch.
  • line 230; the augment function takes the source and target domain samples, within which on line 232 the code X_tgt_stu, X_tgt_tea = tgt_aug.augment_pair(X_tgt) augments the target sample twice, with different random parameters; once for the student and once for the teacher.

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