vehicle_yolov3_darknet.yml 998 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. _BASE_: [
  2. '../datasets/coco_detection.yml',
  3. '../runtime.yml',
  4. '../yolov3/_base_/optimizer_270e.yml',
  5. '../yolov3/_base_/yolov3_darknet53.yml',
  6. '../yolov3/_base_/yolov3_reader.yml',
  7. ]
  8. snapshot_epoch: 5
  9. weights: https://paddledet.bj.bcebos.com/models/vehicle_yolov3_darknet.pdparams
  10. YOLOv3Head:
  11. anchors: [[8, 9], [10, 23], [19, 15],
  12. [23, 33], [40, 25], [54, 50],
  13. [101, 80], [139, 145], [253, 224]]
  14. BBoxPostProcess:
  15. nms:
  16. name: MultiClassNMS
  17. keep_top_k: 100
  18. score_threshold: 0.005
  19. nms_threshold: 0.45
  20. nms_top_k: 400
  21. num_classes: 6
  22. TrainDataset:
  23. !COCODataSet
  24. dataset_dir: dataset/vehicle
  25. anno_path: annotations/instances_train2017.json
  26. image_dir: train2017
  27. data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd']
  28. EvalDataset:
  29. !COCODataSet
  30. dataset_dir: dataset/vehicle
  31. anno_path: annotations/instances_val2017.json
  32. image_dir: val2017
  33. TestDataset:
  34. !ImageFolder
  35. anno_path: configs/vehicle/vehicle.json