-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Reproduce] Reproduce RepVGG Training Accuracy. (#1264)
* repr repvgg * add VisionRRC * uodate repvgg configs * add BCD seriers cfgs * add cv backend config * add vision configs * add L2se configs * add ra configs * add num-works configs * add num-works configs * configs * update README * rm extra config * reset un-needed changes * update * reset pbn * update readme * update code * update code * refine doc
- Loading branch information
Showing
32 changed files
with
352 additions
and
237 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
configs/repvgg/deploy/repvgg-A0_deploy_4xb64-coslr-120e_in1k.py
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
configs/repvgg/deploy/repvgg-A1_deploy_4xb64-coslr-120e_in1k.py
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
configs/repvgg/deploy/repvgg-A2_deploy_4xb64-coslr-120e_in1k.py
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
configs/repvgg/deploy/repvgg-B0_deploy_4xb64-coslr-120e_in1k.py
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
configs/repvgg/deploy/repvgg-B1_deploy_4xb64-coslr-120e_in1k.py
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
configs/repvgg/deploy/repvgg-B1g2_deploy_4xb64-coslr-120e_in1k.py
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
configs/repvgg/deploy/repvgg-B1g4_deploy_4xb64-coslr-120e_in1k.py
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
configs/repvgg/deploy/repvgg-B2_deploy_4xb64-coslr-120e_in1k.py
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
configs/repvgg/deploy/repvgg-B2g4_deploy_4xb64-autoaug-lbs-mixup-coslr-200e_in1k.py
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
configs/repvgg/deploy/repvgg-B3_deploy_4xb64-autoaug-lbs-mixup-coslr-200e_in1k.py
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
configs/repvgg/deploy/repvgg-B3g4_deploy_4xb64-autoaug-lbs-mixup-coslr-200e_in1k.py
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
configs/repvgg/deploy/repvgg-D2se_deploy_4xb64-autoaug-lbs-mixup-coslr-200e_in1k.py
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
_base_ = [ | ||
'../_base_/models/repvgg-A0_in1k.py', | ||
'../_base_/datasets/imagenet_bs32_pil_resize.py', | ||
'../_base_/schedules/imagenet_bs256_coslr.py', | ||
'../_base_/default_runtime.py' | ||
] | ||
|
||
val_dataloader = dict(batch_size=256) | ||
test_dataloader = dict(batch_size=256) | ||
|
||
# schedule settings | ||
optim_wrapper = dict( | ||
paramwise_cfg=dict( | ||
bias_decay_mult=0.0, | ||
custom_keys={ | ||
'branch_3x3.norm': dict(decay_mult=0.0), | ||
'branch_1x1.norm': dict(decay_mult=0.0), | ||
'branch_norm.bias': dict(decay_mult=0.0), | ||
})) | ||
|
||
# schedule settings | ||
param_scheduler = dict( | ||
type='CosineAnnealingLR', | ||
T_max=120, | ||
by_epoch=True, | ||
begin=0, | ||
end=120, | ||
convert_to_iter_based=True) | ||
|
||
train_cfg = dict(by_epoch=True, max_epochs=120) | ||
|
||
default_hooks = dict( | ||
checkpoint=dict(type='CheckpointHook', interval=1, max_keep_ckpts=3)) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
_base_ = '../repvgg-A0_8xb32_in1k.py' | ||
|
||
model = dict(backbone=dict(deploy=True)) |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
_base_ = './repvgg-A0_8xb32_in1k.py' | ||
|
||
model = dict(backbone=dict(arch='A1')) |
2 changes: 1 addition & 1 deletion
2
...repvgg/repvgg-A2_4xb64-coslr-120e_in1k.py → configs/repvgg/repvgg-A2_8xb32_in1k.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
_base_ = './repvgg-A0_4xb64-coslr-120e_in1k.py' | ||
_base_ = './repvgg-A0_8xb32_in1k.py' | ||
|
||
model = dict(backbone=dict(arch='A2'), head=dict(in_channels=1408)) |
2 changes: 1 addition & 1 deletion
2
...repvgg/repvgg-B0_4xb64-coslr-120e_in1k.py → configs/repvgg/repvgg-B0_8xb32_in1k.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
_base_ = './repvgg-A0_4xb64-coslr-120e_in1k.py' | ||
_base_ = './repvgg-A0_8xb32_in1k.py' | ||
|
||
model = dict(backbone=dict(arch='B0'), head=dict(in_channels=1280)) |
2 changes: 1 addition & 1 deletion
2
...repvgg/repvgg-B1_4xb64-coslr-120e_in1k.py → configs/repvgg/repvgg-B1_8xb32_in1k.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
_base_ = './repvgg-A0_4xb64-coslr-120e_in1k.py' | ||
_base_ = './repvgg-A0_8xb32_in1k.py' | ||
|
||
model = dict(backbone=dict(arch='B1'), head=dict(in_channels=2048)) |
2 changes: 1 addition & 1 deletion
2
...pvgg/repvgg-B1g2_4xb64-coslr-120e_in1k.py → configs/repvgg/repvgg-B1g2_8xb32_in1k.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
_base_ = './repvgg-A0_4xb64-coslr-120e_in1k.py' | ||
_base_ = './repvgg-A0_8xb32_in1k.py' | ||
|
||
model = dict(backbone=dict(arch='B1g2'), head=dict(in_channels=2048)) |
2 changes: 1 addition & 1 deletion
2
...pvgg/repvgg-B1g4_4xb64-coslr-120e_in1k.py → configs/repvgg/repvgg-B1g4_8xb32_in1k.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
_base_ = './repvgg-A0_4xb64-coslr-120e_in1k.py' | ||
_base_ = './repvgg-A0_8xb32_in1k.py' | ||
|
||
model = dict(backbone=dict(arch='B1g4'), head=dict(in_channels=2048)) |
Oops, something went wrong.