-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Adding Swin Transformer architecture #5491
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
Merged
Merged
Changes from 108 commits
Commits
Show all changes
116 commits
Select commit
Hold shift + click to select a range
533d2c0
add swin transformer
xiaohu2015 311751e
Update swin_transformer.py
xiaohu2015 8db4fcd
Merge branch 'main' into main
xiaohu2015 d478852
Update swin_transformer.py
xiaohu2015 92a1cf5
fix lint
xiaohu2015 8ac8077
fix lint
xiaohu2015 c4445a7
refactor code
xiaohu2015 97e22d7
add swin_transformer
xiaohu2015 8599a4b
Update swin_transformer.py
xiaohu2015 c378934
fix bug
xiaohu2015 c8e8fe2
refactor code
xiaohu2015 45bbbfc
fix lint
xiaohu2015 ebae8b1
update init_weights
xiaohu2015 0e76444
move shift_window into attention
xiaohu2015 9a953c3
refactor code
xiaohu2015 b9321c7
fix bug
xiaohu2015 f33d1cd
Update swin_transformer.py
xiaohu2015 41e54b8
Update swin_transformer.py
xiaohu2015 71ef011
fix lint
xiaohu2015 6af4964
add patch_merge
xiaohu2015 1689dd9
fix bug
xiaohu2015 3891aad
Update swin_transformer.py
xiaohu2015 c0e88af
Merge branch 'main' into main
xiaohu2015 86f6d6b
Update swin_transformer.py
xiaohu2015 dd9b121
Update swin_transformer.py
xiaohu2015 f869896
refactor code
xiaohu2015 f3ae314
Update swin_transformer.py
xiaohu2015 86a745d
Merge branch 'pytorch:main' into main
xiaohu2015 4ec8710
refactor code
xiaohu2015 333660f
Merge branch 'pytorch:main' into main
xiaohu2015 20b4eee
fix lint
xiaohu2015 f580cda
Merge branch 'main' into main
xiaohu2015 cb802ec
refactor code
xiaohu2015 113b074
add swin_tiny
xiaohu2015 d92a490
add swin_tiny.pkl
xiaohu2015 a1032a0
fix lint
xiaohu2015 05dd1e2
Delete ModelTester.test_swin_tiny_expect.pkl
xiaohu2015 210b629
add swin_tiny
xiaohu2015 267fbda
add
xiaohu2015 f9e6f8a
add Optional to bias
xiaohu2015 8c4f875
Merge branch 'main' into main
xiaohu2015 4ed22c0
update init weights
xiaohu2015 02a0a90
Merge branch 'pytorch:main' into main
xiaohu2015 b3a61ac
Merge branch 'pytorch:main' into main
xiaohu2015 bccc2b4
update init_weights and add no weight decay
xiaohu2015 2098b24
add no weight decay
xiaohu2015 71ea6bf
Merge branch 'pytorch:main' into main
xiaohu2015 6b0b6c2
add set_weight_decay
xiaohu2015 991e4c1
add set_weight_decay
xiaohu2015 f1ec5c8
fix lint
xiaohu2015 3c2a44d
fix lint
xiaohu2015 8e5f08b
Merge branch 'main' into main
xiaohu2015 e8b528f
add lr_cos_min
xiaohu2015 023ceb0
add other swin models
xiaohu2015 643ad6e
Merge branch 'main' into main
xiaohu2015 997587a
Merge branch 'main' into main
xiaohu2015 caad59e
Merge branch 'main' into main
xiaohu2015 113fd09
Update torchvision/models/swin_transformer.py
xiaohu2015 e91d607
refactor doc
xiaohu2015 ad1b5f6
Merge branch 'main' into main
xiaohu2015 78fb3ce
Update utils.py
xiaohu2015 b3b9a20
Update train.py
xiaohu2015 bb255c1
Update train.py
xiaohu2015 6c9b0c2
Merge branch 'main' into main
xiaohu2015 270360e
Merge branch 'main' into main
xiaohu2015 7db62b8
Merge branch 'main' into main
xiaohu2015 02f5006
Update swin_transformer.py
xiaohu2015 df626aa
update model builder
xiaohu2015 438a0dd
fix lint
xiaohu2015 070aebd
add
xiaohu2015 0cd82e1
Update torchvision/models/swin_transformer.py
xiaohu2015 8fde8ad
Update torchvision/models/swin_transformer.py
xiaohu2015 412ad15
update other model
xiaohu2015 9539c1d
simplify the model name just like ViT
xiaohu2015 16a8feb
Merge branch 'main' into main
xiaohu2015 04bf82c
add lr_cos_min
xiaohu2015 b24b8d9
fix lint
xiaohu2015 54d01f7
fix lint
xiaohu2015 961d1b5
Update swin_transformer.py
xiaohu2015 38279ed
Update swin_transformer.py
xiaohu2015 b1dcf5e
Update swin_transformer.py
xiaohu2015 0d40142
Delete ModelTester.test_swin_tiny_expect.pkl
xiaohu2015 358c6be
add swin_t
xiaohu2015 07410bd
refactor code
xiaohu2015 8c6d910
Update train.py
xiaohu2015 7c9ffd3
add swin_s
xiaohu2015 e94fdfd
ignore a error of mypy
xiaohu2015 1021fd2
Update swin_transformer.py
xiaohu2015 88a3e03
fix lint
xiaohu2015 535cc6a
add swin_b
xiaohu2015 92ae7dd
add swin_l
xiaohu2015 bb33737
refactor code
xiaohu2015 2500ff3
Update train.py
xiaohu2015 f061544
move relative_position_bias to __init__
jdsgomes 41faba2
fix formatting
jdsgomes e338dbe
Revert "fix formatting"
jdsgomes 1b8ffb1
Revert "move relative_position_bias to __init__"
jdsgomes 89fc8f1
Merge branch 'main' into main
jdsgomes affd0df
refactor code
xiaohu2015 565203b
Remove deprecated meta-data from `_COMMON_META`
datumbox 09d63f5
fix linter
datumbox b6fec69
add pretrained weights for swin_t
jdsgomes 64b52d4
merge upstream changes
jdsgomes 64af984
fix format
jdsgomes 9e0bfcb
Merge branch 'main' into main
jdsgomes 1528ca8
apply ufmt
jdsgomes e6e9ffe
add documentation
jdsgomes 137d634
update references README
jdsgomes 3457abb
adding new style docs
jdsgomes d3599ef
update pre-trained weights values
jdsgomes 4e05993
Merge branch 'main' into main
jdsgomes 6addd1b
remove other variants
jdsgomes 6c328f9
Merge branch 'main' of github.com:xiaohu2015/vision into xiaohu2015/main
jdsgomes ca59aaf
fix typo
jdsgomes e4c9646
Remove expect for the variants not yet supported
jdsgomes 9999e64
Merge branch 'main' into main
jdsgomes 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 hidden or 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 hidden or 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 hidden or 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.