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

enhance vit model #4737

Closed
wants to merge 1 commit into from
Closed

enhance vit model #4737

wants to merge 1 commit into from

Conversation

ahatamiz
Copy link
Contributor

Signed-off-by: ahatamizadeh [email protected]

PR Removes the activation function in ViT classification head.

Description

For some unknown reason, there is an activation function in the classification head of the ViT model. This PR removes it as the architecture should be agnostic to the choice of final activation function.

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

Signed-off-by: ahatamizadeh <[email protected]>
@ahatamiz
Copy link
Contributor Author

Noticed a similar PR is also submitted. Closing this PR as the issue would be addressed.

@ahatamiz ahatamiz closed this Jul 20, 2022
@ahatamiz ahatamiz deleted the vit_v1 branch July 20, 2022 19:24
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

Successfully merging this pull request may close these issues.

1 participant