模型¶
创建模型¶
mindyolo.models.model_factory.create_model(model_name, model_cfg=None, in_channels=3, num_classes=80, checkpoint_path='', **kwargs)
¶
Source code in mindyolo/models/model_factory.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
|
YOLOV3¶
mindyolo.models.yolov3(cfg, in_channels=3, num_classes=None, **kwargs)
¶
Get yolov3 model.
Source code in mindyolo/models/yolov3.py
44 45 46 47 48 |
|
YOLOV4¶
mindyolo.models.yolov4(cfg, in_channels=3, num_classes=None, **kwargs)
¶
Get yolov4 model.
Source code in mindyolo/models/yolov4.py
33 34 35 36 37 |
|
YOLOV5¶
mindyolo.models.yolov5(cfg, in_channels=3, num_classes=None, **kwargs)
¶
Get yolov5 model.
Source code in mindyolo/models/yolov5.py
44 45 46 47 48 |
|
YOLOV7¶
mindyolo.models.yolov7(cfg, in_channels=3, num_classes=None, **kwargs)
¶
Get yolov7 model.
Source code in mindyolo/models/yolov7.py
46 47 48 49 50 |
|
YOLOV8¶
mindyolo.models.yolov8(cfg, in_channels=3, num_classes=None, **kwargs)
¶
Get yolov8 model.
Source code in mindyolo/models/yolov8.py
45 46 47 48 49 |
|
YOLOX¶
mindyolo.models.yolox(cfg, in_channels=3, num_classes=None, **kwargs)
¶
Get yolox model.
Source code in mindyolo/models/yolox.py
43 44 45 46 47 |
|