ppyoloe_plus_crn_t_p2_60e_pphuman.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. _BASE_: [
  2. '../datasets/coco_detection.yml',
  3. '../runtime.yml',
  4. '../ppyoloe/_base_/optimizer_300e.yml',
  5. '../ppyoloe/_base_/ppyoloe_plus_crn_tiny_auxhead.yml',
  6. '../ppyoloe/_base_/ppyoloe_plus_reader_tiny.yml',
  7. ]
  8. log_iter: 100
  9. snapshot_epoch: 4
  10. weights: output/ppyoloe_plus_crn_tiny_60e_pphuman/model_final
  11. pretrain_weights: https://paddledet.bj.bcebos.com/models/ppyoloe_plus_crn_tiny_auxhead_300e_coco.pdparams
  12. depth_mult: 0.33
  13. width_mult: 0.375
  14. num_classes: 1
  15. TrainDataset:
  16. !COCODataSet
  17. image_dir: ""
  18. anno_path: annotations/train.json
  19. dataset_dir: dataset/pphuman
  20. data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd']
  21. EvalDataset:
  22. !COCODataSet
  23. image_dir: ""
  24. anno_path: annotations/val.json
  25. dataset_dir: dataset/pphuman
  26. TestDataset:
  27. !ImageFolder
  28. anno_path: annotations/val.json
  29. dataset_dir: dataset/pphuman
  30. TrainReader:
  31. batch_size: 8
  32. epoch: 60
  33. LearningRate:
  34. base_lr: 0.001
  35. schedulers:
  36. - !CosineDecay
  37. max_epochs: 72
  38. - !LinearWarmup
  39. start_factor: 0.
  40. epochs: 1
  41. PPYOLOEHead:
  42. static_assigner_epoch: -1
  43. nms:
  44. name: MultiClassNMS
  45. nms_top_k: 1000
  46. keep_top_k: 300
  47. score_threshold: 0.01
  48. nms_threshold: 0.7