libreyolo 1.1.0__tar.gz → 1.2.0.dev0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- libreyolo-1.2.0.dev0/MANIFEST.in +26 -0
- libreyolo-1.2.0.dev0/NOTICE +44 -0
- libreyolo-1.2.0.dev0/PKG-INFO +156 -0
- libreyolo-1.2.0.dev0/README.md +97 -0
- libreyolo-1.2.0.dev0/THIRD_PARTY_NOTICES.txt +212 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/__init__.py +61 -6
- libreyolo-1.2.0.dev0/libreyolo/assets/parkour.jpg +0 -0
- libreyolo-1.2.0.dev0/libreyolo/assets/parkour_result.jpg +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/backends/base.py +568 -34
- libreyolo-1.2.0.dev0/libreyolo/backends/coreml.py +347 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/backends/ncnn.py +53 -7
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/backends/onnx.py +60 -8
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/backends/openvino.py +70 -14
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/backends/tensorrt.py +124 -13
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/backends/torchscript.py +33 -3
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/cli/__init__.py +2 -2
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/cli/aliases.py +1 -1
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/cli/command_utils.py +15 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/cli/commands/export.py +8 -2
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/cli/commands/predict.py +53 -7
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/cli/commands/special.py +110 -4
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/cli/commands/train.py +4 -3
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/cli/commands/val.py +43 -4
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/cli/config.py +67 -9
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/cli/parsing.py +44 -7
- libreyolo-1.2.0.dev0/libreyolo/config/datasets/coco-val-only.yaml +122 -0
- libreyolo-1.2.0.dev0/libreyolo/config/datasets/coco.yaml +122 -0
- libreyolo-1.2.0.dev0/libreyolo/config/datasets/coco128.yaml +102 -0
- libreyolo-1.2.0.dev0/libreyolo/config/datasets/coco5000.yaml +159 -0
- libreyolo-1.2.0.dev0/libreyolo/config/datasets/coco8.yaml +102 -0
- libreyolo-1.2.0.dev0/libreyolo/config/export/tensorrt_default.yaml +69 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/data/__init__.py +4 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/data/dataset.py +325 -16
- libreyolo-1.2.0.dev0/libreyolo/data/pose_dataset.py +224 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/data/utils.py +20 -12
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/data/yolo_coco_api.py +127 -32
- libreyolo-1.2.0.dev0/libreyolo/export/coreml.py +445 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/export/exporter.py +205 -33
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/export/onnx.py +64 -13
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/export/tensorrt.py +11 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/__init__.py +233 -37
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/base/inference.py +159 -48
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/base/model.py +369 -19
- libreyolo-1.2.0.dev0/libreyolo/models/damoyolo/__init__.py +4 -0
- libreyolo-1.2.0.dev0/libreyolo/models/damoyolo/loss.py +369 -0
- libreyolo-1.2.0.dev0/libreyolo/models/damoyolo/model.py +360 -0
- libreyolo-1.2.0.dev0/libreyolo/models/damoyolo/nn.py +1705 -0
- libreyolo-1.2.0.dev0/libreyolo/models/damoyolo/trainer.py +92 -0
- libreyolo-1.2.0.dev0/libreyolo/models/damoyolo/utils.py +126 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deim/__init__.py +1 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deim/backbone.py +502 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deim/box_ops.py +58 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deim/common.py +63 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deim/decoder.py +957 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deim/denoising.py +128 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deim/encoder.py +481 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deim/fdr.py +186 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deim/loss.py +637 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deim/matcher.py +134 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deim/model.py +326 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deim/ms_deform.py +129 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deim/nn.py +241 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deim/trainer.py +634 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deim/transforms.py +308 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deim/utils.py +129 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/__init__.py +5 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/__init__.py +6 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/backbone/__init__.py +1 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/backbone/dinov3/LICENSE.md +66 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/backbone/dinov3/__init__.py +1 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/backbone/dinov3/layers/attention.py +126 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/backbone/dinov3/layers/block.py +232 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/backbone/dinov3/layers/ffn_layers.py +83 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/backbone/dinov3/layers/layer_scale.py +29 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/backbone/dinov3/layers/patch_embed.py +97 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/backbone/dinov3/layers/rms_norm.py +24 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/backbone/dinov3/layers/rope_position_encoding.py +133 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/backbone/dinov3/utils/utils.py +55 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/backbone/dinov3/vision_transformer.py +428 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/backbone/dinov3_adapter.py +229 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/backbone/vit_tiny.py +411 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/deim/__init__.py +1 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/deim/deim_decoder.py +844 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/deim/deim_utils.py +87 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/deim/hybrid_encoder.py +618 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/engine/deim/lite_encoder.py +130 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/loss.py +214 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/matcher.py +156 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/model.py +425 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/nn.py +404 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/trainer.py +244 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/transforms.py +17 -0
- libreyolo-1.2.0.dev0/libreyolo/models/deimv2/utils.py +57 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/dfine/decoder.py +11 -9
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/dfine/model.py +15 -1
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/dfine/nn.py +2 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/dfine/trainer.py +166 -56
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/dfine/transforms.py +11 -1
- libreyolo-1.2.0.dev0/libreyolo/models/ec/__init__.py +3 -0
- libreyolo-1.2.0.dev0/libreyolo/models/ec/backbone.py +527 -0
- libreyolo-1.2.0.dev0/libreyolo/models/ec/decoder.py +1756 -0
- libreyolo-1.2.0.dev0/libreyolo/models/ec/encoder.py +247 -0
- libreyolo-1.2.0.dev0/libreyolo/models/ec/loss.py +116 -0
- libreyolo-1.2.0.dev0/libreyolo/models/ec/model.py +439 -0
- libreyolo-1.2.0.dev0/libreyolo/models/ec/nn.py +288 -0
- libreyolo-1.2.0.dev0/libreyolo/models/ec/postprocess.py +260 -0
- libreyolo-1.2.0.dev0/libreyolo/models/ec/trainer.py +159 -0
- libreyolo-1.2.0.dev0/libreyolo/models/ec/utils.py +184 -0
- libreyolo-1.2.0.dev0/libreyolo/models/l2cs/__init__.py +21 -0
- libreyolo-1.2.0.dev0/libreyolo/models/l2cs/face.py +238 -0
- libreyolo-1.2.0.dev0/libreyolo/models/l2cs/inference.py +346 -0
- libreyolo-1.2.0.dev0/libreyolo/models/l2cs/model.py +371 -0
- libreyolo-1.2.0.dev0/libreyolo/models/l2cs/nn.py +140 -0
- libreyolo-1.2.0.dev0/libreyolo/models/l2cs/utils.py +106 -0
- libreyolo-1.2.0.dev0/libreyolo/models/picodet/__init__.py +9 -0
- libreyolo-1.2.0.dev0/libreyolo/models/picodet/loss.py +597 -0
- libreyolo-1.2.0.dev0/libreyolo/models/picodet/model.py +275 -0
- libreyolo-1.2.0.dev0/libreyolo/models/picodet/nn.py +712 -0
- libreyolo-1.2.0.dev0/libreyolo/models/picodet/trainer.py +105 -0
- libreyolo-1.2.0.dev0/libreyolo/models/picodet/utils.py +248 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rfdetr/__init__.py +1 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rfdetr/backbone.py +860 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rfdetr/box_ops.py +151 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rfdetr/config.py +49 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rfdetr/dinov2.py +1325 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rfdetr/loss.py +552 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rfdetr/lwdetr.py +604 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rfdetr/matcher.py +261 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rfdetr/model.py +754 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rfdetr/nn.py +434 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rfdetr/seg_transforms.py +470 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rfdetr/segmentation.py +482 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rfdetr/tensors.py +362 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rfdetr/trainer.py +445 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rfdetr/transformer.py +851 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/rfdetr/utils.py +3 -3
- libreyolo-1.2.0.dev0/libreyolo/models/rtdetr/__init__.py +5 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/rtdetr/backbone.py +15 -1
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/rtdetr/config.py +12 -5
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/rtdetr/loss.py +7 -1
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/rtdetr/model.py +57 -30
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/rtdetr/trainer.py +64 -43
- libreyolo-1.2.0.dev0/libreyolo/models/rtdetrv2/__init__.py +6 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rtdetrv2/decoder.py +664 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rtdetrv2/model.py +77 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rtdetrv2/nn.py +93 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rtdetrv2/trainer.py +26 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rtdetrv2/utils.py +113 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rtdetrv4/__init__.py +6 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rtdetrv4/model.py +144 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rtdetrv4/trainer.py +20 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rtmdet/__init__.py +5 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rtmdet/loss.py +498 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rtmdet/model.py +308 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rtmdet/nn.py +541 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rtmdet/trainer.py +105 -0
- libreyolo-1.2.0.dev0/libreyolo/models/rtmdet/utils.py +220 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/yolo9/loss.py +242 -13
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/yolo9/model.py +51 -7
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/yolo9/nn.py +302 -102
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/yolo9/trainer.py +12 -2
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/yolo9/transforms.py +162 -7
- libreyolo-1.2.0.dev0/libreyolo/models/yolo9/utils.py +309 -0
- libreyolo-1.2.0.dev0/libreyolo/models/yolo9_e2e/__init__.py +5 -0
- libreyolo-1.2.0.dev0/libreyolo/models/yolo9_e2e/config.py +12 -0
- libreyolo-1.2.0.dev0/libreyolo/models/yolo9_e2e/loss.py +94 -0
- libreyolo-1.2.0.dev0/libreyolo/models/yolo9_e2e/model.py +275 -0
- libreyolo-1.2.0.dev0/libreyolo/models/yolo9_e2e/nn.py +123 -0
- libreyolo-1.2.0.dev0/libreyolo/models/yolo9_e2e/trainer.py +18 -0
- libreyolo-1.2.0.dev0/libreyolo/models/yolo9_e2e/utils.py +112 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/yolonas/loss.py +632 -1
- libreyolo-1.2.0.dev0/libreyolo/models/yolonas/model.py +611 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/yolonas/nn.py +409 -9
- libreyolo-1.2.0.dev0/libreyolo/models/yolonas/pose_trainer.py +340 -0
- libreyolo-1.2.0.dev0/libreyolo/models/yolonas/pose_transforms.py +303 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/yolonas/trainer.py +3 -1
- libreyolo-1.2.0.dev0/libreyolo/models/yolonas/utils.py +370 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/yolox/model.py +6 -3
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/yolox/nn.py +2 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/yolox/trainer.py +6 -6
- libreyolo-1.2.0.dev0/libreyolo/tasks.py +131 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/tracking/tracker.py +30 -37
- libreyolo-1.2.0.dev0/libreyolo/training/__init__.py +17 -0
- libreyolo-1.2.0.dev0/libreyolo/training/artifacts.py +296 -0
- libreyolo-1.2.0.dev0/libreyolo/training/autobatch.py +321 -0
- libreyolo-1.2.0.dev0/libreyolo/training/callbacks.py +173 -0
- libreyolo-1.2.0.dev0/libreyolo/training/config.py +769 -0
- libreyolo-1.2.0.dev0/libreyolo/training/ddp_spawn.py +331 -0
- libreyolo-1.2.0.dev0/libreyolo/training/distributed.py +388 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/training/ema.py +8 -6
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/training/scheduler.py +25 -1
- libreyolo-1.2.0.dev0/libreyolo/training/train_config.yaml +21 -0
- libreyolo-1.2.0.dev0/libreyolo/training/trainer.py +1590 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/utils/drawing.py +152 -1
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/utils/general.py +67 -244
- libreyolo-1.2.0.dev0/libreyolo/utils/predict_args.py +72 -0
- libreyolo-1.2.0.dev0/libreyolo/utils/results.py +726 -0
- libreyolo-1.2.0.dev0/libreyolo/utils/serialization.py +352 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/utils/video.py +23 -1
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/validation/__init__.py +4 -1
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/validation/base.py +23 -5
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/validation/coco_evaluator.py +75 -10
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/validation/config.py +21 -6
- libreyolo-1.2.0.dev0/libreyolo/validation/detection_validator.py +715 -0
- libreyolo-1.2.0.dev0/libreyolo/validation/pose_validator.py +414 -0
- libreyolo-1.2.0.dev0/libreyolo/validation/preprocessors.py +639 -0
- libreyolo-1.2.0.dev0/libreyolo.egg-info/PKG-INFO +156 -0
- libreyolo-1.2.0.dev0/libreyolo.egg-info/SOURCES.txt +259 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo.egg-info/requires.txt +18 -7
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/pyproject.toml +95 -13
- libreyolo-1.2.0.dev0/weights/LICENSE_NOTICE.txt +40 -0
- libreyolo-1.1.0/MANIFEST.in +0 -17
- libreyolo-1.1.0/PKG-INFO +0 -121
- libreyolo-1.1.0/README.md +0 -72
- libreyolo-1.1.0/libreyolo/models/rfdetr/__init__.py +0 -5
- libreyolo-1.1.0/libreyolo/models/rfdetr/config.py +0 -35
- libreyolo-1.1.0/libreyolo/models/rfdetr/model.py +0 -471
- libreyolo-1.1.0/libreyolo/models/rfdetr/nn.py +0 -173
- libreyolo-1.1.0/libreyolo/models/rfdetr/trainer.py +0 -106
- libreyolo-1.1.0/libreyolo/models/rtdetr/__init__.py +0 -5
- libreyolo-1.1.0/libreyolo/models/yolo9/utils.py +0 -143
- libreyolo-1.1.0/libreyolo/models/yolonas/model.py +0 -294
- libreyolo-1.1.0/libreyolo/models/yolonas/utils.py +0 -170
- libreyolo-1.1.0/libreyolo/training/__init__.py +0 -7
- libreyolo-1.1.0/libreyolo/training/config.py +0 -210
- libreyolo-1.1.0/libreyolo/training/trainer.py +0 -672
- libreyolo-1.1.0/libreyolo/utils/results.py +0 -241
- libreyolo-1.1.0/libreyolo/utils/serialization.py +0 -71
- libreyolo-1.1.0/libreyolo/validation/detection_validator.py +0 -406
- libreyolo-1.1.0/libreyolo/validation/preprocessors.py +0 -302
- libreyolo-1.1.0/libreyolo.egg-info/PKG-INFO +0 -121
- libreyolo-1.1.0/libreyolo.egg-info/SOURCES.txt +0 -130
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/LICENSE +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/backends/__init__.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/cli/commands/__init__.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/cli/errors.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/cli/output.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/config/__init__.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/export/__init__.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/export/calibration.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/export/config.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/export/ncnn.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/export/openvino.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/export/torchscript.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/base/__init__.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/dfine/__init__.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/dfine/backbone.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/dfine/box_ops.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/dfine/common.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/dfine/denoising.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/dfine/encoder.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/dfine/fdr.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/dfine/loss.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/dfine/matcher.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/dfine/ms_deform.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/dfine/utils.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/rtdetr/box_ops.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/rtdetr/denoising.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/rtdetr/hgnetv2.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/rtdetr/nn.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/rtdetr/utils.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/yolo9/__init__.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/yolonas/__init__.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/yolonas/transforms.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/yolox/__init__.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/yolox/loss.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/models/yolox/utils.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/tracking/__init__.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/tracking/config.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/tracking/kalman_filter.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/tracking/matching.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/tracking/strack.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/training/augment.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/utils/__init__.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/utils/box_ops.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/utils/download.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/utils/image_loader.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo/utils/logging.py +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo.egg-info/dependency_links.txt +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo.egg-info/entry_points.txt +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/libreyolo.egg-info/top_level.txt +0 -0
- {libreyolo-1.1.0 → libreyolo-1.2.0.dev0}/setup.cfg +0 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Exclude model weights and generated artifacts
|
|
2
|
+
prune weights
|
|
3
|
+
prune runs
|
|
4
|
+
prune examples/runs
|
|
5
|
+
prune temporary
|
|
6
|
+
prune media
|
|
7
|
+
prune notebooks
|
|
8
|
+
prune tests/output
|
|
9
|
+
|
|
10
|
+
# Exclude binary/large files globally
|
|
11
|
+
global-exclude *.pt
|
|
12
|
+
global-exclude *.onnx
|
|
13
|
+
global-exclude *.jpg
|
|
14
|
+
global-exclude *.png
|
|
15
|
+
global-exclude *.webp
|
|
16
|
+
global-exclude *.mp4
|
|
17
|
+
|
|
18
|
+
# Re-include packaged sample assets (overrides global-exclude above)
|
|
19
|
+
recursive-include libreyolo/assets *.jpg
|
|
20
|
+
recursive-include libreyolo *.yaml
|
|
21
|
+
|
|
22
|
+
# Bundled third-party license texts (must ship with the wheel)
|
|
23
|
+
recursive-include libreyolo/models *.md
|
|
24
|
+
include THIRD_PARTY_NOTICES.txt
|
|
25
|
+
include weights/LICENSE_NOTICE.txt
|
|
26
|
+
include NOTICE
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
LibreYOLO
|
|
2
|
+
Copyright (c) The LibreYOLO contributors.
|
|
3
|
+
|
|
4
|
+
LibreYOLO is licensed under the MIT License (see LICENSE).
|
|
5
|
+
|
|
6
|
+
This product bundles third-party source code under non-MIT licenses. The
|
|
7
|
+
bundled files retain their original copyright headers. A copy of each
|
|
8
|
+
upstream license accompanies the corresponding code.
|
|
9
|
+
|
|
10
|
+
------------------------------------------------------------------------
|
|
11
|
+
Bundled third-party source code
|
|
12
|
+
------------------------------------------------------------------------
|
|
13
|
+
|
|
14
|
+
DINOv3 (Meta DINOv3 License Agreement)
|
|
15
|
+
Path: libreyolo/models/deimv2/engine/backbone/dinov3/
|
|
16
|
+
License: libreyolo/models/deimv2/engine/backbone/dinov3/LICENSE.md
|
|
17
|
+
Source: https://github.com/facebookresearch/dinov3
|
|
18
|
+
|
|
19
|
+
The DINOv3 backbone code shipped with the DEIMv2 family is
|
|
20
|
+
redistributed under the DINOv3 License Agreement, a custom
|
|
21
|
+
non-OSI license from Meta Platforms, Inc.
|
|
22
|
+
|
|
23
|
+
Key obligations propagated to downstream users (see LICENSE.md
|
|
24
|
+
for the authoritative text):
|
|
25
|
+
* Redistribution must include a copy of the DINOv3 License
|
|
26
|
+
Agreement (provided as LICENSE.md alongside the code).
|
|
27
|
+
* The DINO Materials may not be used for activities subject
|
|
28
|
+
to ITAR, military or warfare purposes, nuclear industries,
|
|
29
|
+
espionage, or weapons development.
|
|
30
|
+
* The DINO Materials are provided "as is" without warranty.
|
|
31
|
+
|
|
32
|
+
These terms apply only to the DINOv3 subtree listed above. The
|
|
33
|
+
rest of LibreYOLO remains under the MIT License.
|
|
34
|
+
|
|
35
|
+
------------------------------------------------------------------------
|
|
36
|
+
Pretrained model weights
|
|
37
|
+
------------------------------------------------------------------------
|
|
38
|
+
|
|
39
|
+
No pretrained weights are distributed in this source tree. LibreYOLO
|
|
40
|
+
weights are published separately on Hugging Face under the LibreYOLO
|
|
41
|
+
organization (https://huggingface.co/LibreYOLO). Each Hugging Face
|
|
42
|
+
model repository ships its own LICENSE and NOTICE reflecting the
|
|
43
|
+
license of the upstream project the weights were derived from. See
|
|
44
|
+
weights/LICENSE_NOTICE.txt for a per-family summary.
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: libreyolo
|
|
3
|
+
Version: 1.2.0.dev0
|
|
4
|
+
Summary: Libre YOLO - An open source YOLO library with MIT license.
|
|
5
|
+
Author: LibreYOLO Team
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/LibreYOLO
|
|
8
|
+
Project-URL: Repository, https://github.com/LibreYOLO/libreyolo
|
|
9
|
+
Requires-Python: >=3.10
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
License-File: NOTICE
|
|
13
|
+
License-File: THIRD_PARTY_NOTICES.txt
|
|
14
|
+
License-File: weights/LICENSE_NOTICE.txt
|
|
15
|
+
Requires-Dist: numpy>=1.19.0
|
|
16
|
+
Requires-Dist: Pillow>=9.1.0
|
|
17
|
+
Requires-Dist: torch>=2.4.0
|
|
18
|
+
Requires-Dist: torchvision>=0.19.0
|
|
19
|
+
Requires-Dist: PyYAML>=6.0
|
|
20
|
+
Requires-Dist: requests>=2.25.0
|
|
21
|
+
Requires-Dist: opencv-python>=4.11.0.86
|
|
22
|
+
Requires-Dist: tqdm>=4.65.0
|
|
23
|
+
Requires-Dist: pycocotools>=2.0.0
|
|
24
|
+
Requires-Dist: typer>=0.9.0
|
|
25
|
+
Requires-Dist: click>=8.0.0
|
|
26
|
+
Requires-Dist: safetensors>=0.4.0
|
|
27
|
+
Requires-Dist: scipy>=1.7.0
|
|
28
|
+
Provides-Extra: onnx
|
|
29
|
+
Requires-Dist: onnx>=1.14.0; extra == "onnx"
|
|
30
|
+
Requires-Dist: onnxsim>=0.4.0; extra == "onnx"
|
|
31
|
+
Requires-Dist: onnxruntime>=1.16.0; extra == "onnx"
|
|
32
|
+
Provides-Extra: rfdetr
|
|
33
|
+
Requires-Dist: transformers>=5.1.0; extra == "rfdetr"
|
|
34
|
+
Provides-Extra: tensorrt
|
|
35
|
+
Requires-Dist: tensorrt-cu12==10.16.1.11; sys_platform != "darwin" and extra == "tensorrt"
|
|
36
|
+
Requires-Dist: pycuda>=2022.1; sys_platform != "darwin" and extra == "tensorrt"
|
|
37
|
+
Provides-Extra: openvino
|
|
38
|
+
Requires-Dist: openvino>=2024.0.0; extra == "openvino"
|
|
39
|
+
Provides-Extra: ncnn
|
|
40
|
+
Requires-Dist: pnnx; extra == "ncnn"
|
|
41
|
+
Requires-Dist: ncnn; extra == "ncnn"
|
|
42
|
+
Provides-Extra: tracking
|
|
43
|
+
Provides-Extra: rtdetr
|
|
44
|
+
Provides-Extra: gaze
|
|
45
|
+
Requires-Dist: gdown>=5.1.0; extra == "gaze"
|
|
46
|
+
Provides-Extra: coreml
|
|
47
|
+
Requires-Dist: coremltools>=8.0; extra == "coreml"
|
|
48
|
+
Provides-Extra: all
|
|
49
|
+
Requires-Dist: libreyolo[onnx]; extra == "all"
|
|
50
|
+
Requires-Dist: libreyolo[rfdetr]; extra == "all"
|
|
51
|
+
Requires-Dist: libreyolo[tensorrt]; extra == "all"
|
|
52
|
+
Requires-Dist: libreyolo[openvino]; extra == "all"
|
|
53
|
+
Requires-Dist: libreyolo[ncnn]; extra == "all"
|
|
54
|
+
Requires-Dist: libreyolo[tracking]; extra == "all"
|
|
55
|
+
Requires-Dist: libreyolo[rtdetr]; extra == "all"
|
|
56
|
+
Requires-Dist: libreyolo[gaze]; extra == "all"
|
|
57
|
+
Requires-Dist: libreyolo[coreml]; extra == "all"
|
|
58
|
+
Dynamic: license-file
|
|
59
|
+
|
|
60
|
+
# LibreYOLO
|
|
61
|
+
|
|
62
|
+
[English](README.md) | [简体中文](README.zh-CN.md)
|
|
63
|
+
|
|
64
|
+
> ⭐ **Support LibreYOLO.** The best way to help is to **star the repo**. Feel free to [open an issue](https://github.com/LibreYOLO/libreyolo/issues/new) if you encounter problems or have suggestions, and code contributions are very welcome (see [CONTRIBUTING.md](CONTRIBUTING.md)). We are also looking for sponsors to donate GPU resources to the project. If you or your company can help, please [reach out on LinkedIn](https://www.linkedin.com/in/xuban-ceccon).
|
|
65
|
+
|
|
66
|
+
[](https://www.libreyolo.com/docs)
|
|
67
|
+
[](https://pypi.org/project/libreyolo/)
|
|
68
|
+
[](https://pepy.tech/projects/libreyolo)
|
|
69
|
+
[](https://huggingface.co/LibreYOLO)
|
|
70
|
+
[](https://www.visionanalysis.org/)
|
|
71
|
+
[](https://www.linkedin.com/company/libreyolo/)
|
|
72
|
+
[](LICENSE)
|
|
73
|
+
|
|
74
|
+
MIT-licensed computer vision library with inference and training support for a variety of models. It provides a familiar high-level Python and CLI interface and reads common YOLO-format datasets, so existing workflows port over with minimal changes.
|
|
75
|
+
|
|
76
|
+

|
|
77
|
+
|
|
78
|
+
## Installation & Quick start
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
pip install libreyolo
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
To install the latest `main` in editable mode (for development or to track unreleased changes):
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
git clone https://github.com/LibreYOLO/libreyolo.git
|
|
88
|
+
cd libreyolo
|
|
89
|
+
pip install -e .
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
For optional runtime and export dependencies such as ONNX Runtime, OpenVINO, TensorRT, NCNN, and RF-DETR, see the [full docs](https://www.libreyolo.com/docs).
|
|
93
|
+
|
|
94
|
+
```python
|
|
95
|
+
from libreyolo import LibreYOLO, SAMPLE_IMAGE
|
|
96
|
+
|
|
97
|
+
model = LibreYOLO("LibreYOLO9t.pt")
|
|
98
|
+
result = model(SAMPLE_IMAGE, save=True)
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## Flagship models
|
|
102
|
+
|
|
103
|
+
LibreYOLO recommends these model families because they offer the best balance
|
|
104
|
+
and receive the heaviest testing:
|
|
105
|
+
|
|
106
|
+
- **YOLOv9** for CNN-based YOLO models.
|
|
107
|
+
- **RF-DETR** for transformer-based detection and segmentation.
|
|
108
|
+
|
|
109
|
+
## Compatibility
|
|
110
|
+
|
|
111
|
+
`✓` supported, `exp` experimental. Empty cells are not currently supported.
|
|
112
|
+
|
|
113
|
+
<table>
|
|
114
|
+
<thead>
|
|
115
|
+
<tr>
|
|
116
|
+
<th rowspan="2">Model family</th>
|
|
117
|
+
<th colspan="3">Inference</th>
|
|
118
|
+
<th rowspan="2">Training</th>
|
|
119
|
+
<th colspan="5">Export formats</th>
|
|
120
|
+
</tr>
|
|
121
|
+
<tr>
|
|
122
|
+
<th>Detection</th>
|
|
123
|
+
<th>Segmentation</th>
|
|
124
|
+
<th>Pose</th>
|
|
125
|
+
<th>ONNX</th>
|
|
126
|
+
<th>TorchScript</th>
|
|
127
|
+
<th>TensorRT</th>
|
|
128
|
+
<th>OpenVINO</th>
|
|
129
|
+
<th>NCNN</th>
|
|
130
|
+
</tr>
|
|
131
|
+
</thead>
|
|
132
|
+
<tbody>
|
|
133
|
+
<tr><td>YOLOv9</td><td>✓</td><td></td><td></td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td></tr>
|
|
134
|
+
<tr><td>RF-DETR</td><td>✓</td><td>✓</td><td></td><td>exp</td><td>✓</td><td></td><td>✓</td><td>✓</td><td></td></tr>
|
|
135
|
+
<tr><td>YOLOX</td><td>✓</td><td></td><td></td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td></tr>
|
|
136
|
+
<tr><td>YOLOv9-E2E</td><td>✓</td><td></td><td></td><td>✓</td><td></td><td></td><td></td><td></td><td></td></tr>
|
|
137
|
+
<tr><td>YOLO-NAS</td><td>✓</td><td></td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td></tr>
|
|
138
|
+
<tr><td>D-FINE</td><td>✓</td><td></td><td></td><td>exp</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td></td></tr>
|
|
139
|
+
<tr><td>DEIM</td><td>✓</td><td></td><td></td><td>exp</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td></td></tr>
|
|
140
|
+
<tr><td>DEIMv2</td><td>✓</td><td></td><td></td><td>exp</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td></td></tr>
|
|
141
|
+
<tr><td>RT-DETR</td><td>✓</td><td></td><td></td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td></td></tr>
|
|
142
|
+
<tr><td>RT-DETRv2</td><td>✓</td><td></td><td></td><td>exp</td><td></td><td></td><td></td><td></td><td></td></tr>
|
|
143
|
+
<tr><td>RT-DETRv4</td><td>✓</td><td></td><td></td><td>exp</td><td></td><td></td><td></td><td></td><td></td></tr>
|
|
144
|
+
<tr><td>PicoDet</td><td>✓</td><td></td><td></td><td>exp</td><td></td><td></td><td></td><td></td><td></td></tr>
|
|
145
|
+
<tr><td>EC</td><td>✓</td><td>✓</td><td>✓</td><td>exp</td><td></td><td></td><td></td><td></td><td></td></tr>
|
|
146
|
+
</tbody>
|
|
147
|
+
</table>
|
|
148
|
+
|
|
149
|
+
## License
|
|
150
|
+
|
|
151
|
+
- **Code:** MIT License
|
|
152
|
+
- **Weights:** Pre-trained weights may inherit licensing from the original source. Check the license in the specific HF repo of weights that you are interested in. LibreYOLO HF models always have a license.
|
|
153
|
+
|
|
154
|
+
## Releases
|
|
155
|
+
|
|
156
|
+
- **v1.1.0** (2026-04-27): New model families (YOLO-NAS, D-FINE, RT-DETR), instance segmentation, ByteTrack tracking, video inference, and a brand-new CLI. [See the release notes](https://github.com/LibreYOLO/libreyolo/releases/tag/v1.1.0).
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# LibreYOLO
|
|
2
|
+
|
|
3
|
+
[English](README.md) | [简体中文](README.zh-CN.md)
|
|
4
|
+
|
|
5
|
+
> ⭐ **Support LibreYOLO.** The best way to help is to **star the repo**. Feel free to [open an issue](https://github.com/LibreYOLO/libreyolo/issues/new) if you encounter problems or have suggestions, and code contributions are very welcome (see [CONTRIBUTING.md](CONTRIBUTING.md)). We are also looking for sponsors to donate GPU resources to the project. If you or your company can help, please [reach out on LinkedIn](https://www.linkedin.com/in/xuban-ceccon).
|
|
6
|
+
|
|
7
|
+
[](https://www.libreyolo.com/docs)
|
|
8
|
+
[](https://pypi.org/project/libreyolo/)
|
|
9
|
+
[](https://pepy.tech/projects/libreyolo)
|
|
10
|
+
[](https://huggingface.co/LibreYOLO)
|
|
11
|
+
[](https://www.visionanalysis.org/)
|
|
12
|
+
[](https://www.linkedin.com/company/libreyolo/)
|
|
13
|
+
[](LICENSE)
|
|
14
|
+
|
|
15
|
+
MIT-licensed computer vision library with inference and training support for a variety of models. It provides a familiar high-level Python and CLI interface and reads common YOLO-format datasets, so existing workflows port over with minimal changes.
|
|
16
|
+
|
|
17
|
+

|
|
18
|
+
|
|
19
|
+
## Installation & Quick start
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
pip install libreyolo
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
To install the latest `main` in editable mode (for development or to track unreleased changes):
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
git clone https://github.com/LibreYOLO/libreyolo.git
|
|
29
|
+
cd libreyolo
|
|
30
|
+
pip install -e .
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
For optional runtime and export dependencies such as ONNX Runtime, OpenVINO, TensorRT, NCNN, and RF-DETR, see the [full docs](https://www.libreyolo.com/docs).
|
|
34
|
+
|
|
35
|
+
```python
|
|
36
|
+
from libreyolo import LibreYOLO, SAMPLE_IMAGE
|
|
37
|
+
|
|
38
|
+
model = LibreYOLO("LibreYOLO9t.pt")
|
|
39
|
+
result = model(SAMPLE_IMAGE, save=True)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Flagship models
|
|
43
|
+
|
|
44
|
+
LibreYOLO recommends these model families because they offer the best balance
|
|
45
|
+
and receive the heaviest testing:
|
|
46
|
+
|
|
47
|
+
- **YOLOv9** for CNN-based YOLO models.
|
|
48
|
+
- **RF-DETR** for transformer-based detection and segmentation.
|
|
49
|
+
|
|
50
|
+
## Compatibility
|
|
51
|
+
|
|
52
|
+
`✓` supported, `exp` experimental. Empty cells are not currently supported.
|
|
53
|
+
|
|
54
|
+
<table>
|
|
55
|
+
<thead>
|
|
56
|
+
<tr>
|
|
57
|
+
<th rowspan="2">Model family</th>
|
|
58
|
+
<th colspan="3">Inference</th>
|
|
59
|
+
<th rowspan="2">Training</th>
|
|
60
|
+
<th colspan="5">Export formats</th>
|
|
61
|
+
</tr>
|
|
62
|
+
<tr>
|
|
63
|
+
<th>Detection</th>
|
|
64
|
+
<th>Segmentation</th>
|
|
65
|
+
<th>Pose</th>
|
|
66
|
+
<th>ONNX</th>
|
|
67
|
+
<th>TorchScript</th>
|
|
68
|
+
<th>TensorRT</th>
|
|
69
|
+
<th>OpenVINO</th>
|
|
70
|
+
<th>NCNN</th>
|
|
71
|
+
</tr>
|
|
72
|
+
</thead>
|
|
73
|
+
<tbody>
|
|
74
|
+
<tr><td>YOLOv9</td><td>✓</td><td></td><td></td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td></tr>
|
|
75
|
+
<tr><td>RF-DETR</td><td>✓</td><td>✓</td><td></td><td>exp</td><td>✓</td><td></td><td>✓</td><td>✓</td><td></td></tr>
|
|
76
|
+
<tr><td>YOLOX</td><td>✓</td><td></td><td></td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td></tr>
|
|
77
|
+
<tr><td>YOLOv9-E2E</td><td>✓</td><td></td><td></td><td>✓</td><td></td><td></td><td></td><td></td><td></td></tr>
|
|
78
|
+
<tr><td>YOLO-NAS</td><td>✓</td><td></td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td></tr>
|
|
79
|
+
<tr><td>D-FINE</td><td>✓</td><td></td><td></td><td>exp</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td></td></tr>
|
|
80
|
+
<tr><td>DEIM</td><td>✓</td><td></td><td></td><td>exp</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td></td></tr>
|
|
81
|
+
<tr><td>DEIMv2</td><td>✓</td><td></td><td></td><td>exp</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td></td></tr>
|
|
82
|
+
<tr><td>RT-DETR</td><td>✓</td><td></td><td></td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td>✓</td><td></td></tr>
|
|
83
|
+
<tr><td>RT-DETRv2</td><td>✓</td><td></td><td></td><td>exp</td><td></td><td></td><td></td><td></td><td></td></tr>
|
|
84
|
+
<tr><td>RT-DETRv4</td><td>✓</td><td></td><td></td><td>exp</td><td></td><td></td><td></td><td></td><td></td></tr>
|
|
85
|
+
<tr><td>PicoDet</td><td>✓</td><td></td><td></td><td>exp</td><td></td><td></td><td></td><td></td><td></td></tr>
|
|
86
|
+
<tr><td>EC</td><td>✓</td><td>✓</td><td>✓</td><td>exp</td><td></td><td></td><td></td><td></td><td></td></tr>
|
|
87
|
+
</tbody>
|
|
88
|
+
</table>
|
|
89
|
+
|
|
90
|
+
## License
|
|
91
|
+
|
|
92
|
+
- **Code:** MIT License
|
|
93
|
+
- **Weights:** Pre-trained weights may inherit licensing from the original source. Check the license in the specific HF repo of weights that you are interested in. LibreYOLO HF models always have a license.
|
|
94
|
+
|
|
95
|
+
## Releases
|
|
96
|
+
|
|
97
|
+
- **v1.1.0** (2026-04-27): New model families (YOLO-NAS, D-FINE, RT-DETR), instance segmentation, ByteTrack tracking, video inference, and a brand-new CLI. [See the release notes](https://github.com/LibreYOLO/libreyolo/releases/tag/v1.1.0).
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
This repository includes code derived from, or inspired by, the
|
|
2
|
+
following open-source projects. Each upstream is listed with its
|
|
3
|
+
license and the LibreYOLO module(s) that port from it.
|
|
4
|
+
|
|
5
|
+
--------------------------------------------------------------------
|
|
6
|
+
SAHI
|
|
7
|
+
--------------------------------------------------------------------
|
|
8
|
+
Source: https://github.com/obss/sahi
|
|
9
|
+
License: MIT
|
|
10
|
+
Copyright (c) 2020 obss
|
|
11
|
+
Used for: slicing-aided hyper inference utilities.
|
|
12
|
+
|
|
13
|
+
MIT License
|
|
14
|
+
|
|
15
|
+
Copyright (c) 2020 obss
|
|
16
|
+
|
|
17
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
18
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
19
|
+
in the Software without restriction, including without limitation the rights
|
|
20
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
21
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
22
|
+
furnished to do so, subject to the following conditions:
|
|
23
|
+
|
|
24
|
+
The above copyright notice and this permission notice shall be included in all
|
|
25
|
+
copies or substantial portions of the Software.
|
|
26
|
+
|
|
27
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
28
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
29
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
30
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
31
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
32
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
33
|
+
SOFTWARE.
|
|
34
|
+
|
|
35
|
+
--------------------------------------------------------------------
|
|
36
|
+
YOLOX (Megvii-BaseDetection)
|
|
37
|
+
--------------------------------------------------------------------
|
|
38
|
+
Source: https://github.com/Megvii-BaseDetection/YOLOX
|
|
39
|
+
License: Apache License 2.0
|
|
40
|
+
Copyright (c) 2021-2022 Megvii Inc. All rights reserved.
|
|
41
|
+
Used for: YOLOX model family (libreyolo/models/yolox/), EMA helper
|
|
42
|
+
(libreyolo/training/ema.py), augmentation pipeline
|
|
43
|
+
(libreyolo/training/augment.py).
|
|
44
|
+
|
|
45
|
+
--------------------------------------------------------------------
|
|
46
|
+
YOLO (MultimediaTechLab, successor to WongKinYiu/YOLO)
|
|
47
|
+
--------------------------------------------------------------------
|
|
48
|
+
Source: https://github.com/MultimediaTechLab/YOLO
|
|
49
|
+
License: MIT
|
|
50
|
+
Copyright (c) 2024 Kin-Yiu Wong and Hao-Tang Tsui
|
|
51
|
+
Used for: YOLO9 model family (libreyolo/models/yolo9/), including the
|
|
52
|
+
loss port in libreyolo/models/yolo9/loss.py.
|
|
53
|
+
|
|
54
|
+
--------------------------------------------------------------------
|
|
55
|
+
RT-DETR (lyuwenyu)
|
|
56
|
+
--------------------------------------------------------------------
|
|
57
|
+
Source: https://github.com/lyuwenyu/RT-DETR
|
|
58
|
+
License: Apache License 2.0
|
|
59
|
+
Copyright (c) 2023 lyuwenyu
|
|
60
|
+
Used for: RT-DETR model family (libreyolo/models/rtdetr/) including
|
|
61
|
+
backbone, neck, decoder, loss, and denoising modules. The
|
|
62
|
+
HGNetv2 backbone (libreyolo/models/rtdetr/hgnetv2.py) is
|
|
63
|
+
ported from rtdetrv2_pytorch/src/nn/backbone/hgnetv2.py.
|
|
64
|
+
|
|
65
|
+
--------------------------------------------------------------------
|
|
66
|
+
RF-DETR (Roboflow)
|
|
67
|
+
--------------------------------------------------------------------
|
|
68
|
+
Source: https://github.com/roboflow/rf-detr
|
|
69
|
+
License: Apache License 2.0
|
|
70
|
+
Copyright (c) 2024-2025 Roboflow, Inc.
|
|
71
|
+
Used for: RF-DETR model family (libreyolo/models/rfdetr/), COCO
|
|
72
|
+
evaluation glue (libreyolo/data/yolo_coco_api.py).
|
|
73
|
+
|
|
74
|
+
--------------------------------------------------------------------
|
|
75
|
+
DINOv2 (Meta AI / facebookresearch)
|
|
76
|
+
--------------------------------------------------------------------
|
|
77
|
+
Source: https://github.com/facebookresearch/dinov2
|
|
78
|
+
License: Apache License 2.0
|
|
79
|
+
Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
80
|
+
Used for: vision transformer backbone consumed by RF-DETR. The local
|
|
81
|
+
DINOv2 implementation lives at libreyolo/models/rfdetr/dinov2.py.
|
|
82
|
+
|
|
83
|
+
--------------------------------------------------------------------
|
|
84
|
+
HuggingFace Transformers
|
|
85
|
+
--------------------------------------------------------------------
|
|
86
|
+
Source: https://github.com/huggingface/transformers
|
|
87
|
+
License: Apache License 2.0
|
|
88
|
+
Copyright 2022-2024 The HuggingFace Team. All Rights Reserved.
|
|
89
|
+
Used for: DINOv2-with-Registers reference implementation that
|
|
90
|
+
libreyolo/models/rfdetr/dinov2.py adapts to add windowed
|
|
91
|
+
self-attention. Also a runtime dependency loaded via
|
|
92
|
+
AutoBackbone for the non-windowed DinoV2 path.
|
|
93
|
+
|
|
94
|
+
--------------------------------------------------------------------
|
|
95
|
+
LW-DETR (Atten4Vis / Baidu)
|
|
96
|
+
--------------------------------------------------------------------
|
|
97
|
+
Source: https://github.com/Atten4Vis/LW-DETR
|
|
98
|
+
License: Apache License 2.0
|
|
99
|
+
Copyright (c) 2024 Baidu. All Rights Reserved.
|
|
100
|
+
Used for: backbone, transformer, matcher, loss, postprocess, and
|
|
101
|
+
tensor utilities consumed by RF-DETR
|
|
102
|
+
(libreyolo/models/rfdetr/{backbone,transformer,matcher,
|
|
103
|
+
loss,lwdetr,tensors,box_ops}.py).
|
|
104
|
+
|
|
105
|
+
--------------------------------------------------------------------
|
|
106
|
+
Conditional DETR (Atten4Vis / Microsoft)
|
|
107
|
+
--------------------------------------------------------------------
|
|
108
|
+
Source: https://github.com/Atten4Vis/ConditionalDETR
|
|
109
|
+
License: Apache License 2.0
|
|
110
|
+
Copyright (c) 2021 Microsoft. All Rights Reserved.
|
|
111
|
+
Used for: position-encoding, transformer, matcher, and loss
|
|
112
|
+
building blocks reused by RF-DETR via LW-DETR
|
|
113
|
+
(libreyolo/models/rfdetr/{backbone,transformer,matcher,
|
|
114
|
+
loss,lwdetr,box_ops}.py).
|
|
115
|
+
|
|
116
|
+
--------------------------------------------------------------------
|
|
117
|
+
DETR (facebookresearch / Meta)
|
|
118
|
+
--------------------------------------------------------------------
|
|
119
|
+
Source: https://github.com/facebookresearch/detr
|
|
120
|
+
License: Apache License 2.0
|
|
121
|
+
Copyright (c) Facebook, Inc. and its affiliates.
|
|
122
|
+
Used for: NestedTensor, position-encoding, matcher, set-criterion,
|
|
123
|
+
and box utilities reused by RF-DETR via LW-DETR
|
|
124
|
+
(libreyolo/models/rfdetr/{backbone,transformer,matcher,
|
|
125
|
+
loss,lwdetr,tensors,box_ops}.py).
|
|
126
|
+
|
|
127
|
+
--------------------------------------------------------------------
|
|
128
|
+
Deformable DETR (fundamentalvision / SenseTime)
|
|
129
|
+
--------------------------------------------------------------------
|
|
130
|
+
Source: https://github.com/fundamentalvision/Deformable-DETR
|
|
131
|
+
License: Apache License 2.0
|
|
132
|
+
Copyright (c) 2020 SenseTime. All Rights Reserved.
|
|
133
|
+
Used for: multi-scale deformable attention reused by RF-DETR
|
|
134
|
+
(libreyolo/models/rfdetr/transformer.py: MSDeformAttn,
|
|
135
|
+
ms_deform_attn_core_pytorch).
|
|
136
|
+
|
|
137
|
+
--------------------------------------------------------------------
|
|
138
|
+
ViTDet (facebookresearch detectron2)
|
|
139
|
+
--------------------------------------------------------------------
|
|
140
|
+
Source: https://github.com/facebookresearch/detectron2/tree/main/projects/ViTDet
|
|
141
|
+
License: Apache License 2.0
|
|
142
|
+
Copyright (c) Facebook, Inc. and its affiliates.
|
|
143
|
+
Used for: MultiScaleProjector / SimpleProjector primitives reused by
|
|
144
|
+
RF-DETR (libreyolo/models/rfdetr/backbone.py).
|
|
145
|
+
|
|
146
|
+
--------------------------------------------------------------------
|
|
147
|
+
PaddleClas (PaddlePaddle)
|
|
148
|
+
--------------------------------------------------------------------
|
|
149
|
+
Source: https://github.com/PaddlePaddle/PaddleClas
|
|
150
|
+
License: Apache License 2.0
|
|
151
|
+
Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
|
|
152
|
+
Used for: ResNet_vd pretrained classification backbones loaded by
|
|
153
|
+
RT-DETR (libreyolo/models/rtdetr/backbone.py downloads
|
|
154
|
+
ResNet{18,34,50,101}_vd weights that originate here).
|
|
155
|
+
|
|
156
|
+
--------------------------------------------------------------------
|
|
157
|
+
Apache License 2.0 (full text)
|
|
158
|
+
--------------------------------------------------------------------
|
|
159
|
+
The full text of the Apache License, Version 2.0 is available at
|
|
160
|
+
https://www.apache.org/licenses/LICENSE-2.0 and applies to the
|
|
161
|
+
Apache-2.0 upstreams listed above.
|
|
162
|
+
|
|
163
|
+
--------------------------------------------------------------------
|
|
164
|
+
L2CS-Net
|
|
165
|
+
--------------------------------------------------------------------
|
|
166
|
+
Source: https://github.com/Ahmednull/L2CS-Net
|
|
167
|
+
License: MIT
|
|
168
|
+
Copyright (c) 2022 Ahmed Abdelrahman
|
|
169
|
+
Citation: Abdelrahman, A. A., Hempel, T., Khalifa, A., Al-Hamadi, A.,
|
|
170
|
+
and Dinges, L. "L2CS-Net: Fine-Grained Gaze Estimation in
|
|
171
|
+
Unconstrained Environments." IEEE International Conference
|
|
172
|
+
on Image Processing (ICIP), 2022.
|
|
173
|
+
Used for: L2CS gaze estimation network (libreyolo/models/l2cs/nn.py),
|
|
174
|
+
bin-expectation angle decoding and crop preprocessing
|
|
175
|
+
(libreyolo/models/l2cs/utils.py), and gaze arrow visualization
|
|
176
|
+
(libreyolo/utils/drawing.py:draw_gaze_arrows).
|
|
177
|
+
|
|
178
|
+
NOTE — code vs. weights: The MIT license below covers the L2CS-Net
|
|
179
|
+
*source code*, which is what libreyolo/models/l2cs/ is ported from.
|
|
180
|
+
It does NOT cover the pretrained weights. The published L2CS gaze
|
|
181
|
+
checkpoints (e.g. L2CSNet_gaze360.pkl) are trained on the Gaze360
|
|
182
|
+
dataset and are bound by the Gaze360 dataset license — research /
|
|
183
|
+
non-commercial use only, no redistribution:
|
|
184
|
+
https://github.com/erkil1452/gaze360/blob/master/LICENSE.md
|
|
185
|
+
LibreYOLO therefore does NOT bundle, mirror, or auto-download L2CS
|
|
186
|
+
weights. Users obtain them from the official L2CS-Net distribution and
|
|
187
|
+
are responsible for complying with the Gaze360 license. Required
|
|
188
|
+
dataset citation: Kellnhofer, Recasens, Stent, Matusik, Torralba,
|
|
189
|
+
"Gaze360: Physically Unconstrained Gaze Estimation in the Wild",
|
|
190
|
+
ICCV 2019.
|
|
191
|
+
|
|
192
|
+
MIT License
|
|
193
|
+
|
|
194
|
+
Copyright (c) 2022 Ahmed Abdelrahman
|
|
195
|
+
|
|
196
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
197
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
198
|
+
in the Software without restriction, including without limitation the rights
|
|
199
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
200
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
201
|
+
furnished to do so, subject to the following conditions:
|
|
202
|
+
|
|
203
|
+
The above copyright notice and this permission notice shall be included in all
|
|
204
|
+
copies or substantial portions of the Software.
|
|
205
|
+
|
|
206
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
207
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
208
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
209
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
210
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
211
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
212
|
+
SOFTWARE.
|
|
@@ -8,11 +8,21 @@ from .models import (
|
|
|
8
8
|
LibreYOLO,
|
|
9
9
|
LibreYOLOX,
|
|
10
10
|
LibreYOLO9,
|
|
11
|
+
LibreYOLO9E2E,
|
|
11
12
|
LibreYOLONAS,
|
|
12
13
|
LibreDFINE,
|
|
13
|
-
|
|
14
|
+
LibreDEIM,
|
|
15
|
+
LibreDEIMv2,
|
|
16
|
+
LibreEC,
|
|
17
|
+
LibrePICODET,
|
|
18
|
+
LibreDAMOYOLO,
|
|
19
|
+
LibreRTDETR,
|
|
20
|
+
LibreRTDETRv2,
|
|
21
|
+
LibreRTDETRv4,
|
|
22
|
+
LibreRTMDet,
|
|
23
|
+
LibreL2CS,
|
|
14
24
|
)
|
|
15
|
-
from .utils.results import Results, Boxes, Masks
|
|
25
|
+
from .utils.results import Results, Boxes, Masks, Keypoints, Probs, OBB, Gaze
|
|
16
26
|
|
|
17
27
|
SAMPLE_IMAGE = str(_Path(__file__).parent / "assets" / "parkour.jpg")
|
|
18
28
|
|
|
@@ -22,16 +32,44 @@ except PackageNotFoundError:
|
|
|
22
32
|
__version__ = "0.0.0.dev0"
|
|
23
33
|
|
|
24
34
|
|
|
35
|
+
# Old class names that were renamed for nomenclature consistency. Resolved
|
|
36
|
+
# via __getattr__ with a DeprecationWarning so existing imports keep working.
|
|
37
|
+
_DEPRECATED_ALIASES = {
|
|
38
|
+
"LibreYOLORTDETR": "LibreRTDETR",
|
|
39
|
+
"LibreYOLORFDETR": "LibreRFDETR",
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
25
43
|
# Lazy imports for optional/heavy modules
|
|
26
44
|
def __getattr__(name):
|
|
45
|
+
if name in _DEPRECATED_ALIASES:
|
|
46
|
+
new_name = _DEPRECATED_ALIASES[name]
|
|
47
|
+
import sys
|
|
48
|
+
import warnings
|
|
49
|
+
|
|
50
|
+
warnings.warn(
|
|
51
|
+
f"{name} has been renamed to {new_name}. Update your imports — "
|
|
52
|
+
"the old name will be removed in a future release.",
|
|
53
|
+
DeprecationWarning,
|
|
54
|
+
stacklevel=2,
|
|
55
|
+
)
|
|
56
|
+
# ``getattr`` on the module object resolves both eager imports
|
|
57
|
+
# (``LibreRTDETR`` in globals) and the lazy ``__getattr__`` path
|
|
58
|
+
# (``LibreRFDETR``); recursing into ``__getattr__`` directly would
|
|
59
|
+
# skip the eager case.
|
|
60
|
+
return getattr(sys.modules[__name__], new_name)
|
|
61
|
+
|
|
27
62
|
_lazy = {
|
|
28
|
-
"
|
|
63
|
+
"LibreRFDETR": (".models.rfdetr.model", "LibreRFDETR"),
|
|
29
64
|
"OnnxBackend": (".backends.onnx", "OnnxBackend"),
|
|
30
65
|
"OpenVINOBackend": (".backends.openvino", "OpenVINOBackend"),
|
|
31
66
|
"TensorRTBackend": (".backends.tensorrt", "TensorRTBackend"),
|
|
32
67
|
"NcnnBackend": (".backends.ncnn", "NcnnBackend"),
|
|
68
|
+
"CoreMLBackend": (".backends.coreml", "CoreMLBackend"),
|
|
33
69
|
"BaseExporter": (".export", "BaseExporter"),
|
|
34
70
|
"DetectionValidator": (".validation", "DetectionValidator"),
|
|
71
|
+
"SegmentationValidator": (".validation", "SegmentationValidator"),
|
|
72
|
+
"PoseValidator": (".validation", "PoseValidator"),
|
|
35
73
|
"ValidationConfig": (".validation", "ValidationConfig"),
|
|
36
74
|
"ByteTracker": (".tracking", "ByteTracker"),
|
|
37
75
|
"TrackConfig": (".tracking", "TrackConfig"),
|
|
@@ -39,7 +77,7 @@ def __getattr__(name):
|
|
|
39
77
|
"load_data_config": (".data", "load_data_config"),
|
|
40
78
|
"check_dataset": (".data", "check_dataset"),
|
|
41
79
|
}
|
|
42
|
-
if name == "
|
|
80
|
+
if name == "LibreRFDETR":
|
|
43
81
|
# RF-DETR needs dependency check before import
|
|
44
82
|
from .models import _ensure_rfdetr
|
|
45
83
|
|
|
@@ -57,15 +95,29 @@ __all__ = [
|
|
|
57
95
|
# Main API
|
|
58
96
|
"LibreYOLO",
|
|
59
97
|
"LibreYOLO9",
|
|
98
|
+
"LibreYOLO9E2E",
|
|
60
99
|
"LibreYOLONAS",
|
|
61
100
|
"LibreYOLOX",
|
|
62
|
-
"
|
|
63
|
-
"
|
|
101
|
+
"LibreRTDETR",
|
|
102
|
+
"LibreRTDETRv2",
|
|
103
|
+
"LibreRTDETRv4",
|
|
104
|
+
"LibreRFDETR",
|
|
64
105
|
"LibreDFINE",
|
|
106
|
+
"LibreDEIM",
|
|
107
|
+
"LibreDEIMv2",
|
|
108
|
+
"LibreEC",
|
|
109
|
+
"LibrePICODET",
|
|
110
|
+
"LibreDAMOYOLO",
|
|
111
|
+
"LibreRTMDet",
|
|
112
|
+
"LibreL2CS",
|
|
65
113
|
# Results
|
|
66
114
|
"Results",
|
|
67
115
|
"Boxes",
|
|
68
116
|
"Masks",
|
|
117
|
+
"Keypoints",
|
|
118
|
+
"Probs",
|
|
119
|
+
"OBB",
|
|
120
|
+
"Gaze",
|
|
69
121
|
# Assets
|
|
70
122
|
"SAMPLE_IMAGE",
|
|
71
123
|
# Tracking
|
|
@@ -76,8 +128,11 @@ __all__ = [
|
|
|
76
128
|
"OpenVINOBackend",
|
|
77
129
|
"TensorRTBackend",
|
|
78
130
|
"NcnnBackend",
|
|
131
|
+
"CoreMLBackend",
|
|
79
132
|
"BaseExporter",
|
|
80
133
|
"DetectionValidator",
|
|
134
|
+
"SegmentationValidator",
|
|
135
|
+
"PoseValidator",
|
|
81
136
|
"ValidationConfig",
|
|
82
137
|
"DATASETS_DIR",
|
|
83
138
|
"load_data_config",
|
|
Binary file
|
|
Binary file
|