mot_ppyoloe_l_36e_ppvehicle9cls.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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/mot_ppyoloe_l_36e_ppvehicle9cls/model_final
  11. pretrain_weights: https://paddledet.bj.bcebos.com/models/ppyoloe_crn_l_300e_coco.pdparams
  12. depth_mult: 1.0
  13. width_mult: 1.0
  14. num_classes: 9
  15. TrainDataset:
  16. !COCODataSet
  17. image_dir: ""
  18. anno_path: annotations/train_all_9cls.json
  19. dataset_dir: dataset/ppvehicle
  20. data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd']
  21. EvalDataset:
  22. !COCODataSet
  23. image_dir: ""
  24. anno_path: annotations/val_all_9cls.json
  25. dataset_dir: dataset/ppvehicle
  26. TestDataset:
  27. !ImageFolder
  28. anno_path: annotations/val_all_9cls.json
  29. dataset_dir: dataset/ppvehicle
  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