Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMPretrain-MMCV
Commits
dff2c686
Commit
dff2c686
authored
Sep 03, 2024
by
renzhc
Browse files
first commit
parent
8f9dd0ed
Pipeline
#1665
canceled with stages
Changes
1000
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
386 additions
and
0 deletions
+386
-0
configs/_base_/models/conformer/small-p32.py
configs/_base_/models/conformer/small-p32.py
+27
-0
configs/_base_/models/conformer/tiny-p16.py
configs/_base_/models/conformer/tiny-p16.py
+23
-0
configs/_base_/models/convmixer/convmixer-1024-20.py
configs/_base_/models/convmixer/convmixer-1024-20.py
+11
-0
configs/_base_/models/convmixer/convmixer-1536-20.py
configs/_base_/models/convmixer/convmixer-1536-20.py
+11
-0
configs/_base_/models/convmixer/convmixer-768-32.py
configs/_base_/models/convmixer/convmixer-768-32.py
+11
-0
configs/_base_/models/convnext/convnext-base.py
configs/_base_/models/convnext/convnext-base.py
+19
-0
configs/_base_/models/convnext/convnext-large.py
configs/_base_/models/convnext/convnext-large.py
+19
-0
configs/_base_/models/convnext/convnext-small.py
configs/_base_/models/convnext/convnext-small.py
+19
-0
configs/_base_/models/convnext/convnext-tiny.py
configs/_base_/models/convnext/convnext-tiny.py
+19
-0
configs/_base_/models/convnext/convnext-xlarge.py
configs/_base_/models/convnext/convnext-xlarge.py
+19
-0
configs/_base_/models/convnext_v2/atto.py
configs/_base_/models/convnext_v2/atto.py
+20
-0
configs/_base_/models/convnext_v2/base.py
configs/_base_/models/convnext_v2/base.py
+24
-0
configs/_base_/models/convnext_v2/femto.py
configs/_base_/models/convnext_v2/femto.py
+20
-0
configs/_base_/models/convnext_v2/huge.py
configs/_base_/models/convnext_v2/huge.py
+24
-0
configs/_base_/models/convnext_v2/large.py
configs/_base_/models/convnext_v2/large.py
+24
-0
configs/_base_/models/convnext_v2/nano.py
configs/_base_/models/convnext_v2/nano.py
+20
-0
configs/_base_/models/convnext_v2/pico.py
configs/_base_/models/convnext_v2/pico.py
+20
-0
configs/_base_/models/convnext_v2/tiny.py
configs/_base_/models/convnext_v2/tiny.py
+24
-0
configs/_base_/models/davit/davit-base.py
configs/_base_/models/davit/davit-base.py
+16
-0
configs/_base_/models/davit/davit-small.py
configs/_base_/models/davit/davit-small.py
+16
-0
No files found.
Too many changes to show.
To preserve performance only
1000 of 1000+
files are displayed.
Plain diff
Email patch
configs/_base_/models/conformer/small-p32.py
0 → 100644
View file @
dff2c686
# model settings
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'Conformer'
,
arch
=
'small'
,
patch_size
=
32
,
drop_path_rate
=
0.1
,
init_cfg
=
None
),
neck
=
None
,
head
=
dict
(
type
=
'ConformerHead'
,
num_classes
=
1000
,
in_channels
=
[
1024
,
384
],
init_cfg
=
None
,
loss
=
dict
(
type
=
'LabelSmoothLoss'
,
label_smooth_val
=
0.1
,
mode
=
'original'
),
cal_acc
=
False
),
init_cfg
=
[
dict
(
type
=
'TruncNormal'
,
layer
=
'Linear'
,
std
=
0.02
,
bias
=
0.
),
dict
(
type
=
'Constant'
,
layer
=
'LayerNorm'
,
val
=
1.
,
bias
=
0.
)
],
train_cfg
=
dict
(
augments
=
[
dict
(
type
=
'Mixup'
,
alpha
=
0.8
),
dict
(
type
=
'CutMix'
,
alpha
=
1.0
)
]),
)
configs/_base_/models/conformer/tiny-p16.py
0 → 100644
View file @
dff2c686
# model settings
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'Conformer'
,
arch
=
'tiny'
,
drop_path_rate
=
0.1
,
init_cfg
=
None
),
neck
=
None
,
head
=
dict
(
type
=
'ConformerHead'
,
num_classes
=
1000
,
in_channels
=
[
256
,
384
],
init_cfg
=
None
,
loss
=
dict
(
type
=
'LabelSmoothLoss'
,
label_smooth_val
=
0.1
,
mode
=
'original'
),
cal_acc
=
False
),
init_cfg
=
[
dict
(
type
=
'TruncNormal'
,
layer
=
'Linear'
,
std
=
0.02
,
bias
=
0.
),
dict
(
type
=
'Constant'
,
layer
=
'LayerNorm'
,
val
=
1.
,
bias
=
0.
)
],
train_cfg
=
dict
(
augments
=
[
dict
(
type
=
'Mixup'
,
alpha
=
0.8
),
dict
(
type
=
'CutMix'
,
alpha
=
1.0
)
]),
)
configs/_base_/models/convmixer/convmixer-1024-20.py
0 → 100644
View file @
dff2c686
# Model settings
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'ConvMixer'
,
arch
=
'1024/20'
),
neck
=
dict
(
type
=
'GlobalAveragePooling'
),
head
=
dict
(
type
=
'LinearClsHead'
,
num_classes
=
1000
,
in_channels
=
1024
,
loss
=
dict
(
type
=
'CrossEntropyLoss'
,
loss_weight
=
1.0
),
))
configs/_base_/models/convmixer/convmixer-1536-20.py
0 → 100644
View file @
dff2c686
# Model settings
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'ConvMixer'
,
arch
=
'1536/20'
),
neck
=
dict
(
type
=
'GlobalAveragePooling'
),
head
=
dict
(
type
=
'LinearClsHead'
,
num_classes
=
1000
,
in_channels
=
1536
,
loss
=
dict
(
type
=
'CrossEntropyLoss'
,
loss_weight
=
1.0
),
))
configs/_base_/models/convmixer/convmixer-768-32.py
0 → 100644
View file @
dff2c686
# Model settings
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'ConvMixer'
,
arch
=
'768/32'
,
act_cfg
=
dict
(
type
=
'ReLU'
)),
neck
=
dict
(
type
=
'GlobalAveragePooling'
),
head
=
dict
(
type
=
'LinearClsHead'
,
num_classes
=
1000
,
in_channels
=
768
,
loss
=
dict
(
type
=
'CrossEntropyLoss'
,
loss_weight
=
1.0
),
))
configs/_base_/models/convnext/convnext-base.py
0 → 100644
View file @
dff2c686
# Model settings
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'ConvNeXt'
,
arch
=
'base'
,
drop_path_rate
=
0.5
),
head
=
dict
(
type
=
'LinearClsHead'
,
num_classes
=
1000
,
in_channels
=
1024
,
loss
=
dict
(
type
=
'LabelSmoothLoss'
,
label_smooth_val
=
0.1
,
mode
=
'original'
),
init_cfg
=
None
,
),
init_cfg
=
dict
(
type
=
'TruncNormal'
,
layer
=
[
'Conv2d'
,
'Linear'
],
std
=
.
02
,
bias
=
0.
),
train_cfg
=
dict
(
augments
=
[
dict
(
type
=
'Mixup'
,
alpha
=
0.8
),
dict
(
type
=
'CutMix'
,
alpha
=
1.0
),
]),
)
configs/_base_/models/convnext/convnext-large.py
0 → 100644
View file @
dff2c686
# Model settings
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'ConvNeXt'
,
arch
=
'large'
,
drop_path_rate
=
0.5
),
head
=
dict
(
type
=
'LinearClsHead'
,
num_classes
=
1000
,
in_channels
=
1536
,
loss
=
dict
(
type
=
'LabelSmoothLoss'
,
label_smooth_val
=
0.1
,
mode
=
'original'
),
init_cfg
=
None
,
),
init_cfg
=
dict
(
type
=
'TruncNormal'
,
layer
=
[
'Conv2d'
,
'Linear'
],
std
=
.
02
,
bias
=
0.
),
train_cfg
=
dict
(
augments
=
[
dict
(
type
=
'Mixup'
,
alpha
=
0.8
),
dict
(
type
=
'CutMix'
,
alpha
=
1.0
),
]),
)
configs/_base_/models/convnext/convnext-small.py
0 → 100644
View file @
dff2c686
# Model settings
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'ConvNeXt'
,
arch
=
'small'
,
drop_path_rate
=
0.4
),
head
=
dict
(
type
=
'LinearClsHead'
,
num_classes
=
1000
,
in_channels
=
768
,
loss
=
dict
(
type
=
'LabelSmoothLoss'
,
label_smooth_val
=
0.1
,
mode
=
'original'
),
init_cfg
=
None
,
),
init_cfg
=
dict
(
type
=
'TruncNormal'
,
layer
=
[
'Conv2d'
,
'Linear'
],
std
=
.
02
,
bias
=
0.
),
train_cfg
=
dict
(
augments
=
[
dict
(
type
=
'Mixup'
,
alpha
=
0.8
),
dict
(
type
=
'CutMix'
,
alpha
=
1.0
),
]),
)
configs/_base_/models/convnext/convnext-tiny.py
0 → 100644
View file @
dff2c686
# Model settings
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'ConvNeXt'
,
arch
=
'tiny'
,
drop_path_rate
=
0.1
),
head
=
dict
(
type
=
'LinearClsHead'
,
num_classes
=
1000
,
in_channels
=
768
,
loss
=
dict
(
type
=
'LabelSmoothLoss'
,
label_smooth_val
=
0.1
,
mode
=
'original'
),
init_cfg
=
None
,
),
init_cfg
=
dict
(
type
=
'TruncNormal'
,
layer
=
[
'Conv2d'
,
'Linear'
],
std
=
.
02
,
bias
=
0.
),
train_cfg
=
dict
(
augments
=
[
dict
(
type
=
'Mixup'
,
alpha
=
0.8
),
dict
(
type
=
'CutMix'
,
alpha
=
1.0
),
]),
)
configs/_base_/models/convnext/convnext-xlarge.py
0 → 100644
View file @
dff2c686
# Model settings
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'ConvNeXt'
,
arch
=
'xlarge'
,
drop_path_rate
=
0.5
),
head
=
dict
(
type
=
'LinearClsHead'
,
num_classes
=
1000
,
in_channels
=
2048
,
loss
=
dict
(
type
=
'LabelSmoothLoss'
,
label_smooth_val
=
0.1
,
mode
=
'original'
),
init_cfg
=
None
,
),
init_cfg
=
dict
(
type
=
'TruncNormal'
,
layer
=
[
'Conv2d'
,
'Linear'
],
std
=
.
02
,
bias
=
0.
),
train_cfg
=
dict
(
augments
=
[
dict
(
type
=
'Mixup'
,
alpha
=
0.8
),
dict
(
type
=
'CutMix'
,
alpha
=
1.0
),
]),
)
configs/_base_/models/convnext_v2/atto.py
0 → 100644
View file @
dff2c686
# Model settings
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'ConvNeXt'
,
arch
=
'atto'
,
drop_path_rate
=
0.1
,
layer_scale_init_value
=
0.
,
use_grn
=
True
,
),
head
=
dict
(
type
=
'LinearClsHead'
,
num_classes
=
1000
,
in_channels
=
320
,
loss
=
dict
(
type
=
'LabelSmoothLoss'
,
label_smooth_val
=
0.2
),
init_cfg
=
None
,
),
init_cfg
=
dict
(
type
=
'TruncNormal'
,
layer
=
[
'Conv2d'
,
'Linear'
],
std
=
.
02
,
bias
=
0.
),
)
configs/_base_/models/convnext_v2/base.py
0 → 100644
View file @
dff2c686
# Model settings
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'ConvNeXt'
,
arch
=
'base'
,
drop_path_rate
=
0.1
,
layer_scale_init_value
=
0.
,
use_grn
=
True
,
),
head
=
dict
(
type
=
'LinearClsHead'
,
num_classes
=
1000
,
in_channels
=
1024
,
loss
=
dict
(
type
=
'LabelSmoothLoss'
,
label_smooth_val
=
0.1
),
init_cfg
=
None
,
),
init_cfg
=
dict
(
type
=
'TruncNormal'
,
layer
=
[
'Conv2d'
,
'Linear'
],
std
=
.
02
,
bias
=
0.
),
train_cfg
=
dict
(
augments
=
[
dict
(
type
=
'Mixup'
,
alpha
=
0.8
),
dict
(
type
=
'CutMix'
,
alpha
=
1.0
),
]),
)
configs/_base_/models/convnext_v2/femto.py
0 → 100644
View file @
dff2c686
# Model settings
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'ConvNeXt'
,
arch
=
'femto'
,
drop_path_rate
=
0.1
,
layer_scale_init_value
=
0.
,
use_grn
=
True
,
),
head
=
dict
(
type
=
'LinearClsHead'
,
num_classes
=
1000
,
in_channels
=
384
,
loss
=
dict
(
type
=
'LabelSmoothLoss'
,
label_smooth_val
=
0.1
),
init_cfg
=
None
,
),
init_cfg
=
dict
(
type
=
'TruncNormal'
,
layer
=
[
'Conv2d'
,
'Linear'
],
std
=
.
02
,
bias
=
0.
),
)
configs/_base_/models/convnext_v2/huge.py
0 → 100644
View file @
dff2c686
# Model settings
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'ConvNeXt'
,
arch
=
'huge'
,
drop_path_rate
=
0.1
,
layer_scale_init_value
=
0.
,
use_grn
=
True
,
),
head
=
dict
(
type
=
'LinearClsHead'
,
num_classes
=
1000
,
in_channels
=
2816
,
loss
=
dict
(
type
=
'LabelSmoothLoss'
,
label_smooth_val
=
0.1
),
init_cfg
=
None
,
),
init_cfg
=
dict
(
type
=
'TruncNormal'
,
layer
=
[
'Conv2d'
,
'Linear'
],
std
=
.
02
,
bias
=
0.
),
train_cfg
=
dict
(
augments
=
[
dict
(
type
=
'Mixup'
,
alpha
=
0.8
),
dict
(
type
=
'CutMix'
,
alpha
=
1.0
),
]),
)
configs/_base_/models/convnext_v2/large.py
0 → 100644
View file @
dff2c686
# Model settings
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'ConvNeXt'
,
arch
=
'large'
,
drop_path_rate
=
0.1
,
layer_scale_init_value
=
0.
,
use_grn
=
True
,
),
head
=
dict
(
type
=
'LinearClsHead'
,
num_classes
=
1000
,
in_channels
=
1536
,
loss
=
dict
(
type
=
'LabelSmoothLoss'
,
label_smooth_val
=
0.1
),
init_cfg
=
None
,
),
init_cfg
=
dict
(
type
=
'TruncNormal'
,
layer
=
[
'Conv2d'
,
'Linear'
],
std
=
.
02
,
bias
=
0.
),
train_cfg
=
dict
(
augments
=
[
dict
(
type
=
'Mixup'
,
alpha
=
0.8
),
dict
(
type
=
'CutMix'
,
alpha
=
1.0
),
]),
)
configs/_base_/models/convnext_v2/nano.py
0 → 100644
View file @
dff2c686
# Model settings
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'ConvNeXt'
,
arch
=
'nano'
,
drop_path_rate
=
0.1
,
layer_scale_init_value
=
0.
,
use_grn
=
True
,
),
head
=
dict
(
type
=
'LinearClsHead'
,
num_classes
=
1000
,
in_channels
=
640
,
loss
=
dict
(
type
=
'LabelSmoothLoss'
,
label_smooth_val
=
0.2
),
init_cfg
=
None
,
),
init_cfg
=
dict
(
type
=
'TruncNormal'
,
layer
=
[
'Conv2d'
,
'Linear'
],
std
=
.
02
,
bias
=
0.
),
)
configs/_base_/models/convnext_v2/pico.py
0 → 100644
View file @
dff2c686
# Model settings
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'ConvNeXt'
,
arch
=
'pico'
,
drop_path_rate
=
0.1
,
layer_scale_init_value
=
0.
,
use_grn
=
True
,
),
head
=
dict
(
type
=
'LinearClsHead'
,
num_classes
=
1000
,
in_channels
=
512
,
loss
=
dict
(
type
=
'LabelSmoothLoss'
,
label_smooth_val
=
0.1
),
init_cfg
=
None
,
),
init_cfg
=
dict
(
type
=
'TruncNormal'
,
layer
=
[
'Conv2d'
,
'Linear'
],
std
=
.
02
,
bias
=
0.
),
)
configs/_base_/models/convnext_v2/tiny.py
0 → 100644
View file @
dff2c686
# Model settings
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'ConvNeXt'
,
arch
=
'tiny'
,
drop_path_rate
=
0.2
,
layer_scale_init_value
=
0.
,
use_grn
=
True
,
),
head
=
dict
(
type
=
'LinearClsHead'
,
num_classes
=
1000
,
in_channels
=
768
,
loss
=
dict
(
type
=
'LabelSmoothLoss'
,
label_smooth_val
=
0.2
),
init_cfg
=
None
,
),
init_cfg
=
dict
(
type
=
'TruncNormal'
,
layer
=
[
'Conv2d'
,
'Linear'
],
std
=
.
02
,
bias
=
0.
),
train_cfg
=
dict
(
augments
=
[
dict
(
type
=
'Mixup'
,
alpha
=
0.8
),
dict
(
type
=
'CutMix'
,
alpha
=
1.0
),
]),
)
configs/_base_/models/davit/davit-base.py
0 → 100644
View file @
dff2c686
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'DaViT'
,
arch
=
'base'
,
out_indices
=
(
3
,
),
drop_path_rate
=
0.4
),
neck
=
dict
(
type
=
'GlobalAveragePooling'
),
head
=
dict
(
type
=
'LinearClsHead'
,
num_classes
=
1000
,
in_channels
=
1024
,
loss
=
dict
(
type
=
'LabelSmoothLoss'
,
label_smooth_val
=
0.1
,
mode
=
'original'
),
),
train_cfg
=
dict
(
augments
=
[
dict
(
type
=
'Mixup'
,
alpha
=
0.8
),
dict
(
type
=
'CutMix'
,
alpha
=
1.0
)
]))
configs/_base_/models/davit/davit-small.py
0 → 100644
View file @
dff2c686
model
=
dict
(
type
=
'ImageClassifier'
,
backbone
=
dict
(
type
=
'DaViT'
,
arch
=
'small'
,
out_indices
=
(
3
,
),
drop_path_rate
=
0.2
),
neck
=
dict
(
type
=
'GlobalAveragePooling'
),
head
=
dict
(
type
=
'LinearClsHead'
,
num_classes
=
1000
,
in_channels
=
768
,
loss
=
dict
(
type
=
'LabelSmoothLoss'
,
label_smooth_val
=
0.1
,
mode
=
'original'
),
),
train_cfg
=
dict
(
augments
=
[
dict
(
type
=
'Mixup'
,
alpha
=
0.8
),
dict
(
type
=
'CutMix'
,
alpha
=
1.0
)
]))
Prev
1
2
3
4
5
6
7
8
9
…
50
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment