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

about classification_head #3

Open
leonzgtee opened this issue Jan 21, 2021 · 0 comments
Open

about classification_head #3

leonzgtee opened this issue Jan 21, 2021 · 0 comments

Comments

@leonzgtee
Copy link

hi, is the classification_head right in utils/model_class?

class classification_head(nn.Module):
"""

Each task has a seperate classification head which houses the features that
are specific to that particular task. These features are unshared across tasks
as described in section 5.1 of the paper

"""

def __init__(self, in_features, out_features):
	super(classification_head, self).__init__()
	self.fc = nn.Linear(in_features, out_features)

def forward(self, x):
	return x
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