ppyoloe_crn_s_36e_crowdhuman.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. _BASE_: [
  2. '../datasets/coco_detection.yml',
  3. '../runtime.yml',
  4. '../ppyoloe/_base_/optimizer_300e.yml',
  5. '../ppyoloe/_base_/ppyoloe_crn.yml',
  6. '../ppyoloe/_base_/ppyoloe_reader.yml',
  7. ]
  8. log_iter: 100
  9. snapshot_epoch: 4
  10. weights: output/ppyoloe_crn_s_36e_crowdhuman/model_final
  11. pretrain_weights: https://paddledet.bj.bcebos.com/models/ppyoloe_crn_s_300e_coco.pdparams
  12. depth_mult: 0.33
  13. width_mult: 0.50
  14. num_classes: 1
  15. TrainDataset:
  16. !COCODataSet
  17. image_dir: ""
  18. anno_path: annotations/train.json
  19. dataset_dir: dataset/crowdhuman
  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/crowdhuman
  26. TestDataset:
  27. !ImageFolder
  28. anno_path: annotations/val.json
  29. dataset_dir: dataset/crowdhuman
  30. TrainReader:
  31. batch_size: 8
  32. epoch: 36
  33. LearningRate:
  34. base_lr: 0.001
  35. schedulers:
  36. - !CosineDecay
  37. max_epochs: 43
  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: 100
  47. score_threshold: 0.01
  48. nms_threshold: 0.6