123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- _BASE_: [
- '../datasets/coco_detection.yml',
- '../runtime.yml',
- './_base_/optimizer_300e.yml',
- './_base_/ppyoloe_crn.yml',
- './_base_/ppyoloe_reader.yml',
- ]
- log_iter: 100
- snapshot_epoch: 10
- weights: output/ppyoloe_crn_t_p2_300e_coco/model_final
- pretrain_weights: https://paddledet.bj.bcebos.com/models/pretrained/CSPResNetb_t_pretrained.pdparams
- depth_mult: 0.33
- width_mult: 0.375
- CSPResNet:
- return_idx: [0, 1, 2, 3]
- CustomCSPPAN:
- out_channels: [768, 384, 192, 96]
- PPYOLOEHead:
- fpn_strides: [32, 16, 8, 4]
- attn_conv: 'repvgg' #
- assigner:
- name: TaskAlignedAssigner
- topk: 13
- alpha: 1.0
- beta: 6.0
- is_close_gt: True #
- nms:
- name: MultiClassNMS
- nms_top_k: 1000
- keep_top_k: 300
- score_threshold: 0.01
- nms_threshold: 0.7
- worker_num: 4
- eval_height: &eval_height 320
- eval_width: &eval_width 320
- eval_size: &eval_size [*eval_height, *eval_width]
- TrainReader:
- sample_transforms:
- - Decode: {}
- - RandomDistort: {}
- - RandomExpand: {fill_value: [123.675, 116.28, 103.53]}
- - RandomCrop: {}
- - RandomFlip: {}
- batch_transforms:
- - BatchRandomResize: {target_size: [224, 256, 288, 320, 352, 384, 416, 448, 480, 512, 544], random_size: True, random_interp: True, keep_ratio: False}
- - NormalizeImage: {mean: [0.485, 0.456, 0.406], std: [0.229, 0.224, 0.225], is_scale: True}
- - Permute: {}
- - PadGT: {}
- batch_size: 8
- shuffle: true
- drop_last: true
- use_shared_memory: true
- collate_batch: true
- EvalReader:
- sample_transforms:
- - Decode: {}
- - Resize: {target_size: *eval_size, keep_ratio: False, interp: 2}
- - NormalizeImage: {mean: [0.485, 0.456, 0.406], std: [0.229, 0.224, 0.225], is_scale: True}
- - Permute: {}
- batch_size: 2
- TestReader:
- inputs_def:
- image_shape: [3, *eval_height, *eval_width]
- sample_transforms:
- - Decode: {}
- - Resize: {target_size: *eval_size, keep_ratio: False, interp: 2}
- - NormalizeImage: {mean: [0.485, 0.456, 0.406], std: [0.229, 0.224, 0.225], is_scale: True}
- - Permute: {}
- batch_size: 1
- fuse_normalize: True
|