autovision-framework 0.3.0__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.
- autovision_framework-0.3.0/LICENSE +202 -0
- autovision_framework-0.3.0/MANIFEST.in +20 -0
- autovision_framework-0.3.0/NOTICE +178 -0
- autovision_framework-0.3.0/PKG-INFO +184 -0
- autovision_framework-0.3.0/README.en.md +233 -0
- autovision_framework-0.3.0/README.md +805 -0
- autovision_framework-0.3.0/README_PYPI.md +93 -0
- autovision_framework-0.3.0/THIRD_PARTY_LICENSES.md +82 -0
- autovision_framework-0.3.0/docs/provenance/LEDGER.md +86 -0
- autovision_framework-0.3.0/examples/cpp/CMakeLists.txt +39 -0
- autovision_framework-0.3.0/examples/cpp/README.md +112 -0
- autovision_framework-0.3.0/examples/cpp/src/main.cpp +311 -0
- autovision_framework-0.3.0/examples/cpp/src/postprocess.hpp +191 -0
- autovision_framework-0.3.0/examples/cpp/src/postprocess_test.cpp +247 -0
- autovision_framework-0.3.0/examples/tasks/README.md +177 -0
- autovision_framework-0.3.0/examples/tasks/_common.py +546 -0
- autovision_framework-0.3.0/examples/tasks/assets/README.md +28 -0
- autovision_framework-0.3.0/examples/tasks/assets/airport_aerial.jpg +0 -0
- autovision_framework-0.3.0/examples/tasks/classification.py +44 -0
- autovision_framework-0.3.0/examples/tasks/classification_train.py +46 -0
- autovision_framework-0.3.0/examples/tasks/depth_estimation.py +51 -0
- autovision_framework-0.3.0/examples/tasks/depth_estimation_train.py +56 -0
- autovision_framework-0.3.0/examples/tasks/detection.py +178 -0
- autovision_framework-0.3.0/examples/tasks/detection_train.py +57 -0
- autovision_framework-0.3.0/examples/tasks/inference_demo.py +10 -0
- autovision_framework-0.3.0/examples/tasks/instance_segmentation.py +53 -0
- autovision_framework-0.3.0/examples/tasks/instance_segmentation_train.py +54 -0
- autovision_framework-0.3.0/examples/tasks/oriented_detection.py +54 -0
- autovision_framework-0.3.0/examples/tasks/oriented_detection_train.py +57 -0
- autovision_framework-0.3.0/examples/tasks/panoptic_segmentation.py +43 -0
- autovision_framework-0.3.0/examples/tasks/panoptic_segmentation_train.py +53 -0
- autovision_framework-0.3.0/examples/tasks/pose_estimation.py +52 -0
- autovision_framework-0.3.0/examples/tasks/pose_estimation_train.py +50 -0
- autovision_framework-0.3.0/examples/tasks/semantic_segmentation.py +55 -0
- autovision_framework-0.3.0/examples/tasks/semantic_segmentation_train.py +44 -0
- autovision_framework-0.3.0/examples/tasks/yolo/README.md +72 -0
- autovision_framework-0.3.0/examples/tasks/yolo/_common.py +180 -0
- autovision_framework-0.3.0/examples/tasks/yolo/classification.py +38 -0
- autovision_framework-0.3.0/examples/tasks/yolo/detection.py +39 -0
- autovision_framework-0.3.0/examples/tasks/yolo/obb.py +40 -0
- autovision_framework-0.3.0/examples/tasks/yolo/pose.py +41 -0
- autovision_framework-0.3.0/examples/tasks/yolo/segmentation.py +54 -0
- autovision_framework-0.3.0/pyproject.toml +237 -0
- autovision_framework-0.3.0/setup.cfg +4 -0
- autovision_framework-0.3.0/src/autovision/__init__.py +134 -0
- autovision_framework-0.3.0/src/autovision/_compat.py +57 -0
- autovision_framework-0.3.0/src/autovision/_license.py +13 -0
- autovision_framework-0.3.0/src/autovision/_version.py +15 -0
- autovision_framework-0.3.0/src/autovision/augment/__init__.py +27 -0
- autovision_framework-0.3.0/src/autovision/augment/detection/__init__.py +42 -0
- autovision_framework-0.3.0/src/autovision/augment/detection/args.py +168 -0
- autovision_framework-0.3.0/src/autovision/augment/detection/box_aware_eraser.py +231 -0
- autovision_framework-0.3.0/src/autovision/augment/detection/collate.py +294 -0
- autovision_framework-0.3.0/src/autovision/augment/detection/oriented_transform.py +207 -0
- autovision_framework-0.3.0/src/autovision/augment/detection/schedule.py +64 -0
- autovision_framework-0.3.0/src/autovision/augment/detection/transform.py +411 -0
- autovision_framework-0.3.0/src/autovision/augment/method_transform.py +38 -0
- autovision_framework-0.3.0/src/autovision/augment/mosaic_geometry.py +113 -0
- autovision_framework-0.3.0/src/autovision/augment/task_transform.py +57 -0
- autovision_framework-0.3.0/src/autovision/augment/transform_args.py +112 -0
- autovision_framework-0.3.0/src/autovision/augment/view_transform.py +102 -0
- autovision_framework-0.3.0/src/autovision/cli/__init__.py +30 -0
- autovision_framework-0.3.0/src/autovision/cli/_app.py +850 -0
- autovision_framework-0.3.0/src/autovision/cli/analyze_errors.py +227 -0
- autovision_framework-0.3.0/src/autovision/cli/common_helpers.py +266 -0
- autovision_framework-0.3.0/src/autovision/cli/compliance_report.py +27 -0
- autovision_framework-0.3.0/src/autovision/cli/data_check.py +159 -0
- autovision_framework-0.3.0/src/autovision/cli/export.py +45 -0
- autovision_framework-0.3.0/src/autovision/cli/extract_video_frames.py +81 -0
- autovision_framework-0.3.0/src/autovision/cli/model_handle.py +400 -0
- autovision_framework-0.3.0/src/autovision/cli/plot.py +118 -0
- autovision_framework-0.3.0/src/autovision/cli/pseudo_label.py +90 -0
- autovision_framework-0.3.0/src/autovision/cli/recipes.py +123 -0
- autovision_framework-0.3.0/src/autovision/cli/system_info.py +108 -0
- autovision_framework-0.3.0/src/autovision/cli/train.py +359 -0
- autovision_framework-0.3.0/src/autovision/cli/train_helpers.py +170 -0
- autovision_framework-0.3.0/src/autovision/cli/train_task/__init__.py +36 -0
- autovision_framework-0.3.0/src/autovision/cli/train_task/depth_estimation.py +245 -0
- autovision_framework-0.3.0/src/autovision/cli/train_task/image_classification.py +256 -0
- autovision_framework-0.3.0/src/autovision/cli/train_task/instance_segmentation.py +280 -0
- autovision_framework-0.3.0/src/autovision/cli/train_task/object_detection.py +510 -0
- autovision_framework-0.3.0/src/autovision/cli/train_task/oriented_object_detection.py +310 -0
- autovision_framework-0.3.0/src/autovision/cli/train_task/panoptic_segmentation.py +273 -0
- autovision_framework-0.3.0/src/autovision/cli/train_task/pose_estimation.py +259 -0
- autovision_framework-0.3.0/src/autovision/cli/train_task/semantic_segmentation.py +302 -0
- autovision_framework-0.3.0/src/autovision/cli/train_task/task_helpers.py +35 -0
- autovision_framework-0.3.0/src/autovision/compliance/__init__.py +24 -0
- autovision_framework-0.3.0/src/autovision/compliance/inventory.py +162 -0
- autovision_framework-0.3.0/src/autovision/compliance/licenses.py +170 -0
- autovision_framework-0.3.0/src/autovision/compliance/report.py +320 -0
- autovision_framework-0.3.0/src/autovision/config/__init__.py +22 -0
- autovision_framework-0.3.0/src/autovision/config/base.py +64 -0
- autovision_framework-0.3.0/src/autovision/config/registry.py +68 -0
- autovision_framework-0.3.0/src/autovision/config/validate.py +116 -0
- autovision_framework-0.3.0/src/autovision/data/__init__.py +7 -0
- autovision_framework-0.3.0/src/autovision/data/coco8.py +142 -0
- autovision_framework-0.3.0/src/autovision/data/coco_instance_segmentation_dataset.py +123 -0
- autovision_framework-0.3.0/src/autovision/data/coco_keypoint_dataset.py +155 -0
- autovision_framework-0.3.0/src/autovision/data/coco_object_detection_dataset.py +154 -0
- autovision_framework-0.3.0/src/autovision/data/convert.py +653 -0
- autovision_framework-0.3.0/src/autovision/data/depth_estimation_dataset.py +105 -0
- autovision_framework-0.3.0/src/autovision/data/downloads.py +393 -0
- autovision_framework-0.3.0/src/autovision/data/file_helpers.py +114 -0
- autovision_framework-0.3.0/src/autovision/data/hard_examples.py +191 -0
- autovision_framework-0.3.0/src/autovision/data/image_classification_dataset.py +90 -0
- autovision_framework-0.3.0/src/autovision/data/image_dataset.py +71 -0
- autovision_framework-0.3.0/src/autovision/data/interchange/__init__.py +15 -0
- autovision_framework-0.3.0/src/autovision/data/interchange/common.py +129 -0
- autovision_framework-0.3.0/src/autovision/data/interchange/cvat.py +139 -0
- autovision_framework-0.3.0/src/autovision/data/interchange/label_studio.py +178 -0
- autovision_framework-0.3.0/src/autovision/data/label_helpers.py +11 -0
- autovision_framework-0.3.0/src/autovision/data/mask_panoptic_segmentation_dataset.py +207 -0
- autovision_framework-0.3.0/src/autovision/data/mmap_helpers.py +263 -0
- autovision_framework-0.3.0/src/autovision/data/object_detection_dataset.py +71 -0
- autovision_framework-0.3.0/src/autovision/data/quality.py +530 -0
- autovision_framework-0.3.0/src/autovision/data/samplers.py +150 -0
- autovision_framework-0.3.0/src/autovision/data/semantic_segmentation_dataset.py +100 -0
- autovision_framework-0.3.0/src/autovision/data/serialize/__init__.py +7 -0
- autovision_framework-0.3.0/src/autovision/data/serialize/memory_mapped_sequence.py +158 -0
- autovision_framework-0.3.0/src/autovision/data/task_dataset.py +38 -0
- autovision_framework-0.3.0/src/autovision/data/two_view.py +45 -0
- autovision_framework-0.3.0/src/autovision/data/versioning.py +412 -0
- autovision_framework-0.3.0/src/autovision/data/yolo_object_detection_dataset.py +122 -0
- autovision_framework-0.3.0/src/autovision/data/yolo_oriented_object_detection_dataset.py +107 -0
- autovision_framework-0.3.0/src/autovision/debug/__init__.py +24 -0
- autovision_framework-0.3.0/src/autovision/debug/debug_args.py +49 -0
- autovision_framework-0.3.0/src/autovision/debug/nan_capture.py +145 -0
- autovision_framework-0.3.0/src/autovision/debug/underflow_overflow.py +96 -0
- autovision_framework-0.3.0/src/autovision/encoders/__init__.py +45 -0
- autovision_framework-0.3.0/src/autovision/encoders/_model_helpers.py +58 -0
- autovision_framework-0.3.0/src/autovision/encoders/_non_module_wrapper.py +93 -0
- autovision_framework-0.3.0/src/autovision/encoders/custom/__init__.py +6 -0
- autovision_framework-0.3.0/src/autovision/encoders/custom/custom_source.py +52 -0
- autovision_framework-0.3.0/src/autovision/encoders/dinov2/__init__.py +7 -0
- autovision_framework-0.3.0/src/autovision/encoders/dinov2/dinov2_source.py +277 -0
- autovision_framework-0.3.0/src/autovision/encoders/dinov2/dinov2_wrapper.py +367 -0
- autovision_framework-0.3.0/src/autovision/encoders/dinov3/__init__.py +10 -0
- autovision_framework-0.3.0/src/autovision/encoders/dinov3/dinov3_source.py +416 -0
- autovision_framework-0.3.0/src/autovision/encoders/dinov3/dinov3_wrapper.py +288 -0
- autovision_framework-0.3.0/src/autovision/encoders/embedding_model.py +116 -0
- autovision_framework-0.3.0/src/autovision/encoders/model_wrapper.py +139 -0
- autovision_framework-0.3.0/src/autovision/encoders/package.py +59 -0
- autovision_framework-0.3.0/src/autovision/encoders/package_helpers.py +153 -0
- autovision_framework-0.3.0/src/autovision/encoders/rfdetr/__init__.py +7 -0
- autovision_framework-0.3.0/src/autovision/encoders/rfdetr/rfdetr.py +142 -0
- autovision_framework-0.3.0/src/autovision/encoders/rfdetr/rfdetr_source.py +225 -0
- autovision_framework-0.3.0/src/autovision/encoders/rtdetr/__init__.py +6 -0
- autovision_framework-0.3.0/src/autovision/encoders/rtdetr/rtdetr.py +82 -0
- autovision_framework-0.3.0/src/autovision/encoders/super_gradients/__init__.py +14 -0
- autovision_framework-0.3.0/src/autovision/encoders/super_gradients/super_gradients_source.py +182 -0
- autovision_framework-0.3.0/src/autovision/encoders/timm/__init__.py +7 -0
- autovision_framework-0.3.0/src/autovision/encoders/timm/timm_source.py +134 -0
- autovision_framework-0.3.0/src/autovision/encoders/timm/timm_wrapper.py +383 -0
- autovision_framework-0.3.0/src/autovision/encoders/torchvision/__init__.py +4 -0
- autovision_framework-0.3.0/src/autovision/encoders/torchvision/torchvision_source.py +150 -0
- autovision_framework-0.3.0/src/autovision/encoders/torchvision/wrappers.py +94 -0
- autovision_framework-0.3.0/src/autovision/encoders/ultralytics/__init__.py +7 -0
- autovision_framework-0.3.0/src/autovision/encoders/ultralytics/ultralytics.py +152 -0
- autovision_framework-0.3.0/src/autovision/encoders/ultralytics/ultralytics_source.py +179 -0
- autovision_framework-0.3.0/src/autovision/encoders/weight_hashes.py +235 -0
- autovision_framework-0.3.0/src/autovision/encoders/weight_verification.py +495 -0
- autovision_framework-0.3.0/src/autovision/engine/__init__.py +18 -0
- autovision_framework-0.3.0/src/autovision/engine/engine.py +1585 -0
- autovision_framework-0.3.0/src/autovision/errors.py +54 -0
- autovision_framework-0.3.0/src/autovision/export/__init__.py +86 -0
- autovision_framework-0.3.0/src/autovision/export/benchmark.py +742 -0
- autovision_framework-0.3.0/src/autovision/export/e2e_parity.py +243 -0
- autovision_framework-0.3.0/src/autovision/export/export_onnx.py +1144 -0
- autovision_framework-0.3.0/src/autovision/export/int8_report.py +139 -0
- autovision_framework-0.3.0/src/autovision/export/model_cost.py +105 -0
- autovision_framework-0.3.0/src/autovision/export/openvino_helpers.py +163 -0
- autovision_framework-0.3.0/src/autovision/export/postprocess.py +420 -0
- autovision_framework-0.3.0/src/autovision/export/quantization.py +354 -0
- autovision_framework-0.3.0/src/autovision/export/tensorrt_helpers.py +929 -0
- autovision_framework-0.3.0/src/autovision/features/__init__.py +6 -0
- autovision_framework-0.3.0/src/autovision/features/embed.py +185 -0
- autovision_framework-0.3.0/src/autovision/geometry/__init__.py +65 -0
- autovision_framework-0.3.0/src/autovision/geometry/box_ops.py +238 -0
- autovision_framework-0.3.0/src/autovision/geometry/boxes.py +321 -0
- autovision_framework-0.3.0/src/autovision/geometry/masks.py +267 -0
- autovision_framework-0.3.0/src/autovision/geometry/obb.py +267 -0
- autovision_framework-0.3.0/src/autovision/hpo/__init__.py +28 -0
- autovision_framework-0.3.0/src/autovision/hpo/asha.py +155 -0
- autovision_framework-0.3.0/src/autovision/hpo/search.py +635 -0
- autovision_framework-0.3.0/src/autovision/hpo/space.py +228 -0
- autovision_framework-0.3.0/src/autovision/inference/__init__.py +66 -0
- autovision_framework-0.3.0/src/autovision/inference/engine.py +186 -0
- autovision_framework-0.3.0/src/autovision/inference/multi_stream.py +524 -0
- autovision_framework-0.3.0/src/autovision/inference/stream.py +587 -0
- autovision_framework-0.3.0/src/autovision/inference/video.py +384 -0
- autovision_framework-0.3.0/src/autovision/keys.py +47 -0
- autovision_framework-0.3.0/src/autovision/metrics/classification.py +61 -0
- autovision_framework-0.3.0/src/autovision/metrics/confusion.py +116 -0
- autovision_framework-0.3.0/src/autovision/metrics/depth_estimation.py +111 -0
- autovision_framework-0.3.0/src/autovision/metrics/error_analysis.py +717 -0
- autovision_framework-0.3.0/src/autovision/metrics/instance_segmentation.py +159 -0
- autovision_framework-0.3.0/src/autovision/metrics/map_evaluator.py +352 -0
- autovision_framework-0.3.0/src/autovision/metrics/oriented_detection.py +195 -0
- autovision_framework-0.3.0/src/autovision/metrics/panoptic_segmentation.py +159 -0
- autovision_framework-0.3.0/src/autovision/metrics/pose_estimation.py +214 -0
- autovision_framework-0.3.0/src/autovision/metrics/report.py +103 -0
- autovision_framework-0.3.0/src/autovision/metrics/segmentation.py +62 -0
- autovision_framework-0.3.0/src/autovision/metrics/ssl_probes.py +179 -0
- autovision_framework-0.3.0/src/autovision/observability/__init__.py +2 -0
- autovision_framework-0.3.0/src/autovision/observability/events/__init__.py +10 -0
- autovision_framework-0.3.0/src/autovision/observability/events/tracker.py +170 -0
- autovision_framework-0.3.0/src/autovision/observability/loggers/__init__.py +189 -0
- autovision_framework-0.3.0/src/autovision/observability/loggers/jsonl.py +35 -0
- autovision_framework-0.3.0/src/autovision/observability/otel.py +89 -0
- autovision_framework-0.3.0/src/autovision/optim/__init__.py +33 -0
- autovision_framework-0.3.0/src/autovision/optim/adamw8bit_args.py +41 -0
- autovision_framework-0.3.0/src/autovision/optim/lars.py +98 -0
- autovision_framework-0.3.0/src/autovision/optim/optimizer_args.py +149 -0
- autovision_framework-0.3.0/src/autovision/optim/optimizer_helpers.py +203 -0
- autovision_framework-0.3.0/src/autovision/optim/optimizer_type.py +15 -0
- autovision_framework-0.3.0/src/autovision/optim/schedulers.py +52 -0
- autovision_framework-0.3.0/src/autovision/optim/trainable_modules.py +23 -0
- autovision_framework-0.3.0/src/autovision/plugins.py +208 -0
- autovision_framework-0.3.0/src/autovision/pretext/__init__.py +9 -0
- autovision_framework-0.3.0/src/autovision/pretext/densecl/__init__.py +10 -0
- autovision_framework-0.3.0/src/autovision/pretext/densecl/densecl.py +259 -0
- autovision_framework-0.3.0/src/autovision/pretext/detcon/__init__.py +24 -0
- autovision_framework-0.3.0/src/autovision/pretext/detcon/detcon.py +586 -0
- autovision_framework-0.3.0/src/autovision/pretext/detcon/detcon_transform.py +211 -0
- autovision_framework-0.3.0/src/autovision/pretext/dino/__init__.py +24 -0
- autovision_framework-0.3.0/src/autovision/pretext/dino/dino.py +615 -0
- autovision_framework-0.3.0/src/autovision/pretext/dinov2/__init__.py +6 -0
- autovision_framework-0.3.0/src/autovision/pretext/dinov2/dinov2.py +606 -0
- autovision_framework-0.3.0/src/autovision/pretext/dinov3/__init__.py +11 -0
- autovision_framework-0.3.0/src/autovision/pretext/dinov3/constrained_crop.py +271 -0
- autovision_framework-0.3.0/src/autovision/pretext/dinov3/dinov3.py +639 -0
- autovision_framework-0.3.0/src/autovision/pretext/dinov3/paika.py +91 -0
- autovision_framework-0.3.0/src/autovision/pretext/distillationv2/__init__.py +20 -0
- autovision_framework-0.3.0/src/autovision/pretext/distillationv2/distillationv2.py +333 -0
- autovision_framework-0.3.0/src/autovision/pretext/distillationv3/__init__.py +18 -0
- autovision_framework-0.3.0/src/autovision/pretext/distillationv3/distillationv3.py +384 -0
- autovision_framework-0.3.0/src/autovision/pretext/knn_eval.py +273 -0
- autovision_framework-0.3.0/src/autovision/pretext/method_args.py +43 -0
- autovision_framework-0.3.0/src/autovision/pretext/recipe.py +167 -0
- autovision_framework-0.3.0/src/autovision/pretext/simclr/__init__.py +20 -0
- autovision_framework-0.3.0/src/autovision/pretext/simclr/simclr.py +202 -0
- autovision_framework-0.3.0/src/autovision/pretext/teachers.py +81 -0
- autovision_framework-0.3.0/src/autovision/py.typed +0 -0
- autovision_framework-0.3.0/src/autovision/registry/__init__.py +66 -0
- autovision_framework-0.3.0/src/autovision/registry/apache_assets.py +56 -0
- autovision_framework-0.3.0/src/autovision/registry/assets.py +30 -0
- autovision_framework-0.3.0/src/autovision/registry/catalog.py +431 -0
- autovision_framework-0.3.0/src/autovision/registry/deployment_gates.py +153 -0
- autovision_framework-0.3.0/src/autovision/registry/downloadable.py +172 -0
- autovision_framework-0.3.0/src/autovision/registry/gtr_assets.py +267 -0
- autovision_framework-0.3.0/src/autovision/registry/gtr_download.py +231 -0
- autovision_framework-0.3.0/src/autovision/registry/mlflow_registry.py +442 -0
- autovision_framework-0.3.0/src/autovision/registry/model_card.py +98 -0
- autovision_framework-0.3.0/src/autovision/registry/model_cards.py +138 -0
- autovision_framework-0.3.0/src/autovision/registry/model_registry.py +609 -0
- autovision_framework-0.3.0/src/autovision/registry/spectrum_release.py +137 -0
- autovision_framework-0.3.0/src/autovision/registry/user_held_assets.py +380 -0
- autovision_framework-0.3.0/src/autovision/registry/warm_start.py +123 -0
- autovision_framework-0.3.0/src/autovision/results.py +723 -0
- autovision_framework-0.3.0/src/autovision/runtime/__init__.py +8 -0
- autovision_framework-0.3.0/src/autovision/runtime/accelerator.py +104 -0
- autovision_framework-0.3.0/src/autovision/runtime/checkpoint.py +155 -0
- autovision_framework-0.3.0/src/autovision/runtime/distributed.py +109 -0
- autovision_framework-0.3.0/src/autovision/runtime/env.py +213 -0
- autovision_framework-0.3.0/src/autovision/runtime/fs_utils.py +66 -0
- autovision_framework-0.3.0/src/autovision/runtime/fsdp.py +110 -0
- autovision_framework-0.3.0/src/autovision/runtime/logging.py +71 -0
- autovision_framework-0.3.0/src/autovision/runtime/manifest.py +183 -0
- autovision_framework-0.3.0/src/autovision/runtime/torch_compile.py +60 -0
- autovision_framework-0.3.0/src/autovision/scaling.py +94 -0
- autovision_framework-0.3.0/src/autovision/serving/__init__.py +32 -0
- autovision_framework-0.3.0/src/autovision/serving/app.py +925 -0
- autovision_framework-0.3.0/src/autovision/serving/drift.py +294 -0
- autovision_framework-0.3.0/src/autovision/serving/metrics.py +105 -0
- autovision_framework-0.3.0/src/autovision/serving/ratelimit.py +71 -0
- autovision_framework-0.3.0/src/autovision/serving/server.py +121 -0
- autovision_framework-0.3.0/src/autovision/serving/worker.py +45 -0
- autovision_framework-0.3.0/src/autovision/tasks/__init__.py +33 -0
- autovision_framework-0.3.0/src/autovision/tasks/classification/__init__.py +18 -0
- autovision_framework-0.3.0/src/autovision/tasks/classification/config.py +47 -0
- autovision_framework-0.3.0/src/autovision/tasks/classification/task_model.py +152 -0
- autovision_framework-0.3.0/src/autovision/tasks/classification/train_model.py +157 -0
- autovision_framework-0.3.0/src/autovision/tasks/classification/transforms.py +42 -0
- autovision_framework-0.3.0/src/autovision/tasks/depth_estimation/__init__.py +18 -0
- autovision_framework-0.3.0/src/autovision/tasks/depth_estimation/gtr/__init__.py +18 -0
- autovision_framework-0.3.0/src/autovision/tasks/depth_estimation/gtr/config.py +51 -0
- autovision_framework-0.3.0/src/autovision/tasks/depth_estimation/gtr/dpt_head.py +136 -0
- autovision_framework-0.3.0/src/autovision/tasks/depth_estimation/gtr/task_model.py +256 -0
- autovision_framework-0.3.0/src/autovision/tasks/depth_estimation/gtr/train_model.py +171 -0
- autovision_framework-0.3.0/src/autovision/tasks/depth_estimation/gtr/transforms.py +69 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/detr/__init__.py +46 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/detr/backbone_wrappers.py +378 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/detr/coco_checkpoint.py +586 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/detr/config.py +808 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/detr/dfine_official_warm_start.py +207 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/detr/dome_decoder.py +395 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/detr/dome_encoder.py +154 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/detr/gtr_teacher.py +153 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/detr/optimizer.py +201 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/detr/task_model.py +931 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/detr/train_model.py +1087 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/detr/transforms.py +75 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/detr/variants.py +540 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/dfine/__init__.py +18 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/dfine/config.py +23 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/dfine/task_model.py +72 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/dfine/train_model.py +103 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/picodet/__init__.py +18 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/picodet/config.py +75 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/picodet/csp_pan.py +83 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/picodet/esnet.py +162 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/picodet/losses.py +194 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/picodet/pico_head.py +131 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/picodet/postprocessor.py +69 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/picodet/sim_ota_assigner.py +181 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/picodet/task_model.py +177 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/picodet/train_model.py +200 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/pretrained.py +224 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/rfdetr/__init__.py +22 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/rfdetr/config.py +292 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/rfdetr/task_model.py +602 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/rfdetr/train_model.py +559 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/rtdetr/__init__.py +18 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/rtdetr/config.py +79 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/rtdetr/task_model.py +234 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/rtdetr/train_model.py +301 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/__init__.py +29 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/_msda_src/ms_deform_attn.h +62 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/_msda_src/ms_deform_attn_cpu.cpp +41 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/_msda_src/ms_deform_attn_cpu.h +33 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/_msda_src/ms_deform_attn_cuda.cu +153 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/_msda_src/ms_deform_attn_cuda.h +30 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/_msda_src/ms_deform_im2col_cuda.cuh +1327 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/_msda_src/vision.cpp +16 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/decode.py +57 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/defe.py +292 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/denoising.py +248 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/dfine_criterion.py +977 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/dfine_decoder.py +374 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/dfine_official_decoder.py +1329 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/dfine_utils.py +584 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/distillation.py +216 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/dynamic_nms.py +108 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/fdconv.py +106 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/gtr/__init__.py +62 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/gtr/csrc/build.sh +15 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/gtr/csrc/gla_chunk.cuh +1435 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/gtr/csrc/gla_norm_gate.cuh +77 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/gtr/csrc/gla_torch_ext.cu +293 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/gtr/csrc/setup.py +35 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/gtr/csrc/test_gla.py +143 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/gtr/encoder.py +346 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/gtr/obb_criterion.py +640 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/gtr/obb_decoder.py +1043 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/gtr/obb_denoising.py +154 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/gtr/pose_criterion.py +602 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/gtr/pose_decoder.py +924 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/gtr/pose_dn.py +186 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/gtr/rbox_ops.py +250 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/gtr/segmentation_head.py +225 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/gtr/spatial_swiglu.py +140 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/gtr/vit_adapter.py +1142 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/hybrid_encoder.py +340 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/matcher.py +470 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/ms_deformable_attention.py +139 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/msda.py +164 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/multistep_schedule.py +46 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/mwas.py +339 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/open_vocab.py +445 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/pseudo_label.py +331 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/rtdetrv2_criterion.py +366 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/rtdetrv2_decoder.py +1061 -0
- autovision_framework-0.3.0/src/autovision/tasks/detection/shared/ssl_contrastive.py +1045 -0
- autovision_framework-0.3.0/src/autovision/tasks/instance_segmentation/dinov2_eomt/__init__.py +19 -0
- autovision_framework-0.3.0/src/autovision/tasks/instance_segmentation/dinov2_eomt/config.py +30 -0
- autovision_framework-0.3.0/src/autovision/tasks/instance_segmentation/dinov2_eomt/task_model.py +53 -0
- autovision_framework-0.3.0/src/autovision/tasks/instance_segmentation/dinov2_eomt/train_model.py +146 -0
- autovision_framework-0.3.0/src/autovision/tasks/instance_segmentation/dinov3_eomt/__init__.py +18 -0
- autovision_framework-0.3.0/src/autovision/tasks/instance_segmentation/dinov3_eomt/config.py +23 -0
- autovision_framework-0.3.0/src/autovision/tasks/instance_segmentation/dinov3_eomt/task_model.py +45 -0
- autovision_framework-0.3.0/src/autovision/tasks/instance_segmentation/dinov3_eomt/train_model.py +54 -0
- autovision_framework-0.3.0/src/autovision/tasks/instance_segmentation/gtr/__init__.py +14 -0
- autovision_framework-0.3.0/src/autovision/tasks/instance_segmentation/gtr/config.py +37 -0
- autovision_framework-0.3.0/src/autovision/tasks/instance_segmentation/gtr/task_model.py +224 -0
- autovision_framework-0.3.0/src/autovision/tasks/instance_segmentation/gtr/train_model.py +122 -0
- autovision_framework-0.3.0/src/autovision/tasks/oriented_detection/gtr/__init__.py +21 -0
- autovision_framework-0.3.0/src/autovision/tasks/oriented_detection/gtr/config.py +63 -0
- autovision_framework-0.3.0/src/autovision/tasks/oriented_detection/gtr/task_model.py +317 -0
- autovision_framework-0.3.0/src/autovision/tasks/oriented_detection/gtr/train_model.py +211 -0
- autovision_framework-0.3.0/src/autovision/tasks/oriented_detection/rtdetr/__init__.py +18 -0
- autovision_framework-0.3.0/src/autovision/tasks/oriented_detection/rtdetr/config.py +33 -0
- autovision_framework-0.3.0/src/autovision/tasks/oriented_detection/rtdetr/task_model.py +151 -0
- autovision_framework-0.3.0/src/autovision/tasks/oriented_detection/rtdetr/train_model.py +158 -0
- autovision_framework-0.3.0/src/autovision/tasks/oriented_detection/shared/obb_criterion.py +202 -0
- autovision_framework-0.3.0/src/autovision/tasks/oriented_detection/shared/obb_decoder.py +338 -0
- autovision_framework-0.3.0/src/autovision/tasks/panoptic_segmentation/dinov2_eomt/__init__.py +19 -0
- autovision_framework-0.3.0/src/autovision/tasks/panoptic_segmentation/dinov2_eomt/config.py +43 -0
- autovision_framework-0.3.0/src/autovision/tasks/panoptic_segmentation/dinov2_eomt/task_model.py +83 -0
- autovision_framework-0.3.0/src/autovision/tasks/panoptic_segmentation/dinov2_eomt/train_model.py +109 -0
- autovision_framework-0.3.0/src/autovision/tasks/panoptic_segmentation/dinov3_eomt/__init__.py +18 -0
- autovision_framework-0.3.0/src/autovision/tasks/panoptic_segmentation/dinov3_eomt/config.py +40 -0
- autovision_framework-0.3.0/src/autovision/tasks/panoptic_segmentation/dinov3_eomt/task_model.py +60 -0
- autovision_framework-0.3.0/src/autovision/tasks/panoptic_segmentation/dinov3_eomt/train_model.py +59 -0
- autovision_framework-0.3.0/src/autovision/tasks/pose_estimation/__init__.py +18 -0
- autovision_framework-0.3.0/src/autovision/tasks/pose_estimation/gtr/__init__.py +26 -0
- autovision_framework-0.3.0/src/autovision/tasks/pose_estimation/gtr/config.py +99 -0
- autovision_framework-0.3.0/src/autovision/tasks/pose_estimation/gtr/task_model.py +351 -0
- autovision_framework-0.3.0/src/autovision/tasks/pose_estimation/gtr/train_model.py +275 -0
- autovision_framework-0.3.0/src/autovision/tasks/pose_estimation/gtr/transforms.py +402 -0
- autovision_framework-0.3.0/src/autovision/tasks/semantic_segmentation/dinov2_eomt/__init__.py +19 -0
- autovision_framework-0.3.0/src/autovision/tasks/semantic_segmentation/dinov2_eomt/config.py +57 -0
- autovision_framework-0.3.0/src/autovision/tasks/semantic_segmentation/dinov2_eomt/task_model.py +166 -0
- autovision_framework-0.3.0/src/autovision/tasks/semantic_segmentation/dinov2_eomt/train_model.py +150 -0
- autovision_framework-0.3.0/src/autovision/tasks/semantic_segmentation/dinov3_eomt/__init__.py +19 -0
- autovision_framework-0.3.0/src/autovision/tasks/semantic_segmentation/dinov3_eomt/config.py +40 -0
- autovision_framework-0.3.0/src/autovision/tasks/semantic_segmentation/dinov3_eomt/task_model.py +142 -0
- autovision_framework-0.3.0/src/autovision/tasks/semantic_segmentation/dinov3_eomt/train_model.py +51 -0
- autovision_framework-0.3.0/src/autovision/tasks/semantic_segmentation/gtr/__init__.py +14 -0
- autovision_framework-0.3.0/src/autovision/tasks/semantic_segmentation/gtr/config.py +60 -0
- autovision_framework-0.3.0/src/autovision/tasks/semantic_segmentation/gtr/segmentation_head.py +46 -0
- autovision_framework-0.3.0/src/autovision/tasks/semantic_segmentation/gtr/task_model.py +277 -0
- autovision_framework-0.3.0/src/autovision/tasks/semantic_segmentation/gtr/train_model.py +159 -0
- autovision_framework-0.3.0/src/autovision/tasks/semantic_segmentation/linear/__init__.py +18 -0
- autovision_framework-0.3.0/src/autovision/tasks/semantic_segmentation/linear/config.py +44 -0
- autovision_framework-0.3.0/src/autovision/tasks/semantic_segmentation/linear/task_model.py +163 -0
- autovision_framework-0.3.0/src/autovision/tasks/semantic_segmentation/linear/train_model.py +128 -0
- autovision_framework-0.3.0/src/autovision/tasks/semantic_segmentation/linear/transforms.py +66 -0
- autovision_framework-0.3.0/src/autovision/tasks/shared/__init__.py +11 -0
- autovision_framework-0.3.0/src/autovision/tasks/shared/ema.py +100 -0
- autovision_framework-0.3.0/src/autovision/tasks/shared/eomt/__init__.py +17 -0
- autovision_framework-0.3.0/src/autovision/tasks/shared/eomt/labels.py +39 -0
- autovision_framework-0.3.0/src/autovision/tasks/shared/eomt/modeling.py +249 -0
- autovision_framework-0.3.0/src/autovision/tasks/shared/eomt/postprocess.py +210 -0
- autovision_framework-0.3.0/src/autovision/tasks/shared/eomt/scheduler.py +70 -0
- autovision_framework-0.3.0/src/autovision/tasks/shared/eomt/transforms.py +170 -0
- autovision_framework-0.3.0/src/autovision/tasks/shared/flat_cosine.py +95 -0
- autovision_framework-0.3.0/src/autovision/tasks/shared/gradient_checkpointing.py +74 -0
- autovision_framework-0.3.0/src/autovision/tasks/shared/sahi.py +9 -0
- autovision_framework-0.3.0/src/autovision/tasks/shared/tiling_utils.py +340 -0
- autovision_framework-0.3.0/src/autovision/tasks/task_model.py +267 -0
- autovision_framework-0.3.0/src/autovision/tasks/task_model_helpers.py +289 -0
- autovision_framework-0.3.0/src/autovision/tasks/task_model_io.py +68 -0
- autovision_framework-0.3.0/src/autovision/tasks/train_model.py +138 -0
- autovision_framework-0.3.0/src/autovision/tracking/__init__.py +26 -0
- autovision_framework-0.3.0/src/autovision/tracking/analytics.py +331 -0
- autovision_framework-0.3.0/src/autovision/tracking/byte_track.py +477 -0
- autovision_framework-0.3.0/src/autovision/types.py +55 -0
- autovision_framework-0.3.0/src/autovision/visualize/__init__.py +65 -0
- autovision_framework-0.3.0/src/autovision/visualize/annotators.py +737 -0
- autovision_framework-0.3.0/src/autovision/visualize/detection.py +165 -0
- autovision_framework-0.3.0/src/autovision/visualize/effects.py +694 -0
- autovision_framework-0.3.0/src/autovision/visualize/skeletons.py +87 -0
- autovision_framework-0.3.0/src/autovision/visualize/zones.py +104 -0
- autovision_framework-0.3.0/src/autovision_framework.egg-info/PKG-INFO +184 -0
- autovision_framework-0.3.0/src/autovision_framework.egg-info/SOURCES.txt +620 -0
- autovision_framework-0.3.0/src/autovision_framework.egg-info/dependency_links.txt +1 -0
- autovision_framework-0.3.0/src/autovision_framework.egg-info/entry_points.txt +2 -0
- autovision_framework-0.3.0/src/autovision_framework.egg-info/requires.txt +82 -0
- autovision_framework-0.3.0/src/autovision_framework.egg-info/top_level.txt +1 -0
- autovision_framework-0.3.0/tests/test_analytics.py +143 -0
- autovision_framework-0.3.0/tests/test_benchmark_backends.py +128 -0
- autovision_framework-0.3.0/tests/test_box_aware_eraser.py +326 -0
- autovision_framework-0.3.0/tests/test_checkpoint.py +152 -0
- autovision_framework-0.3.0/tests/test_clean_provenance_p0.py +215 -0
- autovision_framework-0.3.0/tests/test_cli_export.py +102 -0
- autovision_framework-0.3.0/tests/test_common_helpers.py +102 -0
- autovision_framework-0.3.0/tests/test_compat.py +80 -0
- autovision_framework-0.3.0/tests/test_compliance.py +226 -0
- autovision_framework-0.3.0/tests/test_configs.py +149 -0
- autovision_framework-0.3.0/tests/test_configs_registry.py +51 -0
- autovision_framework-0.3.0/tests/test_confusion.py +74 -0
- autovision_framework-0.3.0/tests/test_convert_extended.py +294 -0
- autovision_framework-0.3.0/tests/test_cpp_reference.py +59 -0
- autovision_framework-0.3.0/tests/test_crash_recovery.py +122 -0
- autovision_framework-0.3.0/tests/test_criterion_ddp_grad.py +81 -0
- autovision_framework-0.3.0/tests/test_data_quality.py +265 -0
- autovision_framework-0.3.0/tests/test_data_versioning.py +275 -0
- autovision_framework-0.3.0/tests/test_denoising.py +330 -0
- autovision_framework-0.3.0/tests/test_deployment.py +374 -0
- autovision_framework-0.3.0/tests/test_detection_components.py +715 -0
- autovision_framework-0.3.0/tests/test_detection_data_transforms.py +406 -0
- autovision_framework-0.3.0/tests/test_deterministic.py +58 -0
- autovision_framework-0.3.0/tests/test_detr_distill.py +425 -0
- autovision_framework-0.3.0/tests/test_detr_dome.py +924 -0
- autovision_framework-0.3.0/tests/test_detr_object_detection.py +1611 -0
- autovision_framework-0.3.0/tests/test_detr_open_vocab.py +703 -0
- autovision_framework-0.3.0/tests/test_detr_ssl.py +1571 -0
- autovision_framework-0.3.0/tests/test_detr_ssl_command.py +118 -0
- autovision_framework-0.3.0/tests/test_dfine_object_detection.py +782 -0
- autovision_framework-0.3.0/tests/test_distributed.py +54 -0
- autovision_framework-0.3.0/tests/test_download_guards.py +386 -0
- autovision_framework-0.3.0/tests/test_dynamic_spatial_export.py +312 -0
- autovision_framework-0.3.0/tests/test_e2e_parity.py +110 -0
- autovision_framework-0.3.0/tests/test_early_stopping_callbacks.py +270 -0
- autovision_framework-0.3.0/tests/test_engine_train_mode.py +102 -0
- autovision_framework-0.3.0/tests/test_env.py +69 -0
- autovision_framework-0.3.0/tests/test_eomt_checkpoint_import.py +308 -0
- autovision_framework-0.3.0/tests/test_eomt_dinov3_segmentation.py +627 -0
- autovision_framework-0.3.0/tests/test_eomt_instance_segmentation.py +284 -0
- autovision_framework-0.3.0/tests/test_eomt_panoptic_segmentation.py +568 -0
- autovision_framework-0.3.0/tests/test_eomt_semantic_segmentation.py +338 -0
- autovision_framework-0.3.0/tests/test_error_analysis.py +324 -0
- autovision_framework-0.3.0/tests/test_errors.py +23 -0
- autovision_framework-0.3.0/tests/test_export_atomicity.py +60 -0
- autovision_framework-0.3.0/tests/test_features_embed_formats.py +74 -0
- autovision_framework-0.3.0/tests/test_fp16_scaler.py +180 -0
- autovision_framework-0.3.0/tests/test_fs_utils.py +50 -0
- autovision_framework-0.3.0/tests/test_g2_gtr.py +136 -0
- autovision_framework-0.3.0/tests/test_geometry_ops.py +199 -0
- autovision_framework-0.3.0/tests/test_gradient_checkpointing.py +64 -0
- autovision_framework-0.3.0/tests/test_gradient_finite.py +45 -0
- autovision_framework-0.3.0/tests/test_gtr_depth.py +279 -0
- autovision_framework-0.3.0/tests/test_gtr_detection_variants.py +136 -0
- autovision_framework-0.3.0/tests/test_gtr_download.py +226 -0
- autovision_framework-0.3.0/tests/test_gtr_download_script.py +61 -0
- autovision_framework-0.3.0/tests/test_gtr_export_gates.py +140 -0
- autovision_framework-0.3.0/tests/test_gtr_integration.py +245 -0
- autovision_framework-0.3.0/tests/test_gtr_obb.py +208 -0
- autovision_framework-0.3.0/tests/test_gtr_obb_train.py +207 -0
- autovision_framework-0.3.0/tests/test_gtr_pose.py +191 -0
- autovision_framework-0.3.0/tests/test_gtr_pose_coco.py +501 -0
- autovision_framework-0.3.0/tests/test_gtr_pose_train.py +174 -0
- autovision_framework-0.3.0/tests/test_gtr_seg.py +311 -0
- autovision_framework-0.3.0/tests/test_gtr_semseg.py +205 -0
- autovision_framework-0.3.0/tests/test_hard_examples.py +182 -0
- autovision_framework-0.3.0/tests/test_hardware_pack.py +99 -0
- autovision_framework-0.3.0/tests/test_hot_path_sync_fixes.py +1372 -0
- autovision_framework-0.3.0/tests/test_hpo.py +606 -0
- autovision_framework-0.3.0/tests/test_image_loading.py +27 -0
- autovision_framework-0.3.0/tests/test_inference_results.py +329 -0
- autovision_framework-0.3.0/tests/test_inference_runtime.py +355 -0
- autovision_framework-0.3.0/tests/test_infrastructure.py +547 -0
- autovision_framework-0.3.0/tests/test_int8_report.py +109 -0
- autovision_framework-0.3.0/tests/test_interchange.py +185 -0
- autovision_framework-0.3.0/tests/test_k8s_manifests.py +48 -0
- autovision_framework-0.3.0/tests/test_load_model_security.py +131 -0
- autovision_framework-0.3.0/tests/test_mask_serialization.py +157 -0
- autovision_framework-0.3.0/tests/test_methods_densecl.py +178 -0
- autovision_framework-0.3.0/tests/test_methods_detcon.py +730 -0
- autovision_framework-0.3.0/tests/test_methods_dino.py +325 -0
- autovision_framework-0.3.0/tests/test_methods_dinov2.py +354 -0
- autovision_framework-0.3.0/tests/test_methods_dinov3.py +365 -0
- autovision_framework-0.3.0/tests/test_methods_distillationv2.py +206 -0
- autovision_framework-0.3.0/tests/test_methods_distillationv3.py +372 -0
- autovision_framework-0.3.0/tests/test_methods_knn_eval.py +290 -0
- autovision_framework-0.3.0/tests/test_methods_simclr.py +130 -0
- autovision_framework-0.3.0/tests/test_mlflow_registry.py +439 -0
- autovision_framework-0.3.0/tests/test_mmap.py +182 -0
- autovision_framework-0.3.0/tests/test_model_cards.py +66 -0
- autovision_framework-0.3.0/tests/test_model_catalog.py +125 -0
- autovision_framework-0.3.0/tests/test_model_cost.py +96 -0
- autovision_framework-0.3.0/tests/test_model_registry.py +374 -0
- autovision_framework-0.3.0/tests/test_model_zoo.py +78 -0
- autovision_framework-0.3.0/tests/test_models.py +215 -0
- autovision_framework-0.3.0/tests/test_models_dinov2.py +337 -0
- autovision_framework-0.3.0/tests/test_models_dinov3.py +367 -0
- autovision_framework-0.3.0/tests/test_models_rfdetr.py +385 -0
- autovision_framework-0.3.0/tests/test_models_rtdetr.py +95 -0
- autovision_framework-0.3.0/tests/test_models_super_gradients.py +64 -0
- autovision_framework-0.3.0/tests/test_models_timm.py +121 -0
- autovision_framework-0.3.0/tests/test_models_ultralytics.py +318 -0
- autovision_framework-0.3.0/tests/test_multi_stream.py +215 -0
- autovision_framework-0.3.0/tests/test_observability.py +419 -0
- autovision_framework-0.3.0/tests/test_openvino_backend.py +138 -0
- autovision_framework-0.3.0/tests/test_optim.py +315 -0
- autovision_framework-0.3.0/tests/test_oriented_object_detection.py +310 -0
- autovision_framework-0.3.0/tests/test_p1_spectrum.py +344 -0
- autovision_framework-0.3.0/tests/test_p2_usability.py +292 -0
- autovision_framework-0.3.0/tests/test_peripheral.py +662 -0
- autovision_framework-0.3.0/tests/test_picodet_object_detection.py +538 -0
- autovision_framework-0.3.0/tests/test_plugins.py +153 -0
- autovision_framework-0.3.0/tests/test_pose_augment.py +315 -0
- autovision_framework-0.3.0/tests/test_postprocess_spec.py +209 -0
- autovision_framework-0.3.0/tests/test_pretrained_detection.py +170 -0
- autovision_framework-0.3.0/tests/test_provenance_docs.py +102 -0
- autovision_framework-0.3.0/tests/test_pseudo_label.py +242 -0
- autovision_framework-0.3.0/tests/test_quantization.py +375 -0
- autovision_framework-0.3.0/tests/test_recipes.py +88 -0
- autovision_framework-0.3.0/tests/test_registry_gates.py +179 -0
- autovision_framework-0.3.0/tests/test_release_config.py +66 -0
- autovision_framework-0.3.0/tests/test_review_fixes.py +373 -0
- autovision_framework-0.3.0/tests/test_rfdetr_object_detection.py +988 -0
- autovision_framework-0.3.0/tests/test_rng_state.py +27 -0
- autovision_framework-0.3.0/tests/test_rtdetr_oriented_object_detection.py +543 -0
- autovision_framework-0.3.0/tests/test_run_manifest.py +57 -0
- autovision_framework-0.3.0/tests/test_sahi_merge.py +128 -0
- autovision_framework-0.3.0/tests/test_samplers.py +106 -0
- autovision_framework-0.3.0/tests/test_scaling.py +137 -0
- autovision_framework-0.3.0/tests/test_seed_determinism.py +79 -0
- autovision_framework-0.3.0/tests/test_self_train.py +208 -0
- autovision_framework-0.3.0/tests/test_serving.py +483 -0
- autovision_framework-0.3.0/tests/test_serving_drift.py +174 -0
- autovision_framework-0.3.0/tests/test_serving_ratelimit.py +95 -0
- autovision_framework-0.3.0/tests/test_serving_server.py +160 -0
- autovision_framework-0.3.0/tests/test_serving_variants.py +159 -0
- autovision_framework-0.3.0/tests/test_spectrum_release.py +155 -0
- autovision_framework-0.3.0/tests/test_spectrum_scripts.py +99 -0
- autovision_framework-0.3.0/tests/test_ssl_probes.py +90 -0
- autovision_framework-0.3.0/tests/test_ssl_sigreg.py +246 -0
- autovision_framework-0.3.0/tests/test_step_engineering.py +400 -0
- autovision_framework-0.3.0/tests/test_stream_pipeline.py +286 -0
- autovision_framework-0.3.0/tests/test_task_distributed.py +166 -0
- autovision_framework-0.3.0/tests/test_task_examples.py +135 -0
- autovision_framework-0.3.0/tests/test_task_models.py +456 -0
- autovision_framework-0.3.0/tests/test_tasks_classification_segmentation.py +352 -0
- autovision_framework-0.3.0/tests/test_tensorrt_export.py +202 -0
- autovision_framework-0.3.0/tests/test_torchrun_distributed.py +381 -0
- autovision_framework-0.3.0/tests/test_tracking.py +353 -0
- autovision_framework-0.3.0/tests/test_train.py +158 -0
- autovision_framework-0.3.0/tests/test_train_object_detection.py +295 -0
- autovision_framework-0.3.0/tests/test_transforms.py +153 -0
- autovision_framework-0.3.0/tests/test_trt_int8.py +284 -0
- autovision_framework-0.3.0/tests/test_user_held_detr_assets.py +409 -0
- autovision_framework-0.3.0/tests/test_video_decode.py +48 -0
- autovision_framework-0.3.0/tests/test_video_utils.py +146 -0
- autovision_framework-0.3.0/tests/test_visualize.py +263 -0
- autovision_framework-0.3.0/tests/test_visualize_effects.py +246 -0
- autovision_framework-0.3.0/tests/test_voc_trainable.py +115 -0
- autovision_framework-0.3.0/tests/test_warm_start.py +85 -0
- autovision_framework-0.3.0/tests/test_weight_verification.py +436 -0
- autovision_framework-0.3.0/tests/test_window_token_drop.py +588 -0
- autovision_framework-0.3.0/tests/test_xml_security.py +61 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
include LICENSE
|
|
2
|
+
include NOTICE
|
|
3
|
+
include THIRD_PARTY_LICENSES.md
|
|
4
|
+
include README.md
|
|
5
|
+
include README.en.md
|
|
6
|
+
include README_PYPI.md
|
|
7
|
+
include docs/provenance/LEDGER.md
|
|
8
|
+
|
|
9
|
+
# Optional CUDA/C++ extensions are built from the sdist on demand; the wheel
|
|
10
|
+
# stays pure Python. Keep these sources in the source distribution so the
|
|
11
|
+
# GTR GLA kernel and MSDA extension remain reproducible from the sdist.
|
|
12
|
+
recursive-include src/autovision/tasks/detection/shared/gtr/csrc *.cu *.cuh *.sh *.py
|
|
13
|
+
recursive-include src/autovision/tasks/detection/shared/_msda_src *.cpp *.cu *.cuh *.h
|
|
14
|
+
|
|
15
|
+
# Runnable task examples (not installed in the wheel; shipped in the sdist).
|
|
16
|
+
recursive-include examples/tasks *.py *.md
|
|
17
|
+
# Only the CC0 demo image ships; see examples/tasks/assets/README.md.
|
|
18
|
+
recursive-include examples/tasks/assets *.jpg
|
|
19
|
+
# Device-side C++ reference runtime + host test (sdist only).
|
|
20
|
+
recursive-include examples/cpp CMakeLists.txt README.md *.cpp *.hpp
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
AutoVision
|
|
2
|
+
Copyright 2026 AutoVision contributors
|
|
3
|
+
|
|
4
|
+
AutoVision-authored code is licensed under the Apache License, Version 2.0
|
|
5
|
+
(the "License"); see the LICENSE file. Unless required by applicable law or
|
|
6
|
+
agreed to in writing, software distributed under the License is distributed
|
|
7
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
|
|
8
|
+
|
|
9
|
+
Third-party components are listed below. The DEIMv2-derived SpatialPriorModule
|
|
10
|
+
that earlier revisions carried was removed (2026-10-17); this distribution
|
|
11
|
+
contains no DEIMv2 code. See THIRD_PARTY_LICENSES.md and
|
|
12
|
+
docs/provenance/LEDGER.md.
|
|
13
|
+
|
|
14
|
+
==========================================================================
|
|
15
|
+
Third-party code contained in this repository
|
|
16
|
+
==========================================================================
|
|
17
|
+
|
|
18
|
+
Vendored or ported components (module/file-level ledger:
|
|
19
|
+
docs/provenance/LEDGER.md; full non-Apache license texts:
|
|
20
|
+
THIRD_PARTY_LICENSES.md; policy: CONTRIBUTING.md):
|
|
21
|
+
|
|
22
|
+
* DEIM (Apache License 2.0, with the upstream copyright preamble)
|
|
23
|
+
Source: https://github.com/Intellindust-AI-Lab/DEIM
|
|
24
|
+
Used for: the flat-cosine LR schedule
|
|
25
|
+
(src/autovision/tasks/shared/flat_cosine.py), re-implemented by
|
|
26
|
+
AutoVision on a step-based interface.
|
|
27
|
+
|
|
28
|
+
* D-FINE (Apache License 2.0)
|
|
29
|
+
Source: https://github.com/Peterande/D-FINE
|
|
30
|
+
Used for: distributional-box (FDR/gateway) decoder design and FGL/DDF
|
|
31
|
+
loss math in src/autovision/tasks/detection/shared/.
|
|
32
|
+
|
|
33
|
+
* RT-DETR (Apache License 2.0)
|
|
34
|
+
Source: https://github.com/lyuwenyu/RT-DETR
|
|
35
|
+
Used for: the RT-DETRv2 hybrid encoder / decoder / denoising / matcher /
|
|
36
|
+
criterion components in src/autovision/tasks/detection/shared/ and the
|
|
37
|
+
EMA implementation in src/autovision/tasks/shared/ema.py.
|
|
38
|
+
|
|
39
|
+
* Deformable-attention CUDA extension (Apache License 2.0, Detectron2
|
|
40
|
+
lineage)
|
|
41
|
+
Source: https://github.com/facebookresearch/detectron2
|
|
42
|
+
Used for: src/autovision/tasks/detection/shared/_msda_src/.
|
|
43
|
+
|
|
44
|
+
* D-FINE and RT-DETR pinned upstream snapshots used for the re-ports:
|
|
45
|
+
Peterande/D-FINE @ 956d170 and lyuwenyu/RT-DETR @ df2a96c
|
|
46
|
+
(local mirrors under ~/Research/Software/upstream/).
|
|
47
|
+
|
|
48
|
+
* GTR — Gated Token Recurrence for Efficient Dense Prediction
|
|
49
|
+
(MIT License, Copyright (c) 2026 The GTR Authors)
|
|
50
|
+
Source: https://github.com/Intellindust-AI-Lab/GTR
|
|
51
|
+
Used for: the GLA backbone line (GatedLinearAttention, SpatialSwiGLU,
|
|
52
|
+
bidirectional scan, ViTAdapter) in
|
|
53
|
+
src/autovision/tasks/detection/shared/gtr/vit_adapter.py and
|
|
54
|
+
src/autovision/tasks/detection/shared/gtr/spatial_swiglu.py, and the
|
|
55
|
+
RF-DETR/LW-DETR-style multi-scale projector (GTREncoder) in
|
|
56
|
+
src/autovision/tasks/detection/shared/gtr/encoder.py, and the
|
|
57
|
+
semantic-segmentation FCN head (SemSegHead, itself the mmseg FCNHead
|
|
58
|
+
convention via GTR's engine/gtr/semseg/gtrsemseg.py) in
|
|
59
|
+
src/autovision/tasks/semantic_segmentation/gtr/segmentation_head.py,
|
|
60
|
+
the instance-segmentation mask head + PointRend point sampling
|
|
61
|
+
(GTR's engine/gtr/det/segmentation_head.py, itself RF-DETR/PointRend
|
|
62
|
+
derived) in src/autovision/tasks/detection/shared/gtr/segmentation_head.py,
|
|
63
|
+
the pairwise mask CE/Dice cost helpers (GTR's engine/gtr/box_ops.py,
|
|
64
|
+
RF-DETR derived) in src/autovision/tasks/detection/shared/matcher.py,
|
|
65
|
+
the DPT-style metric-depth head (GTR's engine/gtr/depth/gtrdepth.py,
|
|
66
|
+
itself ported from Depth-Anything-V2) in
|
|
67
|
+
src/autovision/tasks/depth_estimation/gtr/dpt_head.py, and the oriented
|
|
68
|
+
detection line (GTR's engine/gtr/obb/rbox_ops.py rotated-box math and
|
|
69
|
+
engine/gtr/obb/decoder.py OBBGTRTransformer) in
|
|
70
|
+
src/autovision/tasks/detection/shared/gtr/rbox_ops.py and
|
|
71
|
+
src/autovision/tasks/detection/shared/gtr/obb_decoder.py, and the pose
|
|
72
|
+
line (GTR's engine/gtr/pose/{decoder,ms_deform_attn,utils}.py, itself
|
|
73
|
+
DETRPose derived) in
|
|
74
|
+
src/autovision/tasks/detection/shared/gtr/pose_decoder.py, and the
|
|
75
|
+
oriented training pieces (GTR's engine/gtr/obb/{criterion,matcher,
|
|
76
|
+
denoising}.py) in src/autovision/tasks/detection/shared/gtr/
|
|
77
|
+
obb_criterion.py and obb_denoising.py, and the pose training pieces
|
|
78
|
+
(GTR's engine/gtr/pose/{criterion,matcher,keypoint_loss,
|
|
79
|
+
dn_component}.py) in src/autovision/tasks/detection/shared/gtr/
|
|
80
|
+
pose_criterion.py and pose_dn.py.
|
|
81
|
+
Runtime dependency (optional extra ``gtr``): flash-linear-attention
|
|
82
|
+
0.5.0 (MIT).
|
|
83
|
+
|
|
84
|
+
* torch-linear-assignment (Apache License 2.0, Ivan Karpukhin,
|
|
85
|
+
https://github.com/ivan-chai/torch-linear-assignment)
|
|
86
|
+
Used for: the optional batched GPU linear-assignment solver of the
|
|
87
|
+
DETR matcher (extra ``lsap``; lazy import with automatic scipy
|
|
88
|
+
fallback — see src/autovision/tasks/detection/shared/matcher.py).
|
|
89
|
+
|
|
90
|
+
* PyTorch and torchvision (BSD-style license)
|
|
91
|
+
Used for: tensor/ops foundations; RandomResizedCrop-family sampling math
|
|
92
|
+
and roi_align/grid_sample referenced by data-augmentation utilities.
|
|
93
|
+
|
|
94
|
+
* Roboflow RF-DETR (Apache License 2.0)
|
|
95
|
+
Source: https://github.com/roboflow/rf-detr
|
|
96
|
+
Used for: the RF-DETR detector family through HuggingFace transformers
|
|
97
|
+
(encoders/rfdetr/, tasks/detection/rfdetr/); weights are downloaded from
|
|
98
|
+
the upstream Roboflow HuggingFace repositories, not vendored.
|
|
99
|
+
|
|
100
|
+
* PaddleDetection PP-PicoDet (Apache License 2.0)
|
|
101
|
+
Source: https://github.com/PaddlePaddle/PaddleDetection
|
|
102
|
+
Used for: the PicoDet architecture/algorithm reference; the implementation
|
|
103
|
+
in tasks/detection/picodet/ is authored by AutoVision.
|
|
104
|
+
|
|
105
|
+
* ByteTrack (MIT License, Copyright (c) 2021 Yifu Zhang)
|
|
106
|
+
Source: https://github.com/ifzhang/ByteTrack
|
|
107
|
+
Used for: the association algorithm (ECCV 2022) referenced by
|
|
108
|
+
tracking/byte_track.py; the implementation is authored by AutoVision.
|
|
109
|
+
|
|
110
|
+
* SAHI — Slicing Aided Hyper Inference (MIT License)
|
|
111
|
+
Source: https://github.com/obss/sahi
|
|
112
|
+
Used for: the slicing/tiling algorithm referenced by
|
|
113
|
+
tasks/shared/sahi.py and tasks/shared/tiling_utils.py; the implementation
|
|
114
|
+
is authored by AutoVision.
|
|
115
|
+
|
|
116
|
+
* Roboflow supervision 0.30 (MIT License, Copyright (c) 2022 Roboflow)
|
|
117
|
+
Source: https://github.com/roboflow/supervision
|
|
118
|
+
Used for: API/algorithm reference for the inference-side annotators
|
|
119
|
+
(trace/heatmap/blur/pixelate/corner/round-box/halo/edge/background
|
|
120
|
+
overlay), skeleton registry, NumPy box/mask/polygon utilities, and video
|
|
121
|
+
sink helpers in src/autovision/visualize/effects.py,
|
|
122
|
+
visualize/skeletons.py, geometry/boxes.py, geometry/masks.py and
|
|
123
|
+
inference/video.py. The implementation is authored by AutoVision; no
|
|
124
|
+
supervision runtime dependency is added. Full MIT text:
|
|
125
|
+
THIRD_PARTY_LICENSES.md.
|
|
126
|
+
|
|
127
|
+
* Demo asset `examples/tasks/assets/airport_aerial.jpg` — Wikimedia Commons,
|
|
128
|
+
Mertbiol, CC0 1.0 (public domain dedication). Used only by the runnable
|
|
129
|
+
examples; not part of the installed package.
|
|
130
|
+
|
|
131
|
+
Algorithm references (ideas/papers, no code vendored): DINO (Apache-2.0,
|
|
132
|
+
facebookresearch/dino), DetCon (Apache-2.0, google-deepmind/detcon),
|
|
133
|
+
PaKA (arXiv 2509.05606), SimCLR, DINOv2 (Apache-2.0), DEIM schedulers.
|
|
134
|
+
|
|
135
|
+
--------------------------------------------------------------------------
|
|
136
|
+
Pretrained-weights policy (decisions D1-a, design doc 28 section 6.1)
|
|
137
|
+
--------------------------------------------------------------------------
|
|
138
|
+
|
|
139
|
+
Code and weights are licensed separately upstream, and this framework
|
|
140
|
+
never accepts non-Apache weight terms on the user's behalf.
|
|
141
|
+
|
|
142
|
+
* DINOv3 (Meta): the pretrained weights are published under the DINOv3
|
|
143
|
+
License (NOT Apache-2.0). The framework never downloads them by default
|
|
144
|
+
and does not redistribute them: loading a pretrained DINOv3 checkpoint
|
|
145
|
+
requires the environment flag AUTOVISION_DINOV3_WEIGHTS=1, which asserts
|
|
146
|
+
that the USER has accepted Meta's DINOv3 License terms on their own
|
|
147
|
+
account. Models trained from DINOv3-initial weights inherit those
|
|
148
|
+
obligations (commercial use is permitted with redistribution notice:
|
|
149
|
+
attach the license and mark "Built with DINOv3").
|
|
150
|
+
|
|
151
|
+
* DINOv2 (Meta): the CODE is Apache-2.0, but the pretrained WEIGHTS on the
|
|
152
|
+
HF hub (facebook/dinov2-*, facebook/dinov2-with-registers-*) are
|
|
153
|
+
CC-BY-NC 4.0 — non-commercial. Fetching them requires the environment
|
|
154
|
+
flag AUTOVISION_DINOV2_WEIGHTS=1 (the user accepts the CC-BY-NC 4.0
|
|
155
|
+
terms on their own account). Models fine-tuned from these weights
|
|
156
|
+
inherit the non-commercial restriction.
|
|
157
|
+
|
|
158
|
+
* DEIMv2 public checkpoints / converted weights (external; NOT distributed):
|
|
159
|
+
subject to the DEIMv2 License (NON-COMMERCIAL), and checkpoints whose
|
|
160
|
+
backbone descends from DINOv3 (e.g. DEIMv2-DINOv3-S) also carry the DINOv3
|
|
161
|
+
License obligations listed above. AutoVision no longer contains DEIMv2-
|
|
162
|
+
derived code (the former SpatialPriorModule was removed), but third-party
|
|
163
|
+
DEIMv2 weights remain non-commercial. Check every checkpoint card before
|
|
164
|
+
any commercial use; commercial products should use obligation-free
|
|
165
|
+
teachers (own-SSL DINOv2-line backbones, timm/torchvision initializations,
|
|
166
|
+
or D-FINE COCO components).
|
|
167
|
+
|
|
168
|
+
* The fully clean path for unrestricted commercial use: build any backbone
|
|
169
|
+
config-only (``-notpretrained``) and pretrain it with this framework's
|
|
170
|
+
own self-supervised recipes on your data, then fine-tune; decoder-side
|
|
171
|
+
warm start comes from the Apache-2.0 D-FINE COCO components.
|
|
172
|
+
|
|
173
|
+
Runtime dependencies (not vendored) carry their own licenses; see
|
|
174
|
+
pyproject.toml. Optional integrations with AGPL-licensed or custom-licensed
|
|
175
|
+
software (e.g. Ultralytics, DINOv3/DINOv2 weights) are isolated behind
|
|
176
|
+
optional extras and runtime downloads and must never have source or weights
|
|
177
|
+
copied into this repository (docs/provenance/LEDGER.md;
|
|
178
|
+
CONTRIBUTING.md license/provenance red lines).
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: autovision-framework
|
|
3
|
+
Version: 0.3.0
|
|
4
|
+
Summary: AutoVision: enterprise visual model training framework (pretrain/distill -> finetune -> evaluate -> export)
|
|
5
|
+
Author: AutoVision contributors
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/hi-agi-lab/AutoVision
|
|
8
|
+
Project-URL: Documentation, https://hi-agi-lab.github.io/AutoVision/
|
|
9
|
+
Project-URL: Repository, https://github.com/hi-agi-lab/AutoVision
|
|
10
|
+
Project-URL: Issues, https://github.com/hi-agi-lab/AutoVision/issues
|
|
11
|
+
Project-URL: Changelog, https://github.com/hi-agi-lab/AutoVision/blob/main/CHANGELOG.md
|
|
12
|
+
Keywords: computer vision,object detection,instance segmentation,pose estimation,model training,model export
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Intended Audience :: Science/Research
|
|
16
|
+
Classifier: Operating System :: OS Independent
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
21
|
+
Requires-Python: >=3.10
|
|
22
|
+
Description-Content-Type: text/markdown
|
|
23
|
+
License-File: LICENSE
|
|
24
|
+
License-File: NOTICE
|
|
25
|
+
License-File: THIRD_PARTY_LICENSES.md
|
|
26
|
+
Requires-Dist: defusedxml>=0.7.1
|
|
27
|
+
Requires-Dist: einops>=0.3
|
|
28
|
+
Requires-Dist: filelock>=3.0
|
|
29
|
+
Requires-Dist: numpy>=1.23
|
|
30
|
+
Requires-Dist: pyarrow>=15.0.0
|
|
31
|
+
Requires-Dist: pycocotools>=2.0.7
|
|
32
|
+
Requires-Dist: pydantic>=2.7
|
|
33
|
+
Requires-Dist: pyyaml>=6.0
|
|
34
|
+
Requires-Dist: scipy>=1.10
|
|
35
|
+
Requires-Dist: torch>=2.4
|
|
36
|
+
Requires-Dist: torchvision>=0.19
|
|
37
|
+
Requires-Dist: tqdm>=4.0
|
|
38
|
+
Requires-Dist: typer>=0.12
|
|
39
|
+
Provides-Extra: tensorboard
|
|
40
|
+
Requires-Dist: tensorboard>=2.10; extra == "tensorboard"
|
|
41
|
+
Provides-Extra: mlflow
|
|
42
|
+
Requires-Dist: mlflow>=2.8; extra == "mlflow"
|
|
43
|
+
Provides-Extra: wandb
|
|
44
|
+
Requires-Dist: wandb>=0.17; extra == "wandb"
|
|
45
|
+
Provides-Extra: bitsandbytes
|
|
46
|
+
Requires-Dist: bitsandbytes>=0.43; extra == "bitsandbytes"
|
|
47
|
+
Provides-Extra: timm
|
|
48
|
+
Requires-Dist: timm>=1.0.3; extra == "timm"
|
|
49
|
+
Provides-Extra: super-gradients
|
|
50
|
+
Requires-Dist: super-gradients>=3.6.1; extra == "super-gradients"
|
|
51
|
+
Provides-Extra: ultralytics
|
|
52
|
+
Requires-Dist: ultralytics>=8.1.0; extra == "ultralytics"
|
|
53
|
+
Provides-Extra: gtr
|
|
54
|
+
Requires-Dist: flash-linear-attention==0.5.0; extra == "gtr"
|
|
55
|
+
Provides-Extra: download
|
|
56
|
+
Requires-Dist: huggingface_hub>=0.23; extra == "download"
|
|
57
|
+
Provides-Extra: lsap
|
|
58
|
+
Requires-Dist: torch-linear-assignment==0.1.0; extra == "lsap"
|
|
59
|
+
Provides-Extra: transformers
|
|
60
|
+
Requires-Dist: transformers>=4.56; extra == "transformers"
|
|
61
|
+
Requires-Dist: sentencepiece>=0.2; extra == "transformers"
|
|
62
|
+
Requires-Dist: protobuf>=4; extra == "transformers"
|
|
63
|
+
Provides-Extra: rfdetr
|
|
64
|
+
Requires-Dist: transformers>=5.9; extra == "rfdetr"
|
|
65
|
+
Provides-Extra: export
|
|
66
|
+
Requires-Dist: numpy>=1.25; extra == "export"
|
|
67
|
+
Requires-Dist: onnx>=1.15; extra == "export"
|
|
68
|
+
Requires-Dist: onnxruntime>=1.17; extra == "export"
|
|
69
|
+
Requires-Dist: onnxslim>=0.1; extra == "export"
|
|
70
|
+
Requires-Dist: onnxscript>=0.1; extra == "export"
|
|
71
|
+
Provides-Extra: openvino
|
|
72
|
+
Requires-Dist: openvino>=2024.0; extra == "openvino"
|
|
73
|
+
Provides-Extra: video
|
|
74
|
+
Requires-Dist: opencv-python-headless>=4.8; extra == "video"
|
|
75
|
+
Provides-Extra: docs
|
|
76
|
+
Requires-Dist: mkdocs-material<10,>=9.5; extra == "docs"
|
|
77
|
+
Requires-Dist: mkdocs<2; extra == "docs"
|
|
78
|
+
Requires-Dist: mkdocs-static-i18n<2,>=1.2; extra == "docs"
|
|
79
|
+
Provides-Extra: serving
|
|
80
|
+
Requires-Dist: fastapi>=0.110; extra == "serving"
|
|
81
|
+
Requires-Dist: uvicorn>=0.29; extra == "serving"
|
|
82
|
+
Provides-Extra: dev
|
|
83
|
+
Requires-Dist: bandit>=1.7; extra == "dev"
|
|
84
|
+
Requires-Dist: httpx>=0.27; extra == "dev"
|
|
85
|
+
Requires-Dist: mypy>=1.10; extra == "dev"
|
|
86
|
+
Requires-Dist: pytest>=8.0; extra == "dev"
|
|
87
|
+
Requires-Dist: pytest-cov>=5.0; extra == "dev"
|
|
88
|
+
Requires-Dist: pytest-mock>=3.14; extra == "dev"
|
|
89
|
+
Requires-Dist: ruff>=0.8; extra == "dev"
|
|
90
|
+
Dynamic: license-file
|
|
91
|
+
|
|
92
|
+
# AutoVision
|
|
93
|
+
|
|
94
|
+
企业级视觉模型训练框架:自监督预训练 / 蒸馏 → 微调 → 评测 → 导出一条链走完。
|
|
95
|
+
覆盖检测、旋转框、实例 / 全景 / 语义分割、姿态、深度、分类;Python API 与
|
|
96
|
+
`autovision-cli` 共享同一套 Pydantic 严格校验。
|
|
97
|
+
|
|
98
|
+
> **发行名说明**:PyPI 包名是 `autovision-framework`,import 包名仍是
|
|
99
|
+
> `autovision`,命令行仍是 `autovision-cli`。本项目与 PyPI 上无关的
|
|
100
|
+
> `autovision` 0.0.1 包没有关系;请确认安装的是 `autovision-framework`。
|
|
101
|
+
|
|
102
|
+
**链接**:[源码仓库](https://github.com/hi-agi-lab/AutoVision) ·
|
|
103
|
+
[文档站](https://hi-agi-lab.github.io/AutoVision/) ·
|
|
104
|
+
[变更日志](https://github.com/hi-agi-lab/AutoVision/blob/main/CHANGELOG.md)
|
|
105
|
+
|
|
106
|
+
## 安装
|
|
107
|
+
|
|
108
|
+
Python ≥ 3.10:
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
pip install autovision-framework
|
|
112
|
+
|
|
113
|
+
# 常用组合:HF 骨干 + timm + ONNX 导出
|
|
114
|
+
pip install "autovision-framework[transformers,timm,export]"
|
|
115
|
+
|
|
116
|
+
# 预训练 RF-DETR 直接推理
|
|
117
|
+
pip install "autovision-framework[rfdetr,export]"
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
模型包按 extras 惰性加载,缺失时对应清单为空而不是报错。完整 extras 表见
|
|
121
|
+
[仓库 README](https://github.com/hi-agi-lab/AutoVision#安装)。
|
|
122
|
+
|
|
123
|
+
## 快速开始
|
|
124
|
+
|
|
125
|
+
不训练,直接加载发布权重并预测:
|
|
126
|
+
|
|
127
|
+
```python
|
|
128
|
+
import autovision
|
|
129
|
+
|
|
130
|
+
model = autovision.detection("rfdetr/rf-detr-small", pretrained=True)
|
|
131
|
+
result = model.predict("image.jpg") # {'bboxes': ..., 'scores': ..., 'labels': ...}
|
|
132
|
+
model.export("model.onnx") # parity 门禁 + postprocess 规格
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
目标检测,训练 → 验证 → 预测 → 导出:
|
|
136
|
+
|
|
137
|
+
```python
|
|
138
|
+
import autovision
|
|
139
|
+
|
|
140
|
+
data = autovision.ensure_coco8() # 合成冒烟数据集;可换 COCO/YOLO 配置
|
|
141
|
+
model = autovision.detection("rtdetr/resnet18").train(
|
|
142
|
+
out="runs/det1", data=data, steps=2000, batch_size="auto",
|
|
143
|
+
)
|
|
144
|
+
model.val(data=data) # {'map': ..., 'map_50': ...}
|
|
145
|
+
model.predict("image.jpg") # {'bboxes': ..., 'scores': ..., 'labels': ...}
|
|
146
|
+
model.export("model.onnx") # 按 .onnx / .engine / .pt 后缀分发
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
等价命令行(同一套 Pydantic 校验):
|
|
150
|
+
|
|
151
|
+
```bash
|
|
152
|
+
autovision-cli train-object-detection out=runs/det1 data=data.yaml steps=2000
|
|
153
|
+
autovision-cli val model=runs/det1/exported_models/exported_best.pt data=coco8
|
|
154
|
+
autovision-cli predict model=runs/det1/exported_models/exported_best.pt images=dir/ out=preds/ threshold=0.5
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
## 常用 extras
|
|
158
|
+
|
|
159
|
+
| extra | 能力 |
|
|
160
|
+
|---|---|
|
|
161
|
+
| `transformers` | DINOv2 / DINOv3 骨干(HuggingFace 权重) |
|
|
162
|
+
| `timm` | timm 全量骨干(任意输入通道数) |
|
|
163
|
+
| `export` | ONNX 导出 + 数值对拍门禁 |
|
|
164
|
+
| `openvino` | OpenVINO IR 导出与运行时 |
|
|
165
|
+
| `video` | 视频 / RTSP 参考推理运行时 |
|
|
166
|
+
| `serving` | FastAPI 参考 serving(`/predict`、`/metrics`) |
|
|
167
|
+
| `gtr` | GTR GLA 骨干(Triton,需 CUDA) |
|
|
168
|
+
| `download` | GTR 上游权重按需下载(huggingface_hub) |
|
|
169
|
+
| `dev` | pytest / ruff(CI 同款) |
|
|
170
|
+
|
|
171
|
+
## 许可
|
|
172
|
+
|
|
173
|
+
Apache-2.0(AutoVision 自有代码;全文:
|
|
174
|
+
<https://www.apache.org/licenses/LICENSE-2.0>)。第三方组件与权重溯源见发行包内的
|
|
175
|
+
`NOTICE` 与 `THIRD_PARTY_LICENSES.md`。受限许可权重(DINOv2 CC-BY-NC 4.0 / DINOv3
|
|
176
|
+
License)默认不下载;用户自持权重不可再分发。
|
|
177
|
+
|
|
178
|
+
> **0.3.0 许可状态**:DEIMv2 派生的 `SpatialPriorModule` 已删除;DINOv3
|
|
179
|
+
> ViT 变体保留并使用 no-STA adapter,发行物不再包含 DEIMv2 代码。旧的
|
|
180
|
+
> `backbone.sta.*` ViT 检查点不受支持,需重新训练/导出。详见
|
|
181
|
+
> `docs/provenance/LEDGER.md`。
|
|
182
|
+
|
|
183
|
+
完整文档(模型库、基准、导出细节、已知限制)见
|
|
184
|
+
[文档站](https://hi-agi-lab.github.io/AutoVision/) 与源码仓库的 `docs/` 目录。
|