-
Notifications
You must be signed in to change notification settings - Fork 27.4k
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
TensorFlow MobileViT #18555
Merged
Merged
TensorFlow MobileViT #18555
Changes from 18 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
712429b
initial implementation.
sayakpaul 2251838
add: working model till image classification.
sayakpaul db3ac6d
add: initial implementation that passes intg tests.
sayakpaul f08fdaa
chore: formatting.
sayakpaul 8569374
add: tests (still breaking because of config mismatch).
sayakpaul 6fcc70f
add: corrected tests and remaning changes.
sayakpaul cd72a53
fix code style and repo consistency.
sayakpaul 7c51b81
Merge branch 'main' into feat/tf-mobilevit
sayakpaul cc634b7
address PR comments.
sayakpaul 6e419e4
Merge branch 'main' into feat/tf-mobilevit
sayakpaul 1c9b6f2
address Amy's comments.
sayakpaul 2651b2b
Merge branch 'main' into feat/tf-mobilevit
sayakpaul 1d962b6
Merge branch 'main' into feat/tf-mobilevit
sayakpaul 82079a7
chore: remove from_pt argument.
sayakpaul c0fbe35
chore: add full-stop.
sayakpaul 35d4303
Merge branch 'main' into feat/tf-mobilevit
sayakpaul 32cfd30
fix: TFLite model conversion in the doc.
sayakpaul e81539a
Merge branch 'main' into feat/tf-mobilevit
sayakpaul b5593b9
Update src/transformers/models/mobilevit/modeling_tf_mobilevit.py
sayakpaul 4365320
Update src/transformers/models/mobilevit/modeling_tf_mobilevit.py
sayakpaul 7c93be0
Update src/transformers/models/mobilevit/modeling_tf_mobilevit.py
sayakpaul 06cb368
Update src/transformers/models/mobilevit/modeling_tf_mobilevit.py
sayakpaul 560d7ca
Update src/transformers/models/mobilevit/modeling_tf_mobilevit.py
sayakpaul 127a0f1
apply formatting.
sayakpaul 43ce94d
chore: remove comments from the example block.
sayakpaul 9b00370
remove identation in the example.
sayakpaul File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could it be because the example is indented?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it, for some reason. The failure seems to disappear locally when I remove it. In any case its place is probably closer to the TF models doc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was the culprit it seems :3