补充:火灾检测模型由基于YOLOv10的火灾烟雾检测模型改为复合模型[基于YOLOv8的火灾检测模型(单火焰检测)+YOLOv10-M,专用火灾烟雾模型]
This commit is contained in:
@@ -40,12 +40,21 @@ class ModelService:
|
||||
self.model_configs = {
|
||||
'fire_detection': {
|
||||
'path': os.path.join(base_dir, 'models', 'fire_detection', 'best.pt'),
|
||||
'type': 'yolov8',
|
||||
'classes': ['Fire'],
|
||||
'labels': {'Fire': '火焰'},
|
||||
'size': '22MB',
|
||||
'description': '基于YOLOv8的火焰检测模型',
|
||||
'name': '火焰检测'
|
||||
},
|
||||
'smoke_detection': {
|
||||
'path': os.path.join(base_dir, 'models', 'fire_detection', 'yolov10_fire_smoke_best.pt'),
|
||||
'type': 'yolov10',
|
||||
'classes': ['Fire', 'Smoke'],
|
||||
'labels': {'Fire': '火焰', 'Smoke': '烟雾'},
|
||||
'size': '61MB',
|
||||
'description': '基于YOLOv10的火灾烟雾检测模型',
|
||||
'name': '火灾检测'
|
||||
'size': '33MB',
|
||||
'description': '基于YOLOv10-M的火灾烟雾检测模型(来自GitHub开源项目,123K+图片训练)',
|
||||
'name': '烟雾检测 (YOLOv10-M)'
|
||||
},
|
||||
'helmet_detection': {
|
||||
'path': os.path.join(base_dir, 'models', 'helmet_detection', 'yolov8n.pt'),
|
||||
|
||||
Reference in New Issue
Block a user