detr_r50.yml 797 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. architecture: DETR
  2. pretrain_weights: https://paddledet.bj.bcebos.com/models/pretrained/ResNet50_vb_normal_pretrained.pdparams
  3. hidden_dim: 256
  4. DETR:
  5. backbone: ResNet
  6. transformer: DETRTransformer
  7. detr_head: DETRHead
  8. post_process: DETRBBoxPostProcess
  9. ResNet:
  10. # index 0 stands for res2
  11. depth: 50
  12. norm_type: bn
  13. freeze_at: 0
  14. return_idx: [3]
  15. lr_mult_list: [0.0, 0.1, 0.1, 0.1]
  16. num_stages: 4
  17. DETRTransformer:
  18. num_queries: 100
  19. position_embed_type: sine
  20. nhead: 8
  21. num_encoder_layers: 6
  22. num_decoder_layers: 6
  23. dim_feedforward: 2048
  24. dropout: 0.1
  25. activation: relu
  26. DETRHead:
  27. num_mlp_layers: 3
  28. DETRLoss:
  29. loss_coeff: {class: 1, bbox: 5, giou: 2, no_object: 0.1, mask: 1, dice: 1}
  30. aux_loss: True
  31. HungarianMatcher:
  32. matcher_coeff: {class: 1, bbox: 5, giou: 2}