-
Notifications
You must be signed in to change notification settings - Fork 65
[Fix] Fix swav readme doc #169
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
Open
shiyutang
wants to merge
54
commits into
PaddlePaddle:main
Choose a base branch
from
shiyutang:test
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
143e493
transfer_swav
shiyutang 31921ca
valid_train
shiyutang cc7f630
freeze_align
shiyutang 4d8dc6b
add_ft_swav
shiyutang 32b94c3
add_pretrain
shiyutang 9ca16f3
Merge branch 'main' of https://github.com/PaddlePaddle/PASSL into test
shiyutang 1da07b1
update_pretrain
shiyutang 9dc271a
Merge branch 'main' of https://github.com/PaddlePaddle/PASSL into test
shiyutang 709ea4d
ready_for_semi
shiyutang 767494f
same
shiyutang e77313a
Merge branch 'test' of https://github.com/shiyutang/PASSL into test
shiyutang 0021d00
split_params
shiyutang 57af8e9
split_params
shiyutang 120ed43
Merge branch 'test' of https://github.com/shiyutang/PASSL into test
shiyutang 277ab82
validate_ft
shiyutang 5e739fa
format
shiyutang 76056f5
add_pretrain
shiyutang 1d69baa
valid_pretrain
shiyutang 5922ab1
format
shiyutang 8270a3c
fix_AttrDict_error
shiyutang 4e42f8e
replace_swav_resnet
shiyutang 21639c2
add_ci_readme
shiyutang 6814c12
compact_lr_group
shiyutang 9ed1968
Merge branch 'main' of https://github.com/PaddlePaddle/PASSL into test
shiyutang 77060bf
format
shiyutang 45d5273
valid_ft
shiyutang 3ea3e73
backbone_config
shiyutang 675e075
verified
shiyutang 2c25981
fix
shiyutang df744d0
update
shiyutang 948e9b9
fix
shiyutang 49b7dac
fix_ci
shiyutang 3cfb191
edit_accord_comment
shiyutang d9f9bf1
fix
shiyutang dc55ff6
fix_by_comment
shiyutang 9ce9066
Merge branch 'main' of https://github.com/PaddlePaddle/PASSL into test
shiyutang 6b1c6a5
pretrained_model
shiyutang bc3f41f
add_models
shiyutang c8175d3
CI
shiyutang 510ca3d
CI
shiyutang 455bf84
CI
shiyutang 9473b92
fix_CI
shiyutang 4201699
update_10per
shiyutang 0d4292a
fix_ci
shiyutang 3b0862c
ft_ips
shiyutang afba8ea
fix_by_comment
shiyutang c975a33
update
shiyutang 0016737
update
shiyutang 363b4a4
pretrain_fix
shiyutang a556099
update
shiyutang 790500f
update
shiyutang b929bf2
update_doc
shiyutang dd977a1
Merge branch 'main' into test
shiyutang ed68110
Merge branch 'main' into test
GuoxiaWang 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,7 +62,8 @@ python -m paddle.distributed.launch \ | |
--master=$PADDLE_MASTER \ | ||
--devices=$CUDA_VISIBLE_DEVICES \ | ||
passl-train \ | ||
-c ./configs/swav_resnet50_224_lp_in1k_1n8c_dp_fp16o1.yaml | ||
-c ./configs/swav_resnet50_224_lp_in1k_1n8c_dp_fp32.yaml | ||
|
||
``` | ||
|
||
## How to End-to-End Fine-tuning | ||
|
@@ -96,8 +97,8 @@ To perform end-to-end fine-tuning for SwAV: | |
--master=$PADDLE_MASTER \ | ||
--devices=$CUDA_VISIBLE_DEVICES \ | ||
passl-train \ | ||
-c ./configs/swav_resnet50_224_ft_in1k_1n4c_dp_fp16o1.yaml | ||
-o Global.pretrained_model=./pretrained/swav/swav_resnet50_in1k_800ep_pretrained | ||
-c ./configs/swav_resnet50_224_ft_in1k_1n4c_dp_fp32.yaml | ||
-o Global.pretrained_model=./pretrained/swav/swav_resnet50_in1k_800ep_bz4096_pretrained | ||
``` | ||
|
||
## Other Configurations | ||
|
@@ -109,10 +110,10 @@ We provide more directly runnable configurations, see [SwAV Configurations](./co | |
| Model | Phase | Dataset | Configs | GPUs | Epochs | Top1 Acc (%) | Links | | ||
| ------------- | ----------- | ------------ | ------------------------------------------------------------ | ---------- | ------ | -------- | ------------------------------------------------------------ | | ||
| resnet50 | pretrain | ImageNet2012 | [config](./configs/swav_resnet50_224_pt_in1k_4n32c_dp_fp16o1.yaml) | A100*N2C16 | 800 | - | [model](https://passl.bj.bcebos.com/models/swav/swav_resnet50_in1k_800ep_bz4096_pretrained.pdparams) \| [log](https://passl.bj.bcebos.com/models/swav/swav_resnet50_in1k_800ep_bz4096_pretrained.log) | | ||
| resnet50 | linear probe | ImageNet2012 | [config](./configs/swav_resnet50_224_lp_in1k_4n32c_dp_fp16o1.yaml) | A100*N1C8 | 100 | 75.3 | [model](https://passl.bj.bcebos.com/models/swav/swav_resnet50_in1k_linearprobe.pdparams) \| [log](https://passl.bj.bcebos.com/models/swav/swav_resnet50_in1k_linearprobe.log) | | ||
| resnet50 | finetune-semi10 | ImageNet2012 | [config](./configs/swav_resnet50_224_ft_in1k_1n4c_dp_fp16o1.yaml) | A100*N1C4 | 20 | 69.0 | [model](https://passl.bj.bcebos.com/models/swav/swav_resnet50_in1k_finetune_10percent.pdparams) \| [log](https://passl.bj.bcebos.com/models/swav/swav_resnet50_in1k_finetune_10percent.log) | | ||
| resnet50 | finetune-semi10 | ImageNet2012 | [config](./configs/swav_resnet50_224_ft_in1k_1n4c_dp_fp16o1.yaml) | A100*N1C4 | 20 | 55.0 | [model](https://passl.bj.bcebos.com/models/swav/swav_resnet50_in1k_finetune_1percent.pdparams) \| [log](https://passl.bj.bcebos.com/models/swav/swav_resnet50_in1k_finetune_1percent.log) | | ||
## Citations | ||
| resnet50 | linear probe | ImageNet2012 | [config](./configs/swav_resnet50_224_lp_in1k_4n32c_dp_fp32.yaml) | A100*N1C8 | 100 | 75.3 | [model](https://passl.bj.bcebos.com/models/swav/swav_resnet50_in1k_linearprobe.pdparams) \| [log](https://passl.bj.bcebos.com/models/swav/swav_resnet50_in1k_linearprobe.log) | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. swav_resnet50_224_lp_in1k_1n8c_dp_fp32.yaml |
||
| resnet50 | finetune-semi10 | ImageNet2012 | [config](./configs/swav_resnet50_224_ft_in1k_1n4c_dp_fp32.yaml) | A100*N1C4 | 20 | 69.0 | [model](https://passl.bj.bcebos.com/models/swav/swav_resnet50_in1k_finetune_10percent.pdparams) \| [log](https://passl.bj.bcebos.com/models/swav/swav_resnet50_in1k_finetune_10percent.log) | | ||
| resnet50 | finetune-semi10 | ImageNet2012 | [config](./configs/swav_resnet50_224_ft_in1k_1n4c_dp_fp32.yaml) | A100*N1C4 | 20 | 55.0 | [model](https://passl.bj.bcebos.com/models/swav/swav_resnet50_in1k_finetune_1percent.pdparams) \| [log](https://passl.bj.bcebos.com/models/swav/swav_resnet50_in1k_finetune_1percent.log) | | ||
|
||
|
||
```bibtex | ||
@misc{caron2021unsupervised, | ||
|
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.
GPUs: A100*N4C32 ?