mblt-vision-python 0.0.0__py3-none-any.whl
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.
- mblt_vision/__init__.py +86 -0
- mblt_vision/_api.py +53 -0
- mblt_vision/_compat.py +227 -0
- mblt_vision/_model_paths.py +137 -0
- mblt_vision/_tasks.py +30 -0
- mblt_vision/benchmark/__init__.py +1 -0
- mblt_vision/benchmark/argparse_utils.py +106 -0
- mblt_vision/benchmark/chart_utils.py +146 -0
- mblt_vision/benchmark/io_utils.py +64 -0
- mblt_vision/benchmark/summary_utils.py +770 -0
- mblt_vision/cli/__init__.py +5 -0
- mblt_vision/cli/__main__.py +5 -0
- mblt_vision/cli/_vision.py +337 -0
- mblt_vision/cli/compile.py +117 -0
- mblt_vision/cli/main.py +35 -0
- mblt_vision/cli/predict.py +64 -0
- mblt_vision/cli/val.py +562 -0
- mblt_vision/compile/__init__.py +21 -0
- mblt_vision/compile/vision.py +1120 -0
- mblt_vision/datasets/__init__.py +15 -0
- mblt_vision/datasets/ade20k.yaml +164 -0
- mblt_vision/datasets/cityscapes.yaml +54 -0
- mblt_vision/datasets/coco.yaml +178 -0
- mblt_vision/datasets/dotav1.yaml +28 -0
- mblt_vision/datasets/imagenet.yaml +1019 -0
- mblt_vision/datasets/imagenet_synsets.txt +1000 -0
- mblt_vision/datasets/nyu-depth.yaml +7 -0
- mblt_vision/datasets/registry.py +158 -0
- mblt_vision/datasets/widerface.yaml +9 -0
- mblt_vision/depth_estimation/__init__.py +19 -0
- mblt_vision/face_detection/__init__.py +43 -0
- mblt_vision/image_classification/__init__.py +311 -0
- mblt_vision/instance_segmentation/__init__.py +65 -0
- mblt_vision/models/AlexNet.yaml +23 -0
- mblt_vision/models/CAFormer_B36.yaml +22 -0
- mblt_vision/models/CAFormer_M36.yaml +22 -0
- mblt_vision/models/CAFormer_S18.yaml +22 -0
- mblt_vision/models/CAFormer_S36.yaml +22 -0
- mblt_vision/models/CoAtNet_0_RW_224.yaml +22 -0
- mblt_vision/models/CoAtNet_1_RW_224.yaml +22 -0
- mblt_vision/models/CoAtNet_2_RW_224.yaml +22 -0
- mblt_vision/models/ConvFormer_B36.yaml +22 -0
- mblt_vision/models/ConvFormer_M36.yaml +22 -0
- mblt_vision/models/ConvFormer_S18.yaml +22 -0
- mblt_vision/models/ConvFormer_S36.yaml +22 -0
- mblt_vision/models/ConvNext_Base.yaml +23 -0
- mblt_vision/models/ConvNext_Large.yaml +23 -0
- mblt_vision/models/ConvNext_Small.yaml +23 -0
- mblt_vision/models/ConvNext_Tiny.yaml +23 -0
- mblt_vision/models/DeiT3_Base_Patch16_224.yaml +22 -0
- mblt_vision/models/DeiT3_Base_Patch16_384.yaml +22 -0
- mblt_vision/models/DeiT3_Large_Patch16_224.yaml +22 -0
- mblt_vision/models/DeiT3_Large_Patch16_384.yaml +22 -0
- mblt_vision/models/DeiT3_Medium_Patch16_224.yaml +22 -0
- mblt_vision/models/DeiT3_Small_Patch16_224.yaml +22 -0
- mblt_vision/models/DeiT3_Small_Patch16_384.yaml +22 -0
- mblt_vision/models/DeiT_Base_Patch16_224.yaml +22 -0
- mblt_vision/models/DeiT_Base_Patch16_384.yaml +22 -0
- mblt_vision/models/DeiT_Small_Patch16_224.yaml +22 -0
- mblt_vision/models/DeiT_Tiny_Patch16_224.yaml +22 -0
- mblt_vision/models/DenseNet121.yaml +23 -0
- mblt_vision/models/DenseNet161.yaml +23 -0
- mblt_vision/models/DenseNet169.yaml +23 -0
- mblt_vision/models/DenseNet201.yaml +23 -0
- mblt_vision/models/EfficientFormer_L1.yaml +22 -0
- mblt_vision/models/EfficientFormer_L3.yaml +22 -0
- mblt_vision/models/EfficientFormer_L7.yaml +22 -0
- mblt_vision/models/EfficientNet_B0.yaml +23 -0
- mblt_vision/models/EfficientNet_B1.yaml +32 -0
- mblt_vision/models/EfficientNet_B2.yaml +23 -0
- mblt_vision/models/EfficientNet_B3.yaml +23 -0
- mblt_vision/models/EfficientNet_B4.yaml +23 -0
- mblt_vision/models/EfficientNet_B5.yaml +23 -0
- mblt_vision/models/EfficientNet_B6.yaml +23 -0
- mblt_vision/models/EfficientNet_B7.yaml +23 -0
- mblt_vision/models/EfficientNet_V2_L.yaml +23 -0
- mblt_vision/models/EfficientNet_V2_M.yaml +23 -0
- mblt_vision/models/EfficientNet_V2_S.yaml +23 -0
- mblt_vision/models/FlexiVit_Base.yaml +22 -0
- mblt_vision/models/FlexiVit_Large.yaml +22 -0
- mblt_vision/models/FlexiVit_Small.yaml +22 -0
- mblt_vision/models/GELANc-seg.yaml +29 -0
- mblt_vision/models/GELANc.yaml +28 -0
- mblt_vision/models/GELANe.yaml +28 -0
- mblt_vision/models/GELANm.yaml +28 -0
- mblt_vision/models/GELANs.yaml +28 -0
- mblt_vision/models/GoogLeNet.yaml +23 -0
- mblt_vision/models/Inception_V3.yaml +23 -0
- mblt_vision/models/LeViT_Conv_128.yaml +22 -0
- mblt_vision/models/LeViT_Conv_128S.yaml +22 -0
- mblt_vision/models/LeViT_Conv_192.yaml +22 -0
- mblt_vision/models/LeViT_Conv_256.yaml +22 -0
- mblt_vision/models/LeViT_Conv_384.yaml +22 -0
- mblt_vision/models/MNASNet0_5.yaml +23 -0
- mblt_vision/models/MNASNet0_75.yaml +23 -0
- mblt_vision/models/MNASNet1_0.yaml +23 -0
- mblt_vision/models/MNASNet1_3.yaml +23 -0
- mblt_vision/models/MobileNet_V2.yaml +32 -0
- mblt_vision/models/MobileNet_V3_Large.yaml +32 -0
- mblt_vision/models/MobileNet_V3_Small.yaml +23 -0
- mblt_vision/models/RegNet_X_16GF.yaml +32 -0
- mblt_vision/models/RegNet_X_1_6GF.yaml +32 -0
- mblt_vision/models/RegNet_X_32GF.yaml +32 -0
- mblt_vision/models/RegNet_X_3_2GF.yaml +32 -0
- mblt_vision/models/RegNet_X_400MF.yaml +32 -0
- mblt_vision/models/RegNet_X_800MF.yaml +32 -0
- mblt_vision/models/RegNet_X_8GF.yaml +32 -0
- mblt_vision/models/RegNet_Y_16GF.yaml +76 -0
- mblt_vision/models/RegNet_Y_1_6GF.yaml +32 -0
- mblt_vision/models/RegNet_Y_32GF.yaml +76 -0
- mblt_vision/models/RegNet_Y_3_2GF.yaml +32 -0
- mblt_vision/models/RegNet_Y_400MF.yaml +32 -0
- mblt_vision/models/RegNet_Y_800MF.yaml +32 -0
- mblt_vision/models/RegNet_Y_8GF.yaml +32 -0
- mblt_vision/models/RepViT_M0_9.yaml +22 -0
- mblt_vision/models/RepViT_M1.yaml +22 -0
- mblt_vision/models/RepViT_M1_0.yaml +22 -0
- mblt_vision/models/RepViT_M1_1.yaml +22 -0
- mblt_vision/models/RepViT_M1_5.yaml +22 -0
- mblt_vision/models/RepViT_M2.yaml +22 -0
- mblt_vision/models/RepViT_M2_3.yaml +22 -0
- mblt_vision/models/RepViT_M3.yaml +22 -0
- mblt_vision/models/ResNeXt101_32X8D.yaml +32 -0
- mblt_vision/models/ResNeXt101_64X4D.yaml +23 -0
- mblt_vision/models/ResNeXt50_32X4D.yaml +32 -0
- mblt_vision/models/ResNet101.yaml +32 -0
- mblt_vision/models/ResNet152.yaml +32 -0
- mblt_vision/models/ResNet18.yaml +23 -0
- mblt_vision/models/ResNet34.yaml +23 -0
- mblt_vision/models/ResNet50.yaml +32 -0
- mblt_vision/models/ShuffleNet_V2_X0_5.yaml +23 -0
- mblt_vision/models/ShuffleNet_V2_X1_0.yaml +23 -0
- mblt_vision/models/ShuffleNet_V2_X1_5.yaml +23 -0
- mblt_vision/models/ShuffleNet_V2_X2_0.yaml +23 -0
- mblt_vision/models/SqueezeNet1_0.yaml +23 -0
- mblt_vision/models/SqueezeNet1_1.yaml +23 -0
- mblt_vision/models/Swin_B.yaml +23 -0
- mblt_vision/models/Swin_S.yaml +23 -0
- mblt_vision/models/Swin_T.yaml +23 -0
- mblt_vision/models/VGG11.yaml +23 -0
- mblt_vision/models/VGG11_BN.yaml +23 -0
- mblt_vision/models/VGG13.yaml +23 -0
- mblt_vision/models/VGG13_BN.yaml +23 -0
- mblt_vision/models/VGG16.yaml +23 -0
- mblt_vision/models/VGG16_BN.yaml +23 -0
- mblt_vision/models/VGG19.yaml +23 -0
- mblt_vision/models/VGG19_BN.yaml +23 -0
- mblt_vision/models/ViT_B_16.yaml +67 -0
- mblt_vision/models/ViT_B_32.yaml +23 -0
- mblt_vision/models/ViT_Base_Patch16_224.yaml +22 -0
- mblt_vision/models/ViT_Base_Patch16_384.yaml +22 -0
- mblt_vision/models/ViT_Base_Patch32_224.yaml +22 -0
- mblt_vision/models/ViT_Base_Patch32_384.yaml +22 -0
- mblt_vision/models/ViT_Base_Patch8_224.yaml +22 -0
- mblt_vision/models/ViT_L_16.yaml +67 -0
- mblt_vision/models/ViT_L_32.yaml +23 -0
- mblt_vision/models/ViT_Large_Patch16_224.yaml +22 -0
- mblt_vision/models/ViT_Large_Patch16_384.yaml +22 -0
- mblt_vision/models/ViT_Large_Patch32_384.yaml +22 -0
- mblt_vision/models/ViT_Small_Patch16_224.yaml +22 -0
- mblt_vision/models/ViT_Small_Patch16_384.yaml +22 -0
- mblt_vision/models/ViT_Small_Patch32_224.yaml +22 -0
- mblt_vision/models/ViT_Small_Patch32_384.yaml +22 -0
- mblt_vision/models/ViT_Tiny_Patch16_224.yaml +22 -0
- mblt_vision/models/ViT_Tiny_Patch16_384.yaml +22 -0
- mblt_vision/models/VisFormer_Small.yaml +22 -0
- mblt_vision/models/VisFormer_Tiny.yaml +22 -0
- mblt_vision/models/Wide_ResNet101_2.yaml +32 -0
- mblt_vision/models/Wide_ResNet50_2.yaml +32 -0
- mblt_vision/models/YOLO11l-cls.yaml +23 -0
- mblt_vision/models/YOLO11l-face.yaml +27 -0
- mblt_vision/models/YOLO11l-obb.yaml +28 -0
- mblt_vision/models/YOLO11l-pose.yaml +28 -0
- mblt_vision/models/YOLO11l-seg.yaml +28 -0
- mblt_vision/models/YOLO11l.yaml +27 -0
- mblt_vision/models/YOLO11m-cls.yaml +23 -0
- mblt_vision/models/YOLO11m-face.yaml +27 -0
- mblt_vision/models/YOLO11m-obb.yaml +28 -0
- mblt_vision/models/YOLO11m-pose.yaml +28 -0
- mblt_vision/models/YOLO11m-seg.yaml +28 -0
- mblt_vision/models/YOLO11m.yaml +27 -0
- mblt_vision/models/YOLO11n-cls.yaml +23 -0
- mblt_vision/models/YOLO11n-face.yaml +27 -0
- mblt_vision/models/YOLO11n-obb.yaml +28 -0
- mblt_vision/models/YOLO11n-pose.yaml +28 -0
- mblt_vision/models/YOLO11n-seg.yaml +28 -0
- mblt_vision/models/YOLO11n.yaml +27 -0
- mblt_vision/models/YOLO11s-cls.yaml +23 -0
- mblt_vision/models/YOLO11s-face.yaml +27 -0
- mblt_vision/models/YOLO11s-obb.yaml +28 -0
- mblt_vision/models/YOLO11s-pose.yaml +28 -0
- mblt_vision/models/YOLO11s-seg.yaml +28 -0
- mblt_vision/models/YOLO11s.yaml +27 -0
- mblt_vision/models/YOLO11x-cls.yaml +23 -0
- mblt_vision/models/YOLO11x-obb.yaml +28 -0
- mblt_vision/models/YOLO11x-pose.yaml +28 -0
- mblt_vision/models/YOLO11x-seg.yaml +28 -0
- mblt_vision/models/YOLO11x.yaml +27 -0
- mblt_vision/models/YOLO12l-face.yaml +27 -0
- mblt_vision/models/YOLO12l-seg.yaml +28 -0
- mblt_vision/models/YOLO12l.yaml +27 -0
- mblt_vision/models/YOLO12m-face.yaml +27 -0
- mblt_vision/models/YOLO12m-seg.yaml +28 -0
- mblt_vision/models/YOLO12m.yaml +27 -0
- mblt_vision/models/YOLO12n-face.yaml +27 -0
- mblt_vision/models/YOLO12n-seg.yaml +28 -0
- mblt_vision/models/YOLO12n.yaml +27 -0
- mblt_vision/models/YOLO12s-face.yaml +27 -0
- mblt_vision/models/YOLO12s-seg.yaml +28 -0
- mblt_vision/models/YOLO12s.yaml +27 -0
- mblt_vision/models/YOLO12x-seg.yaml +28 -0
- mblt_vision/models/YOLO12x.yaml +27 -0
- mblt_vision/models/YOLO26l-cls.yaml +23 -0
- mblt_vision/models/YOLO26l-depth.yaml +17 -0
- mblt_vision/models/YOLO26l-distill.yaml +27 -0
- mblt_vision/models/YOLO26l-obb.yaml +28 -0
- mblt_vision/models/YOLO26l-pose.yaml +28 -0
- mblt_vision/models/YOLO26l-seg.yaml +28 -0
- mblt_vision/models/YOLO26l-sem-ade20k.yaml +17 -0
- mblt_vision/models/YOLO26l-sem.yaml +17 -0
- mblt_vision/models/YOLO26l.yaml +27 -0
- mblt_vision/models/YOLO26m-cls.yaml +23 -0
- mblt_vision/models/YOLO26m-depth.yaml +17 -0
- mblt_vision/models/YOLO26m-distill.yaml +27 -0
- mblt_vision/models/YOLO26m-obb.yaml +28 -0
- mblt_vision/models/YOLO26m-pose.yaml +28 -0
- mblt_vision/models/YOLO26m-seg.yaml +28 -0
- mblt_vision/models/YOLO26m-sem-ade20k.yaml +17 -0
- mblt_vision/models/YOLO26m-sem.yaml +17 -0
- mblt_vision/models/YOLO26m.yaml +27 -0
- mblt_vision/models/YOLO26n-cls.yaml +23 -0
- mblt_vision/models/YOLO26n-depth.yaml +17 -0
- mblt_vision/models/YOLO26n-distill.yaml +27 -0
- mblt_vision/models/YOLO26n-obb.yaml +28 -0
- mblt_vision/models/YOLO26n-pose.yaml +28 -0
- mblt_vision/models/YOLO26n-seg.yaml +28 -0
- mblt_vision/models/YOLO26n-sem-ade20k.yaml +17 -0
- mblt_vision/models/YOLO26n-sem.yaml +17 -0
- mblt_vision/models/YOLO26n.yaml +27 -0
- mblt_vision/models/YOLO26s-cls.yaml +23 -0
- mblt_vision/models/YOLO26s-depth.yaml +17 -0
- mblt_vision/models/YOLO26s-distill.yaml +27 -0
- mblt_vision/models/YOLO26s-obb.yaml +28 -0
- mblt_vision/models/YOLO26s-pose.yaml +28 -0
- mblt_vision/models/YOLO26s-seg.yaml +28 -0
- mblt_vision/models/YOLO26s-sem-ade20k.yaml +17 -0
- mblt_vision/models/YOLO26s-sem.yaml +17 -0
- mblt_vision/models/YOLO26s.yaml +27 -0
- mblt_vision/models/YOLO26x-cls.yaml +23 -0
- mblt_vision/models/YOLO26x-depth.yaml +17 -0
- mblt_vision/models/YOLO26x-distill.yaml +27 -0
- mblt_vision/models/YOLO26x-obb.yaml +28 -0
- mblt_vision/models/YOLO26x-pose.yaml +28 -0
- mblt_vision/models/YOLO26x-seg.yaml +28 -0
- mblt_vision/models/YOLO26x-sem-ade20k.yaml +17 -0
- mblt_vision/models/YOLO26x-sem.yaml +17 -0
- mblt_vision/models/YOLO26x.yaml +27 -0
- mblt_vision/models/YOLOv10b.yaml +28 -0
- mblt_vision/models/YOLOv10l-face.yaml +28 -0
- mblt_vision/models/YOLOv10l.yaml +28 -0
- mblt_vision/models/YOLOv10m-face.yaml +28 -0
- mblt_vision/models/YOLOv10m.yaml +28 -0
- mblt_vision/models/YOLOv10n-face.yaml +28 -0
- mblt_vision/models/YOLOv10n.yaml +28 -0
- mblt_vision/models/YOLOv10s-face.yaml +28 -0
- mblt_vision/models/YOLOv10s.yaml +28 -0
- mblt_vision/models/YOLOv10x.yaml +28 -0
- mblt_vision/models/YOLOv3-spp.yaml +44 -0
- mblt_vision/models/YOLOv3-sppu.yaml +27 -0
- mblt_vision/models/YOLOv3-tiny.yaml +38 -0
- mblt_vision/models/YOLOv3-tinyu.yaml +27 -0
- mblt_vision/models/YOLOv3.yaml +44 -0
- mblt_vision/models/YOLOv3u.yaml +27 -0
- mblt_vision/models/YOLOv5l-cls.yaml +22 -0
- mblt_vision/models/YOLOv5l-seg.yaml +45 -0
- mblt_vision/models/YOLOv5l.yaml +44 -0
- mblt_vision/models/YOLOv5l6.yaml +50 -0
- mblt_vision/models/YOLOv5l6u.yaml +27 -0
- mblt_vision/models/YOLOv5lu.yaml +27 -0
- mblt_vision/models/YOLOv5m-cls.yaml +22 -0
- mblt_vision/models/YOLOv5m-seg.yaml +45 -0
- mblt_vision/models/YOLOv5m.yaml +45 -0
- mblt_vision/models/YOLOv5m6.yaml +50 -0
- mblt_vision/models/YOLOv5m6u.yaml +27 -0
- mblt_vision/models/YOLOv5mu.yaml +27 -0
- mblt_vision/models/YOLOv5n-cls.yaml +22 -0
- mblt_vision/models/YOLOv5n-seg.yaml +45 -0
- mblt_vision/models/YOLOv5n.yaml +44 -0
- mblt_vision/models/YOLOv5n6.yaml +50 -0
- mblt_vision/models/YOLOv5n6u.yaml +27 -0
- mblt_vision/models/YOLOv5nu.yaml +27 -0
- mblt_vision/models/YOLOv5s-cls.yaml +22 -0
- mblt_vision/models/YOLOv5s-seg.yaml +45 -0
- mblt_vision/models/YOLOv5s.yaml +44 -0
- mblt_vision/models/YOLOv5s6.yaml +50 -0
- mblt_vision/models/YOLOv5s6u.yaml +27 -0
- mblt_vision/models/YOLOv5su.yaml +27 -0
- mblt_vision/models/YOLOv5x-cls.yaml +22 -0
- mblt_vision/models/YOLOv5x-seg.yaml +45 -0
- mblt_vision/models/YOLOv5x.yaml +44 -0
- mblt_vision/models/YOLOv5x6.yaml +50 -0
- mblt_vision/models/YOLOv5x6u.yaml +27 -0
- mblt_vision/models/YOLOv5xu.yaml +27 -0
- mblt_vision/models/YOLOv6m-face.yaml +27 -0
- mblt_vision/models/YOLOv6n-face.yaml +27 -0
- mblt_vision/models/YOLOv7.yaml +44 -0
- mblt_vision/models/YOLOv7d6.yaml +50 -0
- mblt_vision/models/YOLOv7e6.yaml +50 -0
- mblt_vision/models/YOLOv7e6e.yaml +50 -0
- mblt_vision/models/YOLOv7w6.yaml +50 -0
- mblt_vision/models/YOLOv7x.yaml +44 -0
- mblt_vision/models/YOLOv8l-cls.yaml +23 -0
- mblt_vision/models/YOLOv8l-face.yaml +27 -0
- mblt_vision/models/YOLOv8l-obb.yaml +28 -0
- mblt_vision/models/YOLOv8l-pose.yaml +28 -0
- mblt_vision/models/YOLOv8l-seg.yaml +28 -0
- mblt_vision/models/YOLOv8l.yaml +27 -0
- mblt_vision/models/YOLOv8m-cls.yaml +23 -0
- mblt_vision/models/YOLOv8m-face.yaml +27 -0
- mblt_vision/models/YOLOv8m-obb.yaml +28 -0
- mblt_vision/models/YOLOv8m-pose.yaml +28 -0
- mblt_vision/models/YOLOv8m-seg.yaml +28 -0
- mblt_vision/models/YOLOv8m.yaml +27 -0
- mblt_vision/models/YOLOv8n-cls.yaml +23 -0
- mblt_vision/models/YOLOv8n-face.yaml +27 -0
- mblt_vision/models/YOLOv8n-obb.yaml +28 -0
- mblt_vision/models/YOLOv8n-pose.yaml +28 -0
- mblt_vision/models/YOLOv8n-seg.yaml +28 -0
- mblt_vision/models/YOLOv8n.yaml +27 -0
- mblt_vision/models/YOLOv8s-cls.yaml +23 -0
- mblt_vision/models/YOLOv8s-obb.yaml +28 -0
- mblt_vision/models/YOLOv8s-pose.yaml +28 -0
- mblt_vision/models/YOLOv8s-seg.yaml +28 -0
- mblt_vision/models/YOLOv8s.yaml +27 -0
- mblt_vision/models/YOLOv8x-cls.yaml +23 -0
- mblt_vision/models/YOLOv8x-obb.yaml +28 -0
- mblt_vision/models/YOLOv8x-pose-p6.yaml +28 -0
- mblt_vision/models/YOLOv8x-pose.yaml +28 -0
- mblt_vision/models/YOLOv8x-seg.yaml +28 -0
- mblt_vision/models/YOLOv8x.yaml +27 -0
- mblt_vision/models/YOLOv9c-seg.yaml +28 -0
- mblt_vision/models/YOLOv9c.yaml +27 -0
- mblt_vision/models/YOLOv9e-seg.yaml +28 -0
- mblt_vision/models/YOLOv9e.yaml +27 -0
- mblt_vision/models/YOLOv9m.yaml +27 -0
- mblt_vision/models/YOLOv9s.yaml +27 -0
- mblt_vision/models/YOLOv9t.yaml +27 -0
- mblt_vision/obb/__init__.py +39 -0
- mblt_vision/object_detection/__init__.py +153 -0
- mblt_vision/pose_estimation/__init__.py +41 -0
- mblt_vision/py.typed +1 -0
- mblt_vision/semantic_segmentation/__init__.py +29 -0
- mblt_vision/utils/__init__.py +0 -0
- mblt_vision/utils/datasets/__init__.py +85 -0
- mblt_vision/utils/datasets/ade20k.py +41 -0
- mblt_vision/utils/datasets/cityscapes.py +66 -0
- mblt_vision/utils/datasets/coco.py +243 -0
- mblt_vision/utils/datasets/dataloader.py +1016 -0
- mblt_vision/utils/datasets/dotav1.py +59 -0
- mblt_vision/utils/datasets/imagenet.py +29 -0
- mblt_vision/utils/datasets/organizer.py +2145 -0
- mblt_vision/utils/datasets/readiness.py +1063 -0
- mblt_vision/utils/evaluation/__init__.py +51 -0
- mblt_vision/utils/evaluation/_result.py +22 -0
- mblt_vision/utils/evaluation/eval_ade20k.py +302 -0
- mblt_vision/utils/evaluation/eval_cityscapes.py +32 -0
- mblt_vision/utils/evaluation/eval_coco.py +465 -0
- mblt_vision/utils/evaluation/eval_dota.py +878 -0
- mblt_vision/utils/evaluation/eval_imagenet.py +151 -0
- mblt_vision/utils/evaluation/eval_nyu_depth.py +189 -0
- mblt_vision/utils/evaluation/eval_widerface.py +440 -0
- mblt_vision/utils/letterbox.py +118 -0
- mblt_vision/utils/postprocess/__init__.py +9 -0
- mblt_vision/utils/postprocess/_letterbox.py +102 -0
- mblt_vision/utils/postprocess/base.py +743 -0
- mblt_vision/utils/postprocess/build_post.py +120 -0
- mblt_vision/utils/postprocess/cls_post.py +117 -0
- mblt_vision/utils/postprocess/common.py +1571 -0
- mblt_vision/utils/postprocess/depth_post.py +106 -0
- mblt_vision/utils/postprocess/semantic_seg_post.py +192 -0
- mblt_vision/utils/postprocess/yolo_anchor_post.py +469 -0
- mblt_vision/utils/postprocess/yolo_anchorless_post.py +952 -0
- mblt_vision/utils/postprocess/yolo_dflfree_post.py +983 -0
- mblt_vision/utils/postprocess/yolo_nmsfree_post.py +176 -0
- mblt_vision/utils/preprocess/__init__.py +27 -0
- mblt_vision/utils/preprocess/_validation.py +66 -0
- mblt_vision/utils/preprocess/base.py +157 -0
- mblt_vision/utils/preprocess/build_pre.py +48 -0
- mblt_vision/utils/preprocess/center_crop.py +75 -0
- mblt_vision/utils/preprocess/letterbox.py +123 -0
- mblt_vision/utils/preprocess/normalize.py +94 -0
- mblt_vision/utils/preprocess/order.py +74 -0
- mblt_vision/utils/preprocess/reader.py +94 -0
- mblt_vision/utils/preprocess/resize.py +202 -0
- mblt_vision/utils/preprocess/yolo_pre.py +7 -0
- mblt_vision/utils/results.py +725 -0
- mblt_vision/utils/types.py +15 -0
- mblt_vision/wrapper.py +1121 -0
- mblt_vision_python-0.0.0.dist-info/METADATA +152 -0
- mblt_vision_python-0.0.0.dist-info/RECORD +404 -0
- mblt_vision_python-0.0.0.dist-info/WHEEL +5 -0
- mblt_vision_python-0.0.0.dist-info/entry_points.txt +2 -0
- mblt_vision_python-0.0.0.dist-info/licenses/LICENSE +28 -0
- mblt_vision_python-0.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
"""Load YAML-backed vision dataset definitions."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
from functools import lru_cache
|
|
7
|
+
from pathlib import Path
|
|
8
|
+
from typing import Any
|
|
9
|
+
|
|
10
|
+
import yaml
|
|
11
|
+
|
|
12
|
+
from .._tasks import normalize_vision_task
|
|
13
|
+
|
|
14
|
+
DATASET_CONFIG_DIR = Path(__file__).parent
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
@lru_cache(maxsize=None)
|
|
18
|
+
def _load_dataset_config(name: str) -> dict[str, Any]:
|
|
19
|
+
"""Load and validate a dataset definition without mutating its cached value."""
|
|
20
|
+
|
|
21
|
+
config_path = DATASET_CONFIG_DIR / f"{name.lower()}.yaml"
|
|
22
|
+
if not config_path.is_file():
|
|
23
|
+
raise FileNotFoundError(f"Vision dataset definition not found: {config_path}")
|
|
24
|
+
|
|
25
|
+
with config_path.open(encoding="utf-8") as config_file:
|
|
26
|
+
config = yaml.safe_load(config_file)
|
|
27
|
+
if not isinstance(config, dict):
|
|
28
|
+
raise ValueError(f"Vision dataset definition must be a mapping: {config_path}")
|
|
29
|
+
if not isinstance(config.get("path"), str):
|
|
30
|
+
raise ValueError(
|
|
31
|
+
f"Vision dataset definition requires a string `path`: {config_path}"
|
|
32
|
+
)
|
|
33
|
+
if not isinstance(config.get("name"), str):
|
|
34
|
+
raise ValueError(
|
|
35
|
+
f"Vision dataset definition requires a string `name`: {config_path}"
|
|
36
|
+
)
|
|
37
|
+
if not isinstance(config.get("tasks"), list) or not all(
|
|
38
|
+
isinstance(task, str) for task in config["tasks"]
|
|
39
|
+
):
|
|
40
|
+
raise ValueError(
|
|
41
|
+
f"Vision dataset definition requires a string-list `tasks`: {config_path}"
|
|
42
|
+
)
|
|
43
|
+
config["path"] = str(Path(config["path"]).expanduser())
|
|
44
|
+
return config
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def get_dataset_config(name: str) -> dict[str, Any]:
|
|
48
|
+
"""Load a named vision dataset definition.
|
|
49
|
+
|
|
50
|
+
Args:
|
|
51
|
+
name: Dataset filename stem, such as ``dotav1``.
|
|
52
|
+
|
|
53
|
+
Returns:
|
|
54
|
+
Parsed dataset configuration with its path expanded.
|
|
55
|
+
|
|
56
|
+
Raises:
|
|
57
|
+
FileNotFoundError: If the dataset definition does not exist.
|
|
58
|
+
ValueError: If the definition is malformed.
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
return copy.deepcopy(_load_dataset_config(name))
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
def get_dataset_class_names(name: str) -> tuple[str, ...]:
|
|
65
|
+
"""Return ordered class names from a dataset definition.
|
|
66
|
+
|
|
67
|
+
Args:
|
|
68
|
+
name: Dataset filename stem, such as ``coco``.
|
|
69
|
+
|
|
70
|
+
Returns:
|
|
71
|
+
Class names ordered by contiguous zero-based index.
|
|
72
|
+
|
|
73
|
+
Raises:
|
|
74
|
+
ValueError: If the dataset has no valid contiguous ``names`` mapping.
|
|
75
|
+
"""
|
|
76
|
+
|
|
77
|
+
names = _load_dataset_config(name).get("names")
|
|
78
|
+
if not isinstance(names, dict) or not all(
|
|
79
|
+
isinstance(index, int) and isinstance(label, str)
|
|
80
|
+
for index, label in names.items()
|
|
81
|
+
):
|
|
82
|
+
raise ValueError(
|
|
83
|
+
f"Vision dataset definition requires an integer-keyed `names` mapping: {name}"
|
|
84
|
+
)
|
|
85
|
+
if set(names) != set(range(len(names))):
|
|
86
|
+
raise ValueError(
|
|
87
|
+
f"Vision dataset class IDs must be contiguous and zero-based: {name}"
|
|
88
|
+
)
|
|
89
|
+
return tuple(names[index] for index in range(len(names)))
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
@lru_cache(maxsize=None)
|
|
93
|
+
def get_dataset_category_ids(name: str) -> tuple[int, ...]:
|
|
94
|
+
"""Return immutable source category IDs from a dataset definition.
|
|
95
|
+
|
|
96
|
+
Args:
|
|
97
|
+
name: Dataset filename stem, such as ``coco``.
|
|
98
|
+
|
|
99
|
+
Returns:
|
|
100
|
+
Source category IDs ordered by contiguous model-output index.
|
|
101
|
+
|
|
102
|
+
Raises:
|
|
103
|
+
ValueError: If the dataset has no integer ``category_ids`` list.
|
|
104
|
+
"""
|
|
105
|
+
|
|
106
|
+
category_ids = _load_dataset_config(name).get("category_ids")
|
|
107
|
+
if not isinstance(category_ids, list) or not all(
|
|
108
|
+
isinstance(category_id, int) for category_id in category_ids
|
|
109
|
+
):
|
|
110
|
+
raise ValueError(
|
|
111
|
+
f"Vision dataset definition requires an integer-list `category_ids`: {name}"
|
|
112
|
+
)
|
|
113
|
+
return tuple(category_ids)
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
def get_dataset_config_for_task(
|
|
117
|
+
task: str, dataset: str | None = None
|
|
118
|
+
) -> dict[str, Any]:
|
|
119
|
+
"""Return the validation dataset definition associated with a vision task.
|
|
120
|
+
|
|
121
|
+
Args:
|
|
122
|
+
task: Vision task name from a model postprocess configuration.
|
|
123
|
+
dataset: Optional output-taxonomy name. When omitted, the first configured
|
|
124
|
+
task match is returned for backward compatibility.
|
|
125
|
+
|
|
126
|
+
Returns:
|
|
127
|
+
Matching dataset configuration.
|
|
128
|
+
|
|
129
|
+
Raises:
|
|
130
|
+
ValueError: If no configured dataset supports the task.
|
|
131
|
+
"""
|
|
132
|
+
|
|
133
|
+
normalized_task = normalize_vision_task(task)
|
|
134
|
+
if dataset is not None:
|
|
135
|
+
try:
|
|
136
|
+
config = get_dataset_config(dataset)
|
|
137
|
+
except FileNotFoundError as exc:
|
|
138
|
+
raise ValueError(
|
|
139
|
+
f"No vision dataset definition exists for taxonomy `{dataset}`."
|
|
140
|
+
) from exc
|
|
141
|
+
configured_tasks = {
|
|
142
|
+
normalize_vision_task(configured_task)
|
|
143
|
+
for configured_task in config["tasks"]
|
|
144
|
+
}
|
|
145
|
+
if normalized_task not in configured_tasks:
|
|
146
|
+
raise ValueError(
|
|
147
|
+
f"Vision dataset `{dataset}` does not support task `{task}`."
|
|
148
|
+
)
|
|
149
|
+
return config
|
|
150
|
+
|
|
151
|
+
for config_path in sorted(DATASET_CONFIG_DIR.glob("*.yaml")):
|
|
152
|
+
config = get_dataset_config(config_path.stem)
|
|
153
|
+
if normalized_task in {
|
|
154
|
+
normalize_vision_task(configured_task)
|
|
155
|
+
for configured_task in config["tasks"]
|
|
156
|
+
}:
|
|
157
|
+
return config
|
|
158
|
+
raise ValueError(f"No vision dataset definition supports task `{task}`.")
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# WiderFace validation dataset. Paths are relative to `path` unless absolute.
|
|
2
|
+
name: widerface
|
|
3
|
+
path: ~/.mblt_model_zoo/datasets/widerface
|
|
4
|
+
tasks:
|
|
5
|
+
- face_detection
|
|
6
|
+
val: images
|
|
7
|
+
download:
|
|
8
|
+
images: https://huggingface.co/datasets/CUHK-CSE/wider_face/resolve/main/data/WIDER_val.zip
|
|
9
|
+
annotations: https://huggingface.co/datasets/CUHK-CSE/wider_face/resolve/main/data/wider_face_split.zip
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""Depth estimation model exports."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from .._compat import create_model_class
|
|
6
|
+
|
|
7
|
+
__all__: list[str] = [
|
|
8
|
+
"YOLO26lDepth",
|
|
9
|
+
"YOLO26mDepth",
|
|
10
|
+
"YOLO26nDepth",
|
|
11
|
+
"YOLO26sDepth",
|
|
12
|
+
"YOLO26xDepth",
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
YOLO26lDepth = create_model_class("YOLO26lDepth", __name__)
|
|
16
|
+
YOLO26mDepth = create_model_class("YOLO26mDepth", __name__)
|
|
17
|
+
YOLO26nDepth = create_model_class("YOLO26nDepth", __name__)
|
|
18
|
+
YOLO26sDepth = create_model_class("YOLO26sDepth", __name__)
|
|
19
|
+
YOLO26xDepth = create_model_class("YOLO26xDepth", __name__)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"""Face detection exports for the vision package."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from .._compat import create_model_class
|
|
6
|
+
|
|
7
|
+
__all__: list[str] = [
|
|
8
|
+
"YOLO11l_face",
|
|
9
|
+
"YOLO11m_face",
|
|
10
|
+
"YOLO11n_face",
|
|
11
|
+
"YOLO11s_face",
|
|
12
|
+
"YOLO12l_face",
|
|
13
|
+
"YOLO12m_face",
|
|
14
|
+
"YOLO12n_face",
|
|
15
|
+
"YOLO12s_face",
|
|
16
|
+
"YOLOv10l_face",
|
|
17
|
+
"YOLOv10m_face",
|
|
18
|
+
"YOLOv10n_face",
|
|
19
|
+
"YOLOv10s_face",
|
|
20
|
+
"YOLOv6m_face",
|
|
21
|
+
"YOLOv6n_face",
|
|
22
|
+
"YOLOv8l_face",
|
|
23
|
+
"YOLOv8m_face",
|
|
24
|
+
"YOLOv8n_face",
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
YOLO11l_face = create_model_class("YOLO11l_face", __name__)
|
|
28
|
+
YOLO11m_face = create_model_class("YOLO11m_face", __name__)
|
|
29
|
+
YOLO11n_face = create_model_class("YOLO11n_face", __name__)
|
|
30
|
+
YOLO11s_face = create_model_class("YOLO11s_face", __name__)
|
|
31
|
+
YOLO12l_face = create_model_class("YOLO12l_face", __name__)
|
|
32
|
+
YOLO12m_face = create_model_class("YOLO12m_face", __name__)
|
|
33
|
+
YOLO12n_face = create_model_class("YOLO12n_face", __name__)
|
|
34
|
+
YOLO12s_face = create_model_class("YOLO12s_face", __name__)
|
|
35
|
+
YOLOv10l_face = create_model_class("YOLOv10l_face", __name__)
|
|
36
|
+
YOLOv10m_face = create_model_class("YOLOv10m_face", __name__)
|
|
37
|
+
YOLOv10n_face = create_model_class("YOLOv10n_face", __name__)
|
|
38
|
+
YOLOv10s_face = create_model_class("YOLOv10s_face", __name__)
|
|
39
|
+
YOLOv6m_face = create_model_class("YOLOv6m_face", __name__)
|
|
40
|
+
YOLOv6n_face = create_model_class("YOLOv6n_face", __name__)
|
|
41
|
+
YOLOv8l_face = create_model_class("YOLOv8l_face", __name__)
|
|
42
|
+
YOLOv8m_face = create_model_class("YOLOv8m_face", __name__)
|
|
43
|
+
YOLOv8n_face = create_model_class("YOLOv8n_face", __name__)
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
"""Image classification model exports."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from .._compat import create_model_class
|
|
6
|
+
|
|
7
|
+
__all__: list[str] = [
|
|
8
|
+
"AlexNet",
|
|
9
|
+
"CAFormer_B36",
|
|
10
|
+
"CAFormer_M36",
|
|
11
|
+
"CAFormer_S18",
|
|
12
|
+
"CAFormer_S36",
|
|
13
|
+
"CoAtNet_0_RW_224",
|
|
14
|
+
"CoAtNet_1_RW_224",
|
|
15
|
+
"CoAtNet_2_RW_224",
|
|
16
|
+
"ConvFormer_B36",
|
|
17
|
+
"ConvFormer_M36",
|
|
18
|
+
"ConvFormer_S18",
|
|
19
|
+
"ConvFormer_S36",
|
|
20
|
+
"ConvNeXt_Base",
|
|
21
|
+
"ConvNeXt_Large",
|
|
22
|
+
"ConvNeXt_Small",
|
|
23
|
+
"ConvNeXt_Tiny",
|
|
24
|
+
"DeiT_Base_Patch16_224",
|
|
25
|
+
"DeiT_Base_Patch16_384",
|
|
26
|
+
"DeiT_Small_Patch16_224",
|
|
27
|
+
"DeiT_Tiny_Patch16_224",
|
|
28
|
+
"DeiT3_Base_Patch16_224",
|
|
29
|
+
"DeiT3_Base_Patch16_384",
|
|
30
|
+
"DeiT3_Large_Patch16_224",
|
|
31
|
+
"DeiT3_Large_Patch16_384",
|
|
32
|
+
"DeiT3_Medium_Patch16_224",
|
|
33
|
+
"DeiT3_Small_Patch16_224",
|
|
34
|
+
"DeiT3_Small_Patch16_384",
|
|
35
|
+
"DenseNet121",
|
|
36
|
+
"DenseNet161",
|
|
37
|
+
"DenseNet169",
|
|
38
|
+
"DenseNet201",
|
|
39
|
+
"EfficientFormer_L1",
|
|
40
|
+
"EfficientFormer_L3",
|
|
41
|
+
"EfficientFormer_L7",
|
|
42
|
+
"EfficientNet_B0",
|
|
43
|
+
"EfficientNet_B1",
|
|
44
|
+
"EfficientNet_B2",
|
|
45
|
+
"EfficientNet_B3",
|
|
46
|
+
"EfficientNet_B4",
|
|
47
|
+
"EfficientNet_B5",
|
|
48
|
+
"EfficientNet_B6",
|
|
49
|
+
"EfficientNet_B7",
|
|
50
|
+
"EfficientNet_V2_L",
|
|
51
|
+
"EfficientNet_V2_M",
|
|
52
|
+
"EfficientNet_V2_S",
|
|
53
|
+
"FlexiViT_Base",
|
|
54
|
+
"FlexiViT_Large",
|
|
55
|
+
"FlexiViT_Small",
|
|
56
|
+
"GoogLeNet",
|
|
57
|
+
"Inception_V3",
|
|
58
|
+
"LeViT_Conv_128",
|
|
59
|
+
"LeViT_Conv_128S",
|
|
60
|
+
"LeViT_Conv_192",
|
|
61
|
+
"LeViT_Conv_256",
|
|
62
|
+
"LeViT_Conv_384",
|
|
63
|
+
"MNASNet0_5",
|
|
64
|
+
"MNASNet0_75",
|
|
65
|
+
"MNASNet1_0",
|
|
66
|
+
"MNASNet1_3",
|
|
67
|
+
"MobileNet_V2",
|
|
68
|
+
"MobileNet_V3_Large",
|
|
69
|
+
"MobileNet_V3_Small",
|
|
70
|
+
"RegNet_X_1_6GF",
|
|
71
|
+
"RegNet_X_3_2GF",
|
|
72
|
+
"RegNet_X_8GF",
|
|
73
|
+
"RegNet_X_16GF",
|
|
74
|
+
"RegNet_X_32GF",
|
|
75
|
+
"RegNet_X_400MF",
|
|
76
|
+
"RegNet_X_800MF",
|
|
77
|
+
"RegNet_Y_1_6GF",
|
|
78
|
+
"RegNet_Y_3_2GF",
|
|
79
|
+
"RegNet_Y_8GF",
|
|
80
|
+
"RegNet_Y_16GF",
|
|
81
|
+
"RegNet_Y_32GF",
|
|
82
|
+
"RegNet_Y_400MF",
|
|
83
|
+
"RegNet_Y_800MF",
|
|
84
|
+
"RepViT_M0_9",
|
|
85
|
+
"RepViT_M1",
|
|
86
|
+
"RepViT_M1_0",
|
|
87
|
+
"RepViT_M1_1",
|
|
88
|
+
"RepViT_M1_5",
|
|
89
|
+
"RepViT_M2",
|
|
90
|
+
"RepViT_M2_3",
|
|
91
|
+
"RepViT_M3",
|
|
92
|
+
"ResNet18",
|
|
93
|
+
"ResNet34",
|
|
94
|
+
"ResNet50",
|
|
95
|
+
"ResNet101",
|
|
96
|
+
"ResNet152",
|
|
97
|
+
"ResNeXt50_32x4d",
|
|
98
|
+
"ResNeXt101_32x8d",
|
|
99
|
+
"ResNeXt101_64x4d",
|
|
100
|
+
"ShuffleNet_V2_X0_5",
|
|
101
|
+
"ShuffleNet_V2_X1_0",
|
|
102
|
+
"ShuffleNet_V2_X1_5",
|
|
103
|
+
"ShuffleNet_V2_X2_0",
|
|
104
|
+
"SqueezeNet1_0",
|
|
105
|
+
"SqueezeNet1_1",
|
|
106
|
+
"Swin_B",
|
|
107
|
+
"Swin_S",
|
|
108
|
+
"Swin_T",
|
|
109
|
+
"VGG11",
|
|
110
|
+
"VGG11_BN",
|
|
111
|
+
"VGG13",
|
|
112
|
+
"VGG13_BN",
|
|
113
|
+
"VGG16",
|
|
114
|
+
"VGG16_BN",
|
|
115
|
+
"VGG19",
|
|
116
|
+
"VGG19_BN",
|
|
117
|
+
"VisFormer_Small",
|
|
118
|
+
"VisFormer_Tiny",
|
|
119
|
+
"ViT_B_16",
|
|
120
|
+
"ViT_B_32",
|
|
121
|
+
"ViT_Base_Patch8_224",
|
|
122
|
+
"ViT_Base_Patch16_224",
|
|
123
|
+
"ViT_Base_Patch16_384",
|
|
124
|
+
"ViT_Base_Patch32_224",
|
|
125
|
+
"ViT_Base_Patch32_384",
|
|
126
|
+
"ViT_L_16",
|
|
127
|
+
"ViT_L_32",
|
|
128
|
+
"ViT_Large_Patch16_224",
|
|
129
|
+
"ViT_Large_Patch16_384",
|
|
130
|
+
"ViT_Large_Patch32_384",
|
|
131
|
+
"ViT_Small_Patch16_224",
|
|
132
|
+
"ViT_Small_Patch16_384",
|
|
133
|
+
"ViT_Small_Patch32_224",
|
|
134
|
+
"ViT_Small_Patch32_384",
|
|
135
|
+
"ViT_Tiny_Patch16_224",
|
|
136
|
+
"ViT_Tiny_Patch16_384",
|
|
137
|
+
"Wide_ResNet50_2",
|
|
138
|
+
"Wide_ResNet101_2",
|
|
139
|
+
"YOLO11lCls",
|
|
140
|
+
"YOLO11mCls",
|
|
141
|
+
"YOLO11nCls",
|
|
142
|
+
"YOLO11sCls",
|
|
143
|
+
"YOLO11xCls",
|
|
144
|
+
"YOLO26lCls",
|
|
145
|
+
"YOLO26mCls",
|
|
146
|
+
"YOLO26nCls",
|
|
147
|
+
"YOLO26sCls",
|
|
148
|
+
"YOLO26xCls",
|
|
149
|
+
"YOLOv5lCls",
|
|
150
|
+
"YOLOv5mCls",
|
|
151
|
+
"YOLOv5nCls",
|
|
152
|
+
"YOLOv5sCls",
|
|
153
|
+
"YOLOv5xCls",
|
|
154
|
+
"YOLOv8lCls",
|
|
155
|
+
"YOLOv8mCls",
|
|
156
|
+
"YOLOv8nCls",
|
|
157
|
+
"YOLOv8sCls",
|
|
158
|
+
"YOLOv8xCls",
|
|
159
|
+
]
|
|
160
|
+
|
|
161
|
+
AlexNet = create_model_class("AlexNet", __name__)
|
|
162
|
+
CAFormer_B36 = create_model_class("CAFormer_B36", __name__)
|
|
163
|
+
CAFormer_M36 = create_model_class("CAFormer_M36", __name__)
|
|
164
|
+
CAFormer_S18 = create_model_class("CAFormer_S18", __name__)
|
|
165
|
+
CAFormer_S36 = create_model_class("CAFormer_S36", __name__)
|
|
166
|
+
CoAtNet_0_RW_224 = create_model_class("CoAtNet_0_RW_224", __name__)
|
|
167
|
+
CoAtNet_1_RW_224 = create_model_class("CoAtNet_1_RW_224", __name__)
|
|
168
|
+
CoAtNet_2_RW_224 = create_model_class("CoAtNet_2_RW_224", __name__)
|
|
169
|
+
ConvFormer_B36 = create_model_class("ConvFormer_B36", __name__)
|
|
170
|
+
ConvFormer_M36 = create_model_class("ConvFormer_M36", __name__)
|
|
171
|
+
ConvFormer_S18 = create_model_class("ConvFormer_S18", __name__)
|
|
172
|
+
ConvFormer_S36 = create_model_class("ConvFormer_S36", __name__)
|
|
173
|
+
ConvNeXt_Base = create_model_class("ConvNeXt_Base", __name__)
|
|
174
|
+
ConvNeXt_Large = create_model_class("ConvNeXt_Large", __name__)
|
|
175
|
+
ConvNeXt_Small = create_model_class("ConvNeXt_Small", __name__)
|
|
176
|
+
ConvNeXt_Tiny = create_model_class("ConvNeXt_Tiny", __name__)
|
|
177
|
+
DeiT_Base_Patch16_224 = create_model_class("DeiT_Base_Patch16_224", __name__)
|
|
178
|
+
DeiT_Base_Patch16_384 = create_model_class("DeiT_Base_Patch16_384", __name__)
|
|
179
|
+
DeiT_Small_Patch16_224 = create_model_class("DeiT_Small_Patch16_224", __name__)
|
|
180
|
+
DeiT_Tiny_Patch16_224 = create_model_class("DeiT_Tiny_Patch16_224", __name__)
|
|
181
|
+
DeiT3_Base_Patch16_224 = create_model_class("DeiT3_Base_Patch16_224", __name__)
|
|
182
|
+
DeiT3_Base_Patch16_384 = create_model_class("DeiT3_Base_Patch16_384", __name__)
|
|
183
|
+
DeiT3_Large_Patch16_224 = create_model_class("DeiT3_Large_Patch16_224", __name__)
|
|
184
|
+
DeiT3_Large_Patch16_384 = create_model_class("DeiT3_Large_Patch16_384", __name__)
|
|
185
|
+
DeiT3_Medium_Patch16_224 = create_model_class("DeiT3_Medium_Patch16_224", __name__)
|
|
186
|
+
DeiT3_Small_Patch16_224 = create_model_class("DeiT3_Small_Patch16_224", __name__)
|
|
187
|
+
DeiT3_Small_Patch16_384 = create_model_class("DeiT3_Small_Patch16_384", __name__)
|
|
188
|
+
DenseNet121 = create_model_class("DenseNet121", __name__)
|
|
189
|
+
DenseNet161 = create_model_class("DenseNet161", __name__)
|
|
190
|
+
DenseNet169 = create_model_class("DenseNet169", __name__)
|
|
191
|
+
DenseNet201 = create_model_class("DenseNet201", __name__)
|
|
192
|
+
EfficientFormer_L1 = create_model_class("EfficientFormer_L1", __name__)
|
|
193
|
+
EfficientFormer_L3 = create_model_class("EfficientFormer_L3", __name__)
|
|
194
|
+
EfficientFormer_L7 = create_model_class("EfficientFormer_L7", __name__)
|
|
195
|
+
EfficientNet_B0 = create_model_class("EfficientNet_B0", __name__)
|
|
196
|
+
EfficientNet_B1 = create_model_class("EfficientNet_B1", __name__)
|
|
197
|
+
EfficientNet_B2 = create_model_class("EfficientNet_B2", __name__)
|
|
198
|
+
EfficientNet_B3 = create_model_class("EfficientNet_B3", __name__)
|
|
199
|
+
EfficientNet_B4 = create_model_class("EfficientNet_B4", __name__)
|
|
200
|
+
EfficientNet_B5 = create_model_class("EfficientNet_B5", __name__)
|
|
201
|
+
EfficientNet_B6 = create_model_class("EfficientNet_B6", __name__)
|
|
202
|
+
EfficientNet_B7 = create_model_class("EfficientNet_B7", __name__)
|
|
203
|
+
EfficientNet_V2_L = create_model_class("EfficientNet_V2_L", __name__)
|
|
204
|
+
EfficientNet_V2_M = create_model_class("EfficientNet_V2_M", __name__)
|
|
205
|
+
EfficientNet_V2_S = create_model_class("EfficientNet_V2_S", __name__)
|
|
206
|
+
FlexiViT_Base = create_model_class("FlexiViT_Base", __name__)
|
|
207
|
+
FlexiViT_Large = create_model_class("FlexiViT_Large", __name__)
|
|
208
|
+
FlexiViT_Small = create_model_class("FlexiViT_Small", __name__)
|
|
209
|
+
GoogLeNet = create_model_class("GoogLeNet", __name__)
|
|
210
|
+
Inception_V3 = create_model_class("Inception_V3", __name__)
|
|
211
|
+
LeViT_Conv_128 = create_model_class("LeViT_Conv_128", __name__)
|
|
212
|
+
LeViT_Conv_128S = create_model_class("LeViT_Conv_128S", __name__)
|
|
213
|
+
LeViT_Conv_192 = create_model_class("LeViT_Conv_192", __name__)
|
|
214
|
+
LeViT_Conv_256 = create_model_class("LeViT_Conv_256", __name__)
|
|
215
|
+
LeViT_Conv_384 = create_model_class("LeViT_Conv_384", __name__)
|
|
216
|
+
MNASNet0_5 = create_model_class("MNASNet0_5", __name__)
|
|
217
|
+
MNASNet0_75 = create_model_class("MNASNet0_75", __name__)
|
|
218
|
+
MNASNet1_0 = create_model_class("MNASNet1_0", __name__)
|
|
219
|
+
MNASNet1_3 = create_model_class("MNASNet1_3", __name__)
|
|
220
|
+
MobileNet_V2 = create_model_class("MobileNet_V2", __name__)
|
|
221
|
+
MobileNet_V3_Large = create_model_class("MobileNet_V3_Large", __name__)
|
|
222
|
+
MobileNet_V3_Small = create_model_class("MobileNet_V3_Small", __name__)
|
|
223
|
+
RegNet_X_1_6GF = create_model_class("RegNet_X_1_6GF", __name__)
|
|
224
|
+
RegNet_X_3_2GF = create_model_class("RegNet_X_3_2GF", __name__)
|
|
225
|
+
RegNet_X_8GF = create_model_class("RegNet_X_8GF", __name__)
|
|
226
|
+
RegNet_X_16GF = create_model_class("RegNet_X_16GF", __name__)
|
|
227
|
+
RegNet_X_32GF = create_model_class("RegNet_X_32GF", __name__)
|
|
228
|
+
RegNet_X_400MF = create_model_class("RegNet_X_400MF", __name__)
|
|
229
|
+
RegNet_X_800MF = create_model_class("RegNet_X_800MF", __name__)
|
|
230
|
+
RegNet_Y_1_6GF = create_model_class("RegNet_Y_1_6GF", __name__)
|
|
231
|
+
RegNet_Y_3_2GF = create_model_class("RegNet_Y_3_2GF", __name__)
|
|
232
|
+
RegNet_Y_8GF = create_model_class("RegNet_Y_8GF", __name__)
|
|
233
|
+
RegNet_Y_16GF = create_model_class("RegNet_Y_16GF", __name__)
|
|
234
|
+
RegNet_Y_32GF = create_model_class("RegNet_Y_32GF", __name__)
|
|
235
|
+
RegNet_Y_400MF = create_model_class("RegNet_Y_400MF", __name__)
|
|
236
|
+
RegNet_Y_800MF = create_model_class("RegNet_Y_800MF", __name__)
|
|
237
|
+
RepViT_M0_9 = create_model_class("RepViT_M0_9", __name__)
|
|
238
|
+
RepViT_M1 = create_model_class("RepViT_M1", __name__)
|
|
239
|
+
RepViT_M1_0 = create_model_class("RepViT_M1_0", __name__)
|
|
240
|
+
RepViT_M1_1 = create_model_class("RepViT_M1_1", __name__)
|
|
241
|
+
RepViT_M1_5 = create_model_class("RepViT_M1_5", __name__)
|
|
242
|
+
RepViT_M2 = create_model_class("RepViT_M2", __name__)
|
|
243
|
+
RepViT_M2_3 = create_model_class("RepViT_M2_3", __name__)
|
|
244
|
+
RepViT_M3 = create_model_class("RepViT_M3", __name__)
|
|
245
|
+
ResNet18 = create_model_class("ResNet18", __name__)
|
|
246
|
+
ResNet34 = create_model_class("ResNet34", __name__)
|
|
247
|
+
ResNet50 = create_model_class("ResNet50", __name__)
|
|
248
|
+
ResNet101 = create_model_class("ResNet101", __name__)
|
|
249
|
+
ResNet152 = create_model_class("ResNet152", __name__)
|
|
250
|
+
ResNeXt50_32x4d = create_model_class("ResNeXt50_32x4d", __name__)
|
|
251
|
+
ResNeXt101_32x8d = create_model_class("ResNeXt101_32x8d", __name__)
|
|
252
|
+
ResNeXt101_64x4d = create_model_class("ResNeXt101_64x4d", __name__)
|
|
253
|
+
ShuffleNet_V2_X0_5 = create_model_class("ShuffleNet_V2_X0_5", __name__)
|
|
254
|
+
ShuffleNet_V2_X1_0 = create_model_class("ShuffleNet_V2_X1_0", __name__)
|
|
255
|
+
ShuffleNet_V2_X1_5 = create_model_class("ShuffleNet_V2_X1_5", __name__)
|
|
256
|
+
ShuffleNet_V2_X2_0 = create_model_class("ShuffleNet_V2_X2_0", __name__)
|
|
257
|
+
SqueezeNet1_0 = create_model_class("SqueezeNet1_0", __name__)
|
|
258
|
+
SqueezeNet1_1 = create_model_class("SqueezeNet1_1", __name__)
|
|
259
|
+
Swin_B = create_model_class("Swin_B", __name__)
|
|
260
|
+
Swin_S = create_model_class("Swin_S", __name__)
|
|
261
|
+
Swin_T = create_model_class("Swin_T", __name__)
|
|
262
|
+
VGG11 = create_model_class("VGG11", __name__)
|
|
263
|
+
VGG11_BN = create_model_class("VGG11_BN", __name__)
|
|
264
|
+
VGG13 = create_model_class("VGG13", __name__)
|
|
265
|
+
VGG13_BN = create_model_class("VGG13_BN", __name__)
|
|
266
|
+
VGG16 = create_model_class("VGG16", __name__)
|
|
267
|
+
VGG16_BN = create_model_class("VGG16_BN", __name__)
|
|
268
|
+
VGG19 = create_model_class("VGG19", __name__)
|
|
269
|
+
VGG19_BN = create_model_class("VGG19_BN", __name__)
|
|
270
|
+
VisFormer_Small = create_model_class("VisFormer_Small", __name__)
|
|
271
|
+
VisFormer_Tiny = create_model_class("VisFormer_Tiny", __name__)
|
|
272
|
+
ViT_B_16 = create_model_class("ViT_B_16", __name__)
|
|
273
|
+
ViT_B_32 = create_model_class("ViT_B_32", __name__)
|
|
274
|
+
ViT_Base_Patch8_224 = create_model_class("ViT_Base_Patch8_224", __name__)
|
|
275
|
+
ViT_Base_Patch16_224 = create_model_class("ViT_Base_Patch16_224", __name__)
|
|
276
|
+
ViT_Base_Patch16_384 = create_model_class("ViT_Base_Patch16_384", __name__)
|
|
277
|
+
ViT_Base_Patch32_224 = create_model_class("ViT_Base_Patch32_224", __name__)
|
|
278
|
+
ViT_Base_Patch32_384 = create_model_class("ViT_Base_Patch32_384", __name__)
|
|
279
|
+
ViT_L_16 = create_model_class("ViT_L_16", __name__)
|
|
280
|
+
ViT_L_32 = create_model_class("ViT_L_32", __name__)
|
|
281
|
+
ViT_Large_Patch16_224 = create_model_class("ViT_Large_Patch16_224", __name__)
|
|
282
|
+
ViT_Large_Patch16_384 = create_model_class("ViT_Large_Patch16_384", __name__)
|
|
283
|
+
ViT_Large_Patch32_384 = create_model_class("ViT_Large_Patch32_384", __name__)
|
|
284
|
+
ViT_Small_Patch16_224 = create_model_class("ViT_Small_Patch16_224", __name__)
|
|
285
|
+
ViT_Small_Patch16_384 = create_model_class("ViT_Small_Patch16_384", __name__)
|
|
286
|
+
ViT_Small_Patch32_224 = create_model_class("ViT_Small_Patch32_224", __name__)
|
|
287
|
+
ViT_Small_Patch32_384 = create_model_class("ViT_Small_Patch32_384", __name__)
|
|
288
|
+
ViT_Tiny_Patch16_224 = create_model_class("ViT_Tiny_Patch16_224", __name__)
|
|
289
|
+
ViT_Tiny_Patch16_384 = create_model_class("ViT_Tiny_Patch16_384", __name__)
|
|
290
|
+
Wide_ResNet50_2 = create_model_class("Wide_ResNet50_2", __name__)
|
|
291
|
+
Wide_ResNet101_2 = create_model_class("Wide_ResNet101_2", __name__)
|
|
292
|
+
YOLO11lCls = create_model_class("YOLO11lCls", __name__)
|
|
293
|
+
YOLO11mCls = create_model_class("YOLO11mCls", __name__)
|
|
294
|
+
YOLO11nCls = create_model_class("YOLO11nCls", __name__)
|
|
295
|
+
YOLO11sCls = create_model_class("YOLO11sCls", __name__)
|
|
296
|
+
YOLO11xCls = create_model_class("YOLO11xCls", __name__)
|
|
297
|
+
YOLO26lCls = create_model_class("YOLO26lCls", __name__)
|
|
298
|
+
YOLO26mCls = create_model_class("YOLO26mCls", __name__)
|
|
299
|
+
YOLO26nCls = create_model_class("YOLO26nCls", __name__)
|
|
300
|
+
YOLO26sCls = create_model_class("YOLO26sCls", __name__)
|
|
301
|
+
YOLO26xCls = create_model_class("YOLO26xCls", __name__)
|
|
302
|
+
YOLOv5lCls = create_model_class("YOLOv5lCls", __name__)
|
|
303
|
+
YOLOv5mCls = create_model_class("YOLOv5mCls", __name__)
|
|
304
|
+
YOLOv5nCls = create_model_class("YOLOv5nCls", __name__)
|
|
305
|
+
YOLOv5sCls = create_model_class("YOLOv5sCls", __name__)
|
|
306
|
+
YOLOv5xCls = create_model_class("YOLOv5xCls", __name__)
|
|
307
|
+
YOLOv8lCls = create_model_class("YOLOv8lCls", __name__)
|
|
308
|
+
YOLOv8mCls = create_model_class("YOLOv8mCls", __name__)
|
|
309
|
+
YOLOv8nCls = create_model_class("YOLOv8nCls", __name__)
|
|
310
|
+
YOLOv8sCls = create_model_class("YOLOv8sCls", __name__)
|
|
311
|
+
YOLOv8xCls = create_model_class("YOLOv8xCls", __name__)
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"""Instance segmentation model exports."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from .._compat import create_model_class
|
|
6
|
+
|
|
7
|
+
__all__: list[str] = [
|
|
8
|
+
"YOLO11lSeg",
|
|
9
|
+
"YOLO11mSeg",
|
|
10
|
+
"YOLO11nSeg",
|
|
11
|
+
"YOLO11sSeg",
|
|
12
|
+
"YOLO11xSeg",
|
|
13
|
+
"YOLO12lSeg",
|
|
14
|
+
"YOLO12mSeg",
|
|
15
|
+
"YOLO12nSeg",
|
|
16
|
+
"YOLO12sSeg",
|
|
17
|
+
"YOLO12xSeg",
|
|
18
|
+
"YOLO26lSeg",
|
|
19
|
+
"YOLO26mSeg",
|
|
20
|
+
"YOLO26nSeg",
|
|
21
|
+
"YOLO26sSeg",
|
|
22
|
+
"YOLO26xSeg",
|
|
23
|
+
"YOLOv5lSeg",
|
|
24
|
+
"YOLOv5mSeg",
|
|
25
|
+
"YOLOv5nSeg",
|
|
26
|
+
"YOLOv5sSeg",
|
|
27
|
+
"YOLOv5xSeg",
|
|
28
|
+
"YOLOv8lSeg",
|
|
29
|
+
"YOLOv8mSeg",
|
|
30
|
+
"YOLOv8nSeg",
|
|
31
|
+
"YOLOv8sSeg",
|
|
32
|
+
"YOLOv8xSeg",
|
|
33
|
+
"GELANcSeg",
|
|
34
|
+
"YOLOv9cSeg",
|
|
35
|
+
"YOLOv9eSeg",
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
YOLO11lSeg = create_model_class("YOLO11lSeg", __name__)
|
|
39
|
+
YOLO11mSeg = create_model_class("YOLO11mSeg", __name__)
|
|
40
|
+
YOLO11nSeg = create_model_class("YOLO11nSeg", __name__)
|
|
41
|
+
YOLO11sSeg = create_model_class("YOLO11sSeg", __name__)
|
|
42
|
+
YOLO11xSeg = create_model_class("YOLO11xSeg", __name__)
|
|
43
|
+
YOLO12lSeg = create_model_class("YOLO12lSeg", __name__)
|
|
44
|
+
YOLO12mSeg = create_model_class("YOLO12mSeg", __name__)
|
|
45
|
+
YOLO12nSeg = create_model_class("YOLO12nSeg", __name__)
|
|
46
|
+
YOLO12sSeg = create_model_class("YOLO12sSeg", __name__)
|
|
47
|
+
YOLO12xSeg = create_model_class("YOLO12xSeg", __name__)
|
|
48
|
+
YOLO26lSeg = create_model_class("YOLO26lSeg", __name__)
|
|
49
|
+
YOLO26mSeg = create_model_class("YOLO26mSeg", __name__)
|
|
50
|
+
YOLO26nSeg = create_model_class("YOLO26nSeg", __name__)
|
|
51
|
+
YOLO26sSeg = create_model_class("YOLO26sSeg", __name__)
|
|
52
|
+
YOLO26xSeg = create_model_class("YOLO26xSeg", __name__)
|
|
53
|
+
YOLOv5lSeg = create_model_class("YOLOv5lSeg", __name__)
|
|
54
|
+
YOLOv5mSeg = create_model_class("YOLOv5mSeg", __name__)
|
|
55
|
+
YOLOv5nSeg = create_model_class("YOLOv5nSeg", __name__)
|
|
56
|
+
YOLOv5sSeg = create_model_class("YOLOv5sSeg", __name__)
|
|
57
|
+
YOLOv5xSeg = create_model_class("YOLOv5xSeg", __name__)
|
|
58
|
+
YOLOv8lSeg = create_model_class("YOLOv8lSeg", __name__)
|
|
59
|
+
YOLOv8mSeg = create_model_class("YOLOv8mSeg", __name__)
|
|
60
|
+
YOLOv8nSeg = create_model_class("YOLOv8nSeg", __name__)
|
|
61
|
+
YOLOv8sSeg = create_model_class("YOLOv8sSeg", __name__)
|
|
62
|
+
YOLOv8xSeg = create_model_class("YOLOv8xSeg", __name__)
|
|
63
|
+
GELANcSeg = create_model_class("GELANcSeg", __name__)
|
|
64
|
+
YOLOv9cSeg = create_model_class("YOLOv9cSeg", __name__)
|
|
65
|
+
YOLOv9eSeg = create_model_class("YOLOv9eSeg", __name__)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
DEFAULT: IMAGENET1K_V1
|
|
2
|
+
IMAGENET1K_V1:
|
|
3
|
+
file_cfg:
|
|
4
|
+
repo_id: mobilint/AlexNet
|
|
5
|
+
filename: alexnet_IMAGENET1K_V1.mxq
|
|
6
|
+
revision: main
|
|
7
|
+
pre_cfg:
|
|
8
|
+
Reader:
|
|
9
|
+
style: pil
|
|
10
|
+
Resize:
|
|
11
|
+
size: 256
|
|
12
|
+
interpolation: bilinear
|
|
13
|
+
CenterCrop:
|
|
14
|
+
size:
|
|
15
|
+
- 224
|
|
16
|
+
- 224
|
|
17
|
+
SetOrder:
|
|
18
|
+
shape: HWC
|
|
19
|
+
Normalize:
|
|
20
|
+
style: torch
|
|
21
|
+
post_cfg:
|
|
22
|
+
task: image_classification
|
|
23
|
+
dataset: imagenet
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
DEFAULT:
|
|
2
|
+
file_cfg:
|
|
3
|
+
repo_id: mobilint/CAFormer_B36
|
|
4
|
+
filename: caformer_b36.mxq
|
|
5
|
+
revision: main
|
|
6
|
+
pre_cfg:
|
|
7
|
+
Reader:
|
|
8
|
+
style: pil
|
|
9
|
+
Resize:
|
|
10
|
+
size: 224
|
|
11
|
+
interpolation: bicubic
|
|
12
|
+
CenterCrop:
|
|
13
|
+
size:
|
|
14
|
+
- 224
|
|
15
|
+
- 224
|
|
16
|
+
SetOrder:
|
|
17
|
+
shape: HWC
|
|
18
|
+
Normalize:
|
|
19
|
+
style: torch
|
|
20
|
+
post_cfg:
|
|
21
|
+
task: image_classification
|
|
22
|
+
dataset: imagenet
|