29 lines
572 B
YAML
29 lines
572 B
YAML
_BASE_: [
|
|
'../datasets/coco_detection.yml',
|
|
'../runtime.yml',
|
|
'_base_/optimizer_6x.yml',
|
|
'_base_/rtdetr_r50vd.yml',
|
|
'_base_/rtdetr_reader.yml',
|
|
]
|
|
|
|
weights: output/rtdetr_r50vd_m_6x_coco/model_final
|
|
find_unused_parameters: True
|
|
log_iter: 200
|
|
|
|
HybridEncoder:
|
|
hidden_dim: 256
|
|
use_encoder_idx: [2]
|
|
num_encoder_layers: 1
|
|
encoder_layer:
|
|
name: TransformerLayer
|
|
d_model: 256
|
|
nhead: 8
|
|
dim_feedforward: 1024
|
|
dropout: 0.
|
|
activation: 'gelu'
|
|
expansion: 0.5
|
|
depth_mult: 1.0
|
|
|
|
RTDETRTransformer:
|
|
eval_idx: 2 # use 3th decoder layer to eval
|