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

在models部分有关bottleneck_layer位置的问题 #1

Open
ccJIUCI opened this issue Nov 8, 2023 · 1 comment
Open

在models部分有关bottleneck_layer位置的问题 #1

ccJIUCI opened this issue Nov 8, 2023 · 1 comment

Comments

@ccJIUCI
Copy link

ccJIUCI commented Nov 8, 2023

在您的这本书提供的models.py的code中,在forward函数中,source和target是先过了classifier_layer,再通过bottleneck_layer
但是在DeepDA提供的code中,是先通过bottleneck_layer再通过classifier_layer
想问下以上两种方式哪种是正确的,抑或是都可以?

@jindongwang
Copy link
Owner

这2个的classifier_layer是不一样的,你可以仔细看一下。所以都是对的。

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