evaluation_config.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "evaluation_settings": {
  3. "model_type": "uav_and_bird",
  4. "model_path": null,
  5. "confidence_threshold": 0.5,
  6. "iou_threshold": 0.5,
  7. "sample_size": null,
  8. "random_seed": 42,
  9. "calculate_class_metrics": true,
  10. "calculate_speed_metrics": true,
  11. "balanced_sampling": {
  12. "enabled": false,
  13. "bird_ratio": 0.2,
  14. "uav_ratio": 0.2,
  15. "others_ratio": 0.6,
  16. "description": "平衡采样配置:按指定比例抽取各类别样本"
  17. }
  18. },
  19. "data_settings": {
  20. "data_directory": "d:\\PythonProject\\R360-UAVmodelTool\\Data",
  21. "annotation_file": null,
  22. "use_folder_structure": true,
  23. "supported_formats": ["jpg", "jpeg", "png", "bmp", "tiff"]
  24. },
  25. "output_settings": {
  26. "output_directory": "evaluation_results",
  27. "save_detailed_results": true,
  28. "generate_plots": true,
  29. "save_confusion_matrix": true,
  30. "save_per_class_metrics": true
  31. },
  32. "evaluation_metrics": {
  33. "calculate_precision": true,
  34. "calculate_recall": true,
  35. "calculate_f1_score": true,
  36. "calculate_accuracy": true,
  37. "calculate_fpr": true,
  38. "calculate_fnr": true,
  39. "calculate_speed_metrics": true
  40. },
  41. "visualization_settings": {
  42. "plot_confusion_matrix": true,
  43. "plot_performance_metrics": true,
  44. "plot_inference_time_distribution": true,
  45. "plot_per_class_comparison": true,
  46. "figure_size": [15, 12],
  47. "dpi": 300
  48. },
  49. "advanced_settings": {
  50. "enable_gpu_acceleration": true,
  51. "batch_processing": false,
  52. "verbose_logging": true,
  53. "save_failed_cases": true,
  54. "calculate_bbox_metrics": false
  55. }
  56. }