LibreYOLO
Copyright (c) The LibreYOLO contributors.

LibreYOLO is licensed under the MIT License (see LICENSE).

NOTE ON WEIGHTS: No pretrained weight files are shipped with this source
repository. Pretrained LibreYOLO weights are published separately on
Hugging Face under https://huggingface.co/LibreYOLO and carry their own
per-family licenses, reflecting each upstream. Those licenses vary and
are not all permissive: some published weights are non-commercial or
otherwise restricted, and this MIT License does not extend to them.
Choosing a model means choosing its license. See
`weights/LICENSE_NOTICE.txt` and the LICENSE / NOTICE files on each
Hugging Face model card for the authoritative terms.

NOTE ON THIRD-PARTY CODE: Portions of this repository are derived from
other open-source projects. See `THIRD_PARTY_NOTICES.txt` for the list
of upstream projects and their licenses.

This product bundles third-party source code under non-MIT licenses. The
bundled files retain their original copyright headers. A copy of each
upstream license accompanies the corresponding code.

------------------------------------------------------------------------
Bundled third-party source code
------------------------------------------------------------------------

DINOv3 (Meta DINOv3 License Agreement)
    Path:    libreyolo/models/deimv2/engine/backbone/dinov3/
    License: libreyolo/models/deimv2/engine/backbone/dinov3/LICENSE.md
    Source:  https://github.com/facebookresearch/dinov3

    The DINOv3 backbone code shipped with the DEIMv2 family is
    redistributed under the DINOv3 License Agreement, a custom
    non-OSI license from Meta Platforms, Inc.

    Key obligations propagated to downstream users (see LICENSE.md
    for the authoritative text):
      * Redistribution must include a copy of the DINOv3 License
        Agreement (provided as LICENSE.md alongside the code).
      * The DINO Materials may not be used for activities subject
        to ITAR, military or warfare purposes, nuclear industries,
        espionage, or weapons development.
      * The DINO Materials are provided "as is" without warranty.

    These terms apply only to the DINOv3 subtree listed above. The
    rest of LibreYOLO remains under the MIT License.

    The WAFT family (libreyolo/models/waft/) builds its size t encoder
    from this subtree; the LibreWAFTt-flow-dinov3 weights contain a
    fine-tuned DINOv3 ViT-S/16 and carry the DINOv3 License with them.

WAFT (BSD 3-Clause License)
    Path:    libreyolo/models/waft/_vendor/
    License: libreyolo/models/waft/_vendor/LICENSE
    Source:  https://github.com/princeton-vl/WAFT
    Commit:  b152ff1cad1af8c185ee7b141997c48ff3334c87

    Inference-only copy of WAFT (Warping-Alone Field Transforms, Wang and
    Deng, Princeton Vision & Learning Lab), Copyright (c) 2025. Training
    code is dropped; xformers and timm are replaced by plain torch with
    F.scaled_dot_product_attention. The Twins-SVT backbone in
    _vendor/twins.py is derived from timm (Apache License 2.0, Copyright
    2019 Ross Wightman), itself from Meituan-AutoML/Twins (Apache License
    2.0, Copyright 2021 Meituan); see licenses/Apache-2.0.txt. The
    Depth Anything V2 and DINOv3 encoders are reused from the
    depth_anything and deimv2 families and keep their own licenses.

Video Depth Anything (Apache License 2.0)
    Path:    libreyolo/models/video_depth_anything/_vendor/
    License: libreyolo/models/video_depth_anything/_vendor/LICENSE
    Source:  https://github.com/DepthAnything/Video-Depth-Anything
    Commit:  4f5ae23172ba60fd7bc11ef671cca678842c7072

    Inference-only copy of the temporal DPT head and motion modules,
    Copyright (2025) Bytedance Ltd. and/or its affiliates. The motion
    module originates in AnimateDiff and the attention block in Hugging
    Face diffusers, both Apache-2.0. EasyDict and einops are replaced by
    plain Python/torch. The DINOv2 encoder and DPT head are reused from the
    depth_anything family.

SenseNova-Vision / Bagel (Apache License 2.0 code; CC BY-NC 4.0 weights,
mirrored under that license)
    Path:    libreyolo/models/sensenova/
    License: libreyolo/models/sensenova/NOTICE  (Apache-2.0 code sources)
    Source:  https://github.com/OpenSenseNova/SenseNova-Vision

    The SenseNova-Vision family vendors an inference-only port of the
    upstream Apache-2.0 implementation (SenseTime 2026, building on
    ByteDance's Bagel, Hugging Face transformers, and the Black Forest
    Labs FLUX autoencoder, all Apache-2.0). The upstream file
    modeling/bagel/modeling_utils.py is CC BY-NC 4.0 (DiT-derived) and is
    NOT ported; its standard components are re-derived from Apache/MIT
    sources in modeling/layers.py (see the family NOTICE). Model weights
    are CC BY-NC 4.0, mirrored byte-identically with attribution at
    huggingface.co/LibreYOLO/SenseNovaVision7b; the loader prints the
    non-commercial notice before every automatic download.

MODUS / Bagel (Apache License 2.0 code; external custom-term weights)
    Path:    libreyolo/models/modus/
    License: libreyolo/models/modus/NOTICE
    Source:  https://github.com/EPFL-VILAB/Modus
    Commit:  c299ef0fbba1cfe7c93336c45d7085afd770c0fa

    LibreMODUS vendors only the analysis-inference portions of the upstream
    Apache-2.0 implementation and reuses LibreYOLO's audited Apache-2.0 Bagel
    runtime. The upstream CC BY-NC 4.0 modeling_utils.py file is explicitly
    excluded. Weights are never redistributed or mirrored: they remain in the
    user's local cache and are fetched directly from EPFL-VILAB/MODUS at a
    pinned revision using the user's own authenticated account. The upstream
    model card declares custom
    ``bagel-derived`` terms and requests research-only use. See the family
    NOTICE for the code/weights separation and exact provenance.

MobileNetV4 / timm (Apache License 2.0)
    Path:    libreyolo/models/mobilenetv4/
    License: libreyolo/models/mobilenetv4/NOTICE  (Apache-2.0)
    Source:  https://github.com/huggingface/pytorch-image-models

    The MobileNetV4 architecture (libreyolo/models/mobilenetv4/nn.py) is a
    native re-implementation derived from timm's MobileNetV4
    (Ross Wightman and the timm contributors), licensed Apache-2.0. Module
    naming mirrors timm so its Apache-2.0 ImageNet-1k pretrained weights load
    unchanged and inference is bit-identical. Apache-2.0 is MIT-compatible;
    these terms add only attribution obligations.

ConvNeXt / timm (MIT code + Apache-2.0 weights)
    Path:    libreyolo/models/convnext/
    License: libreyolo/models/convnext/NOTICE
    Source:  https://github.com/facebookresearch/ConvNeXt
             https://github.com/huggingface/pytorch-image-models

    The ConvNeXt V1 architecture (libreyolo/models/convnext/nn.py) is a native
    re-implementation derived from Meta's ConvNeXt (MIT) and timm's ConvNeXt.
    Module naming mirrors timm so its Apache-2.0 ImageNet-1k `fb_in1k` weights
    load unchanged and inference is bit-identical. ConvNeXt-V2's small
    checkpoints are CC-BY-NC and are intentionally NOT used.

DeiT / timm (Apache License 2.0)
    Path:    libreyolo/models/deit/, libreyolo/data/imagenet1k_synsets.txt
    License: libreyolo/models/deit/NOTICE  (Apache-2.0)
    Source:  https://github.com/facebookresearch/deit
             commit 7e160fe43f0252d17191b71cbb5826254114ea5b
             https://github.com/huggingface/pytorch-image-models
             commit e98c05a5a15e81188ec62dd5380b8f5c3251075a

    The plain DeiT patch-16 tiny, small, and base classifiers are a native
    inference port derived from the Apache-2.0 timm Vision Transformer graph
    and the Apache-2.0 facebookresearch/deit variant contract. Module naming
    mirrors timm so its Apache-2.0 ImageNet-1k tensors load unchanged and
    produce bit-identical eager logits. The bundled ImageNet WNID index is an
    unmodified timm data file from the pinned commit above. Distillation-token,
    DeiT III, and 384-pixel variants are not included.

EfficientNetV2 / timm (Apache License 2.0)
    Path:    libreyolo/models/efficientnetv2/
    License: libreyolo/models/efficientnetv2/NOTICE  (Apache-2.0)
    Source:  https://github.com/huggingface/pytorch-image-models
             https://github.com/google/automl

    The EfficientNetV2 architecture (libreyolo/models/efficientnetv2/nn.py) is a
    native re-implementation derived from timm's EfficientNetV2 (Ross Wightman)
    and Google's EfficientNetV2 (google/automl), licensed Apache-2.0. Module
    naming mirrors timm so its Apache-2.0 ImageNet-1k weights load unchanged and
    inference is bit-identical.

ResNet / timm (Apache License 2.0)
    Path:    libreyolo/models/resnet/
    License: libreyolo/models/resnet/NOTICE  (Apache-2.0)
    Source:  https://github.com/huggingface/pytorch-image-models

    The ResNet architecture (libreyolo/models/resnet/nn.py) is a native
    re-implementation of the vanilla ResNet (He et al. 2015, v1.5). Weights are
    timm's `resnet*.a1_in1k` (Ross Wightman), Apache-2.0, ImageNet-1k. Module
    naming mirrors timm/torchvision so weights load unchanged and inference is
    bit-identical.

ViT / timm (Apache License 2.0)
    Path:    libreyolo/models/vit/
    License: libreyolo/models/vit/NOTICE  (Apache-2.0)
    Source:  https://github.com/huggingface/pytorch-image-models
             commit 8ef73809f622e0031bd7f4940265734aef8b9978 (v1.0.28)

    The native Vision Transformer graph (libreyolo/models/vit/nn.py) is
    derived from timm's vision_transformer.py and supporting timm/layers
    modules (Ross Wightman and the timm contributors, Apache-2.0). Only the
    classic fixed-224 patch-16 classifier graph used by the shipped AugReg
    ImageNet-1k checkpoints is retained; later extensions (dynamic sizes,
    register tokens, layer scale, patch dropout) are omitted. The
    architecture and AugReg checkpoint lineage originate from
    google-research/vision_transformer at commit
    64801f1b3b367b3611cc27a3d45cc22870a36fb3 (Apache-2.0). Module and
    parameter names remain aligned with timm so all learned tensors load
    unchanged and inference parity can be tested.

EfficientDet (Apache License 2.0)
    Path:    libreyolo/models/efficientdet/
    License: libreyolo/models/efficientdet/NOTICE  (Apache-2.0)
    Source:  https://github.com/rwightman/efficientdet-pytorch
             commit c6dff775a36cea0bf9b76c58e59f936411c5ce01 (effdet 0.4.1)

    The EfficientDet D0-D4 architecture, TensorFlow-compatible EfficientNet
    backbones, BiFPN topology, prediction heads, anchor generation,
    checkpoint configuration, and evaluation transform are derived from
    rwightman/efficientdet-pytorch (Apache-2.0, Copyright 2020 Ross
    Wightman). The native EfficientNet block structure and timm-compatible
    parameter names follow timm v1.0.28 at commit
    8ef73809f622e0031bd7f4940265734aef8b9978, and the BiFPN and anchor
    lineage traces to Google Research's original TensorFlow implementation
    (google/automl, Apache-2.0). Official D0-D4 COCO checkpoints are
    unmodified tensors from the upstream v0.1 release, rehosted on an
    explicitly disclosed implied Apache-2.0 basis. No source from the
    LGPL-licensed zylo117/Yet-Another-EfficientDet-Pytorch project was
    consulted or used.

Swin Transformer V1 / timm (Apache-2.0 code + MIT weights)
    Path:    libreyolo/models/swin/
    License: libreyolo/models/swin/NOTICE
    Source:  https://github.com/huggingface/pytorch-image-models
             https://github.com/microsoft/Swin-Transformer
             https://github.com/SwinTransformer/storage

    The shared Swin V1 tower is a native implementation derived from timm
    v1.0.28 (Apache-2.0). The standalone classifier integration is original
    LibreYOLO work and preserves timm parameter names for strict, bit-exact
    loading. The four released patch-4/window-7 Microsoft checkpoints are MIT;
    conversion retains learned tensors and adds only LibreYOLO metadata and
    canonical ImageNet-1k class names.

OMDet-Turbo / Transformers (Apache License 2.0)
    Path:    libreyolo/models/openvocab/omdet_turbo.py
    License: licenses/Apache-2.0.txt
    Source:  https://github.com/huggingface/transformers
    Architecture: https://github.com/om-ai-lab/OmDet

    LibreYOLO ships no OMDet-Turbo model source. The adapter calls the
    Apache-2.0 Transformers OmDetTurboForObjectDetection implementation, its
    processor, and its post-processing. Apache-2.0 checkpoint assets are
    mirrored unchanged from omlab/omdet-turbo-swin-tiny-hf revision
    7fe93cecfb770c4d76cf71163956221249cab566 at LibreYOLO/LibreOMDetTurbot.

OV-DEIM (Apache License 2.0)
    Path:    libreyolo/models/openvocab/ov_deim.py,
             libreyolo/models/openvocab/ovdeim/
    License: licenses/Apache-2.0.txt
    Source:  https://github.com/wleilei/OV-DEIM
             (pinned at commit dfbf394672407b7f837ec08e7d68e8127548b254)

    The vendored architecture modules are taken from OV-DEIM under
    Apache-2.0, with the RT-DETR (Apache-2.0, Copyright (c) 2023 lyuwenyu)
    and DEIMv2 (Apache-2.0) lineage headers preserved. Licensing was
    confirmed by the upstream author (wleilei/OV-DEIM#4). See
    docs/provenance/ov_deim.md.

SegFormer / transformers (Apache License 2.0)
    Path:    libreyolo/models/segformer/
    License: libreyolo/models/segformer/NOTICE  (Apache-2.0 code source)
    Source:  https://github.com/huggingface/transformers

    The SegFormer architecture (libreyolo/models/segformer/nn.py) is a
    PyTorch port derived from (and in parts copied from) HuggingFace
    Transformers' Apache-2.0 modeling_segformer.py, not from NVIDIA's
    original non-permissive NVlabs/SegFormer repository (cited for
    attribution only).

    The semantic training recipe it uses -- the resize_crop /
    cat_max_ratio sampling in libreyolo/data/semantic_dataset.py and the
    ADE20K hyper-parameters in SegformerConfig -- is derived from
    open-mmlab/mmsegmentation (Apache-2.0). See THIRD_PARTY_NOTICES.txt.

    WEIGHTS ARE NON-COMMERCIAL. The pretrained ADE20K checkpoints
    (LibreSegformer{b0..b5}-sem) are converted from NVIDIA's SegFormer
    release, whose license permits redistribution but restricts use to
    research or evaluation only. They are not covered by LibreYOLO's
    permissive license. See libreyolo/models/segformer/NOTICE.

LingBot-Vision (Apache License 2.0)
    Path:    libreyolo/models/lingbotvision/
    License: libreyolo/models/lingbotvision/NOTICE
    Source:  https://github.com/robbyant/lingbot-vision
    Commit:  151e46321bae4399f8568829f190c7bdec216b49

    The LingBot-Vision ViT backbone (libreyolo/models/lingbotvision/nn.py)
    is a native PyTorch port of Robbyant's Apache-2.0 lingbot-vision
    release ("Vision Pretraining for Dense Spatial Perception", Fu et
    al., 2026, arXiv:2607.05247). The upstream release documents its ViT
    as building on DINOv2/DINOv3 (Meta AI); the port was made from the
    Robbyant repository only, which distributes that code under
    Apache-2.0. The dense head and training recipe are LibreYOLO's own
    (the report's linear-probing protocol).

    Pretrained backbone weights are Apache-2.0 (Robbyant). Hosted
    LibreLingBotVision{s,b,l}-sem checkpoints combine those backbones
    with a LibreYOLO-trained ADE20K head.

FlowSeek (Apache License 2.0)
    Path:    libreyolo/models/flowseek/_vendor/
    License: libreyolo/models/flowseek/_vendor/LICENSE.md
    Notice:  libreyolo/models/flowseek/_vendor/NOTICE.md
    Source:  https://github.com/mattpoggi/flowseek
    Commit:  ba6407370bceeb96244cad4d60d37489f6eb471e

    Copyright (c) 2025 Matteo Poggi and Fabio Tosi. The FlowSeek network,
    the SEA-RAFT parts it includes (Copyright (c) 2024, Princeton Vision &
    Learning Lab, BSD 3-Clause License, text in the vendored NOTICE.md) and
    its motion bases are adapted for inference only. The Depth Anything V2
    encoder reuses libreyolo/models/depth_anything/_vendor. The hosted
    LibreFlowSeekm-flow and LibreFlowSeekl-flow checkpoints embed the Depth
    Anything V2 Base encoder, whose weights are CC BY-NC 4.0
    (non-commercial); t and s embed the Apache-2.0 Small encoder.

Depth Anything 3 (Apache License 2.0)
    Path:    libreyolo/models/depth_anything3/_vendor/
    License: libreyolo/models/depth_anything3/NOTICE
    Source:  https://github.com/ByteDance-Seed/Depth-Anything-3
    Commit:  41736238f5bced4debf3f2a12375d2466874866d

    The DA3MONO-LARGE ViT-L encoder and DPT head are adapted from ByteDance
    Seed's Apache-2.0 implementation. DINOv2 subcomponents retain Meta
    Platforms Apache-2.0 headers. Package-relative imports and dependency-free
    tensor reshapes do not alter learned parameters or monocular outputs.

RAFT (BSD 3-Clause License)
    Path:    libreyolo/models/raft/_vendor/
    License: libreyolo/models/raft/_vendor/LICENSE  (BSD-3-Clause)
    Source:  https://github.com/princeton-vl/RAFT
    Commit:  2888e15

    The RAFT optical flow network (feature and context encoders, correlation
    pyramid, recurrent update block) is vendored from princeton-vl's RAFT
    (Copyright (c) 2020, princeton-vl). Changes are package-relative imports,
    removal of the optional alt_cuda_corr extension and the scipy training
    helper, and warning-free torch API calls; the computation is unchanged.
    The released raft-things, raft-small, raft-sintel and raft-kitti
    checkpoints are distributed in the same BSD-3-Clause repository and are
    mirrored on the LibreYOLO Hugging Face org with that licence.
SEA-RAFT (BSD 3-Clause License)
    Path:    libreyolo/models/searaft/_vendor/
    License: libreyolo/models/searaft/_vendor/LICENSE  (BSD-3-Clause)
    Source:  https://github.com/princeton-vl/SEA-RAFT
             (commit 9137517ba24e628442aec097d3afe71d03503b75)
             Copyright (c) 2024, Princeton Vision & Learning Lab.

    The inference subset of SEA-RAFT's core/ is vendored for the
    LibreSEARAFT optical flow family; training code and the optional CUDA
    correlation extension are not included. The published S and M
    checkpoints are BSD-3-Clause and mirrored on the LibreYOLO Hugging Face
    organisation.
NeuFlow v2 (Apache License 2.0)
    Path:    libreyolo/models/neuflowv2/_vendor/
    License: libreyolo/models/neuflowv2/_vendor/LICENSE
    Source:  https://github.com/neufieldrobotics/NeuFlow_v2
    Commit:  204b5e3744461d90303b9ff82caa7a1bb56a2ca2

    The NeuFlow v2 optical flow network (Zhiyong Zhang, Aniket Gupta, Huaizu
    Jiang, Hanumant Singh) is vendored for inference only. Package-relative
    imports, a plain torch.nn.Module base instead of the huggingface_hub
    mixin, and an out-of-place input scaling do not alter learned parameters
    or outputs. The converted mixed, sintel and things checkpoints keep the
    upstream Apache-2.0 licence.
DPFlow / ptlflow (Apache License 2.0 code; CC BY-NC-SA 4.0 weights,
mirrored under that license)
    Path:    libreyolo/models/dpflow/_vendor/
    License: libreyolo/models/dpflow/_vendor/LICENSE
    Source:  https://github.com/hmorimitsu/ptlflow (ptlflow/models/dpflow)
    Commit:  43cdc2b5fc7228e7090009a66e8e28e0b48e31ba

    The DPFlow network is an inference-only port of Henrique Morimitsu's
    Apache-2.0 implementation in ptlflow, with its timm-derived local_timm
    helpers (Ross Wightman, Apache-2.0), ptlflow's pure-PyTorch correlation
    samplers (Apache-2.0) and ptlflow's RAFT-derived input padder
    (princeton-vl, BSD-3-Clause). The Lightning base class, training loss
    and registry are removed; see libreyolo/models/dpflow/_vendor/NOTICE.
    The ptlflow-trained weights are CC BY-NC-SA 4.0, mirrored at
    huggingface.co/LibreYOLO/LibreDPFlowm-flow (and -sintel, -kitti,
    -spring variants); the loader prints the non-commercial notice before
    every automatic download.

NAFNet (MIT License)
    Path:    libreyolo/models/nafnet/
    License: libreyolo/models/nafnet/NOTICE  (MIT)
    Source:  https://github.com/megvii-research/NAFNet

    The NAFNet restoration architecture (libreyolo/models/nafnet/nn.py) is a
    native PyTorch implementation derived from Megvii Research's NAFNet
    (MIT). LibreYOLO does not bundle NAFNet pretrained checkpoint files. Some
    published GoPro-trained NAFNet weights do not carry an explicit standalone
    weights license; convert only weights that you have the right to use and
    redistribute. The SIDD denoising weights are trained on the Smartphone
    Image Denoising Dataset (SIDD), which is distributed under the MIT License.

Real-ESRGAN / BasicSR (BSD-3-Clause / Apache-2.0)
    Path:    libreyolo/models/realesrgan/, libreyolo/postprocess/realesrgan.py
    License: libreyolo/models/realesrgan/NOTICE
    Source:  https://github.com/xinntao/Real-ESRGAN (BSD-3-Clause),
             https://github.com/XPixelGroup/BasicSR (Apache-2.0)

    The LibreRealESRGAN super-resolution architectures (RRDBNet,
    SRVGGNetCompact, pixel_unshuffle in libreyolo/models/realesrgan/nn.py) are a
    native PyTorch implementation whose lineage is BasicSR (Apache-2.0,
    Copyright 2018-2022 BasicSR Authors). The seam-free tiled forward in
    libreyolo/models/realesrgan/utils.py is ported from Real-ESRGAN's inference
    helper (BSD-3-Clause, Copyright (c) 2021 Xintao Wang). The released
    Real-ESRGAN generator weights (RealESRGAN_x4plus, RealESRGAN_x2plus,
    realesr-general-x4v3) are distributed under the BSD-3-Clause License;
    LibreYOLO mirrors converted checkpoints with this provenance stated in the
    model cards.

FeyNobg (Apache License 2.0)
    Path:    libreyolo/models/feynobg/
    License: libreyolo/models/feynobg/NOTICE
    Source:  https://huggingface.co/feyninc/FeyNobg
             (reference library: https://github.com/feyninc/nobg)
             Copyright (c) 2026 Feyn Inc.

    FeyNobg (Apache-2.0, code and weights) is architecturally BiRefNet (MIT)
    with the third Swin-L stage deepened from 18 to 24 blocks. The family
    instantiates LibreYOLO's BiRefNet nn module with a family-local dimension
    table (libreyolo/models/feynobg/nn.py); no code was copied from the nobg
    library, and the port is parity-gated against the nobg reference at fp32
    (weights/parity_feynobg.py, max_abs_diff == 0). The released Apache-2.0
    weights are converted and rehosted at LibreYOLO/LibreFeyNobgl-matte,
    including post-training-quantized fp16/fp8 variants; upstream training
    data is not disclosed, and only the released weights are redistributed.

PaddleOCR / PP-OCRv5 (Apache-2.0)
    Path:    libreyolo/models/ppocr/, libreyolo/postprocess/ppocr.py
    License: libreyolo/models/ppocr/NOTICE
    Source:  https://github.com/PaddlePaddle/PaddleOCR

    The LibrePPOCR text detection + recognition family is a native PyTorch
    port of PP-OCRv5 from PaddleOCR (Apache-2.0, Copyright (c) 2020
    PaddlePaddle Authors): the PP-LCNetV3 and PP-HGNetV2-B4 backbones,
    RSEFPN/LKPAN necks, DB heads, SVTR sequence encoder, CTC head, DB quad
    postprocess, and CTC greedy decode. The published LibrePPOCR checkpoints
    are converted from the official Apache-2.0 PP-OCRv5 training checkpoints
    and embed the PP-OCRv5 recognition dictionary as charset metadata.

SwinIR (Apache-2.0)
    Path:    libreyolo/models/swinir/
    License: libreyolo/models/swinir/NOTICE
    Source:  https://github.com/JingyunLiang/SwinIR
             commit 6545850fbf8df298df73d81f3e8cba638787c8bd

    The LibreSwinIR generator is a modified port of the official SwinIR
    network_swinir.py implementation. Upstream parameter names are preserved
    for strict loading of the Apache-2.0 released checkpoints. LibreYOLO adds
    restore-task integration, preprocessing, postprocessing, validation, and
    checkpoint metadata.

Darknet YOLOv1 / YOLOv2 / YOLOv3 / YOLOv4 (public domain)
    Path:    libreyolo/models/darknet/, libreyolo/models/yolo1|yolo2|yolo3|yolo4/
    License: libreyolo/models/darknet/cfgs/NOTICE  (public domain)
    Source:  https://github.com/pjreddie/darknet  (YOLOv1/v2/v3)
             https://github.com/AlexeyAB/darknet   (YOLOv4)

    The LibreYOLO1/2/3/4 families reproduce the YOLOv1, YOLOv2, YOLOv3, and
    YOLOv4 architectures from the Darknet project, which is public domain (the
    "YOLO LICENSE": "Darknet is public domain. Do whatever you want with
    it."). The model-definition (.cfg) files are bundled under
    libreyolo/models/darknet/cfgs/ and drive both the runtime graph builder
    and the weight converter. Only the .cfg format and the numerical
    behaviour of the Darknet layers are reproduced; no Darknet C source is
    copied. Being public domain, these terms impose no obligations on
    LibreYOLO or its downstream users.

YOLOv7 / MultimediaTechLab/YOLO (MIT License)
    Path:    libreyolo/models/yolo7/
    Source:  https://github.com/MultimediaTechLab/YOLO

    The LibreYOLO7 family is a native port of YOLOv7 from
    MultimediaTechLab/YOLO (MIT, (c) 2024 Kin-Yiu Wong & Hao-Tang Tsui) —
    the authors' own MIT re-release, NOT the GPL-3.0 WongKinYiu/yolov7.
    Module names mirror upstream so the MIT v7.pt weights load unchanged;
    the model-definition v7.yaml is bundled under libreyolo/models/yolo7/.
    MIT is MIT-compatible; these terms add only attribution obligations.

DETR (Apache License 2.0)
    Path:    libreyolo/models/detr/, libreyolo/postprocess/detr.py,
             weights/convert_detr_weights.py
    License: licenses/Apache-2.0.txt
    Source:  https://github.com/facebookresearch/detr
             commit 29901c51d7fe8712168b8d0d64351170bc0f83e0
             Copyright (c) Facebook, Inc. and its affiliates.
    Weights: https://dl.fbaipublicfiles.com/detr/ (Apache-2.0), rehosted at
             LibreYOLO/LibreDETR{r50,r50dc5,r101,r101dc5}

    LibreDETR is a native inference port of the original DETR ResNet-50/101
    and DC5 detector variants. Module names mirror upstream so all four
    official COCO checkpoints load unchanged. The transformer source inherits
    its stated ``torch.nn.Transformer`` lineage from PyTorch (BSD-3-Clause).
    Copyright headers are retained in the ported architecture; family-level
    details live in libreyolo/models/detr/NOTICE.

CenterNet (MIT and BSD-3-Clause)
    Path:    libreyolo/models/centernet/,
             libreyolo/postprocess/centernet.py,
             weights/convert_centernet_weights.py
    License: libreyolo/models/centernet/NOTICE
    Source:  https://github.com/xingyizhou/CenterNet
             commit 4c50fd3a46bdf63dbf2082c5cbb3458d39579e6c
             Copyright (c) 2019 Xingyi Zhou

    LibreCenterNet ports the official fixed-512 ResDCN-18 and DLA-34
    detection graphs, affine preprocessing, and top-100 no-NMS decoder. The
    CenterNet source is MIT; its DLA, DCNv2, CornerNet, and Microsoft pose
    lineages are permissively licensed and reproduced in the family NOTICE.
    LibreYOLO does not bundle or compile the legacy DCNv2 extension. Native
    inference calls torchvision's BSD-3-Clause deform_conv2d operator, while
    export uses LibreYOLO's portable equivalent. Official COCO checkpoints are
    not bundled in the source distribution. Their separate mirrors disclose
    that MIT is implied by the releasing project, not a checkpoint-specific
    publisher statement.

Faster R-CNN / TorchVision (BSD-3-Clause)
    Path:    libreyolo/models/faster_rcnn/,
             libreyolo/postprocess/faster_rcnn.py
    License: libreyolo/models/faster_rcnn/NOTICE
    Source:  https://github.com/pytorch/vision
             commit 336d36e8db990a905498c73933e35231876e28bc

    The native LibreFasterRCNN inference graph is derived from torchvision
    v0.26.0's Faster R-CNN, RPN, RoI box heads, transform, box coder, and FPN
    backbone builders (BSD-3-Clause, Copyright (c) Soumith Chintala 2016).
    Upstream state-dict names are retained for strict local conversion. The
    port adds LibreYOLO metadata, contiguous COCO-80 mapping, validation, and
    fixed-batch ONNX integration; it excludes training-only matching,
    sampling, and losses. Official COCO checkpoints are not bundled in the
    source distribution. Separate weight mirrors disclose that their
    BSD-3-Clause redistribution basis is implied by the releasing project,
    not an explicit checkpoint-specific grant, and repeat torchvision's
    pretrained-model terms caveat.

RetinaNet / TorchVision (BSD-3-Clause)
    Path:    libreyolo/models/retinanet/
    License: libreyolo/models/retinanet/NOTICE
    Source:  https://github.com/pytorch/vision
             commit 336d36e8db990a905498c73933e35231876e28bc

    The native LibreRetinaNet inference graph is derived from torchvision
    v0.26.0's RetinaNet, classification and regression heads, anchor
    generator, box coder, transform, and FPN-backbone builders (BSD-3-Clause,
    Copyright (c) Soumith Chintala 2016). Upstream state-dict names are
    retained for strict conversion. The port adds LibreYOLO factory,
    checkpoint metadata, validation, class mapping, and export/backend
    integration; training-only matching and focal-loss code is excluded.
    Official COCO checkpoints are not bundled in the source distribution.
    Separate weight mirrors disclose that their BSD-3-Clause redistribution
    basis is implied by the releasing project, not an explicit
    checkpoint-specific grant, and repeat torchvision's pretrained-model
    terms caveat.

SSD300 / TorchVision (BSD-3-Clause; VGG weight lineage CC BY 4.0)
    Path:    libreyolo/models/ssd/, libreyolo/postprocess/ssd.py,
             weights/convert_ssd_weights.py
    License: libreyolo/models/ssd/NOTICE
    Source:  https://github.com/pytorch/vision
             commit 336d36e8db990a905498c73933e35231876e28bc

    The native LibreSSD300 inference graph is derived from torchvision
    v0.26.0's SSD300, VGG feature extractor, default-box generator, box coder,
    transform, and postprocessing utilities (BSD-3-Clause, Copyright (c)
    Soumith Chintala 2016). The official COCO checkpoint is mirrored
    separately under BSD-3-Clause on an explicitly disclosed implied basis;
    it has no per-object license file. Its VGG-16 initialization traces to
    Oxford Visual Geometry Group feature weights released under CC BY 4.0.
    The family notice supplies the full BSD text, VGG attribution, license
    link, changes statement, and pretrained-model/data caveats.
Mask R-CNN / TorchVision (BSD-3-Clause)
    Path:    libreyolo/models/mask_rcnn/
    License: libreyolo/models/mask_rcnn/NOTICE
    Source:  https://github.com/pytorch/vision
             commit 336d36e8db990a905498c73933e35231876e28bc

    LibreMaskRCNN adds the pinned torchvision v0.26.0 Mask R-CNN RoIAlign mask
    head and class-specific mask selection to LibreYOLO's native Faster R-CNN
    graph (BSD-3-Clause, Copyright (c) Soumith Chintala 2016). The port keeps
    upstream state-dict names and adds LibreYOLO task dispatch, contiguous
    COCO-80 mapping, validation, mask postprocessing, and ONNX integration.
    Training-only sampling and loss code is excluded. The official COCO
    checkpoint is not bundled. Its separate weight mirror discloses that the
    BSD-3-Clause redistribution basis is implied by the releasing project, not
    an explicit checkpoint-specific grant, and repeats the pretrained-model
    terms caveat.

FCOS / TorchVision (BSD-3-Clause)
    Path:    libreyolo/models/fcos/, libreyolo/postprocess/fcos.py
    License: libreyolo/models/fcos/NOTICE
    Source:  https://github.com/pytorch/vision
             commit 336d36e8db990a905498c73933e35231876e28bc

    The native LibreFCOS inference graph is derived from torchvision v0.26.0's
    FCOS detector, dense heads, anchor generator, transform, box coder, and
    postprocessing (BSD-3-Clause, Copyright (c) Soumith Chintala 2016).
    Upstream state-dict names are retained so the 319 official entries load
    strictly. LibreYOLO adds metadata, validation, contiguous COCO-80 mapping,
    and dynamic-spatial export integration; training assignment and losses are
    excluded. The official checkpoint is not bundled in the source
    distribution. Its separate weight mirror discloses that BSD-3-Clause
    redistribution is implied by the releasing project, not an explicit
    checkpoint-specific grant, and repeats torchvision's pretrained-model
    terms caveat.
AlexNet / TorchVision (BSD-3-Clause)
    Path:    libreyolo/models/alexnet/, libreyolo/postprocess/alexnet.py
    License: libreyolo/models/alexnet/NOTICE
    Source:  https://github.com/pytorch/vision
             commit 336d36e8db990a905498c73933e35231876e28bc

    The native LibreAlexNet graph is derived from torchvision v0.26.0's
    AlexNet implementation (BSD-3-Clause, Copyright (c) Soumith Chintala
    2016). It retains the upstream features/avgpool/classifier state-dict
    layout for strict conversion and bit-exact logits. The official
    ImageNet-1K checkpoint is not bundled in the source distribution. Its
    separate weight mirror discloses that BSD-3-Clause is an implied
    redistribution basis rather than a checkpoint-specific publisher grant,
    and repeats torchvision's pretrained-model terms caveat.

VGG / TorchVision (BSD-3-Clause)
    Path:    libreyolo/models/vgg/
    License: libreyolo/models/vgg/NOTICE
    Source:  https://github.com/pytorch/vision
             commit 10f68dbd78b9aa5cab9328f3b2e99cfb0b608122

    The native LibreVGG graph is derived from torchvision's VGG
    implementation (torchvision/models/vgg.py, BSD-3-Clause, Copyright (c)
    Soumith Chintala 2016). The upstream feature and classifier module layout
    is retained so the official VGG-16, VGG-19, VGG-16-BN, and VGG-19-BN
    state dicts load unchanged. The port adds LibreYOLO factory, checkpoint
    metadata, preprocessing, result payload, and export/backend integration;
    training is excluded. The four official ImageNet-1k V1 checkpoints are
    not bundled in the source distribution. Separate weight mirrors disclose
    that BSD-3-Clause is an implied redistribution basis rather than a
    checkpoint-specific publisher grant, and repeat torchvision's
    pretrained-model terms caveat.

DeepLabv3 / TorchVision (BSD-3-Clause)
    Path:    libreyolo/models/deeplabv3/,
             libreyolo/postprocess/deeplabv3.py,
             weights/convert_deeplabv3_weights.py
    License: libreyolo/models/deeplabv3/NOTICE
    Source:  https://github.com/pytorch/vision
             commit 336d36e8db990a905498c73933e35231876e28bc

    The native LibreDeepLabv3 inference graph is derived from torchvision
    v0.26.0's DeepLabv3 orchestration, ASPP head, and ResNet/MobileNetV3
    backbone builders (BSD-3-Clause, Copyright (c) Soumith Chintala 2016).
    Upstream runtime state-dict names are retained for strict conversion. The
    port adds LibreYOLO metadata, semantic results, validation, and fixed-520
    export/backend integration; it excludes the training-only auxiliary FCN
    classifier and training recipe. Official COCO checkpoints are not bundled
    in the source distribution. Separate weight mirrors disclose that their
    BSD-3-Clause redistribution basis is implied by the releasing project,
    not an explicit checkpoint-specific grant, and repeat torchvision's
    pretrained-model terms caveat.

FCN / TorchVision (BSD-3-Clause)
    Path:    libreyolo/models/fcn/
    License: libreyolo/models/fcn/NOTICE
    Source:  https://github.com/pytorch/vision
             commit 336d36e8db990a905498c73933e35231876e28bc

    The native LibreFCN inference graph is derived from torchvision v0.26.0's
    FCN model, head, dilated-ResNet builder configuration, and feature-layer
    routing (BSD-3-Clause, Copyright (c) Soumith Chintala 2016 and the
    torchvision contributors). Upstream state-dict names are retained for
    strict conversion. The port adds LibreYOLO factory, checkpoint metadata,
    semantic result conversion, validation, and export/backend integration;
    training losses are excluded. Official COCO checkpoints are not bundled
    in the source distribution. Separate weight mirrors disclose that their
    BSD-3-Clause redistribution basis is implied by the releasing project,
    not an explicit checkpoint-specific grant, and repeat torchvision's
    pretrained-model terms caveat.

LW-DETR (Apache License 2.0)
    Path:    libreyolo/models/lwdetr/, libreyolo/postprocess/lwdetr.py,
             weights/convert_lwdetr_weights.py
    License: licenses/Apache-2.0.txt
    Source:  https://github.com/Atten4Vis/LW-DETR
             Copyright (c) 2024 Baidu. All Rights Reserved.
    Weights: https://huggingface.co/xbsu/LW-DETR (apache-2.0), rehosted at
             LibreYOLO/LibreLWDETR{t,s,m,l,x}

    The LibreLWDETR family is a native port of Atten4Vis/LW-DETR: plain-ViT
    encoder with interleaved window/global attention, multi-scale projector,
    and a shallow deformable DETR decoder. Module names mirror upstream so the
    Apache-2.0 COCO checkpoints load unchanged; ported outputs are bit-exact
    against the official implementation for all five released sizes. Upstream's
    own Conditional DETR / DETR / Deformable DETR / ViTDet lineage headers are
    preserved in the ported modules and cited separately in
    THIRD_PARTY_NOTICES.txt. Ported inference only: the Group-DETR training
    recipe is not included. Family-level details live in
    libreyolo/models/lwdetr/NOTICE; see docs/provenance/lwdetr.md.

Deformable DETR (Apache License 2.0)
    Path:    libreyolo/models/deformable_detr/,
             libreyolo/postprocess/deformable_detr.py,
             weights/convert_deformable_detr_weights.py
    License: licenses/Apache-2.0.txt
    Source:  https://github.com/fundamentalvision/Deformable-DETR
             commit 11169a60c33333af00a4849f1808023eba96a931
    Copyright (c) 2020 SenseTime. All Rights Reserved.
    Modified from DETR, Copyright (c) Facebook, Inc. and its affiliates.

    LibreYOLO ports the original ResNet-50 inference architecture and its
    pure-PyTorch multi-scale deformable-attention reference path. The upstream
    custom CUDA extension and all training-only code are excluded. Official
    Apache-2.0 SenseTime COCO weights are converted and rehosted for all five
    released variants. Source-file lineage headers are preserved; see
    docs/provenance/deformable_detr.md.

DINO-DETR (Apache License 2.0)
    Path:    libreyolo/models/dinodetr/,
             libreyolo/postprocess/dinodetr.py,
             weights/convert_dinodetr_weights.py
    License: libreyolo/models/dinodetr/NOTICE
    Source:  https://github.com/IDEA-Research/DINO
             commit d84a491d41898b3befd8294d1cf2614661fc0953
             Copyright (c) 2022 IDEA. All Rights Reserved.

    LibreDINO-DETR ports only the three released inference architectures
    (ResNet-50 4-scale, ResNet-50 5-scale, Swin-L). The pinned DINO
    implementation carries Conditional DETR, DETR, and Deformable DETR
    lineage notices, reproduced in the family NOTICE, and the Swin-L backbone
    is ported through DINO's modified Swin Transformer implementation (MIT,
    Copyright (c) 2021 Microsoft). Training-only denoising, matching,
    criteria, losses, data pipelines, and the compiled CUDA multi-scale
    deformable-attention extension are not included; the ResNet tensor
    container and pure-PyTorch deformable-attention core reuse LibreYOLO's
    existing Deformable DETR port. Official checkpoints are rehosted on an
    explicitly disclosed implied Apache-2.0 basis; see
    docs/provenance/dinodetr.md.

Dome-DETR (Apache License 2.0)
    Path:    libreyolo/models/domedetr/,
             libreyolo/postprocess/domedetr.py,
             weights/convert_domedetr_weights.py,
             weights/parity_domedetr.py
    License: licenses/Apache-2.0.txt
    Source:  https://github.com/RicePasteM/Dome-DETR
             commit 2dde3bc1946a3e9fad9abd0612b59fc39bd6b861
             The upstream LICENSE is the standard Apache-2.0 text but leaves
             the copyright line as the "[yyyy] [name of copyright owner]"
             placeholder, so there is no named holder to record. Source
             headers carry "Copyright (c) 2025 The Dome-DETR Authors".

    The DeFE density head, the MWAS window processor, and the PAQI query
    initialiser are ported from src/zoo/dome/. The MWAS static-shape path
    follows the same repository's onnx-export branch. Everything the port
    shares with D-FINE (HGNetv2, the CSP encoder blocks, the FDR decoder
    stack, MS-deformable attention) is imported from libreyolo/models/dfine/
    rather than re-vendored, so the D-FINE entry above continues to cover it.

    The six official AI-TOD-V2 and VisDrone model checkpoints are distributed
    separately on the LibreYOLO Hugging Face organization under an
    ACADEMIC-RESEARCH-ONLY restriction. They are not covered by LibreYOLO's
    MIT license. The upstream weight repository has no license metadata or
    LICENSE file; its README both calls the project Apache-2.0 and says the
    weights are "for academic research purposes only". LibreYOLO's maintainer
    approved mirroring on the explicitly disclosed interpretation that the
    Apache statement permits redistribution while the stricter academic-use
    statement remains controlling. Each weight repository uses the Hugging
    Face `license: other` tag and ships the complete context in its LICENSE
    and NOTICE. See weights/LICENSE_NOTICE.txt.

TinyFormer (Apache License 2.0)
    Path:    libreyolo/models/tinyformer/,
             weights/convert_tinyformer_weights.py,
             weights/parity_tinyformer.py
    License: licenses/Apache-2.0.txt
    Source:  https://github.com/mmpmmpmmpjosh/TinyFormer
             commit 9075d9fdf5ce989ca3c7e830a780dfc7fbbe4ec1
             Copyright (C) 2026 AICVlab, National Yang Ming Chiao Tung
             University (NYCU). The upstream LICENSE also carries the
             DEIM/DEIMv2 lineage copyright (Intellindust Information
             Technology (Shenzhen) Co., Ltd.).

    The Spatial Semantic Adapter backbone (DINOv3SSAs_4Scale) and the
    Parallel Bi-fusion 4-scale hybrid encoder (HybridEncoder_4Scale,
    RepNCSPMSP5) are ported from engine/. Everything the port shares with
    DEIMv2 (the DEIM transformer decoder, the DINOv3 and distilled ViT-Tiny
    towers, the CSP encoder blocks) is imported from
    libreyolo/models/deimv2/ rather than re-vendored, so the DINOv3 entry
    above continues to cover the DINOv3 subtree; a dinov3_vitb16
    configuration entry was added to that subtree for the xl size.

    Model weights are redistributed at https://huggingface.co/LibreYOLO
    under Apache-2.0 plus the DINOv3 License (the checkpoints bundle
    DINOv3-derived backbone parameters).

D-FINE-seg (Apache License 2.0)
    Path:    libreyolo/models/dfine/, libreyolo/postprocess/dfine.py
    Source:  https://github.com/ArgoHA/D-FINE-seg

    LibreDFINE segment support adapts D-FINE-seg's mask decoder/head,
    mask matching, mask loss, and mask postprocess references. The
    D-FINE-seg repository is Apache-2.0; its maintainer approved reuse
    with attribution in ArgoHA/D-FINE-seg#70.

EdgeTAM runtime preprocessing and Transformers checkpoint converter (Apache License 2.0)
    Path:    libreyolo/models/sam/edgetam.py,
             weights/convert_edgetam_weights.py
    License: licenses/Apache-2.0.txt
    Source:  https://github.com/facebookresearch/EdgeTAM
             commit 7711e012a30a2402c4eaab637bdb00a521302c91
    Converter: https://github.com/huggingface/transformers
             commit bd37c453544e83eb875ed3608980a1660376007a
    Payload reference: https://huggingface.co/yonigozlan/EdgeTAM-hf
             revision c266ce53b3fc00f0f495b583f6a116c4e57f53bb

    The EdgeTAM checkpoint key mapping is adapted from Hugging Face
    Transformers' Apache-2.0 converter. LibreYOLO replaces its direct pickle
    load with the repository's safe untrusted-checkpoint loader, pins and
    verifies both source and reference artifact digests, and builds a
    provenance-complete mirror payload. The runtime adapter uses Transformers
    for the model architecture and reproduces the pinned EdgeTAM square image
    transform and prompt-coordinate scaling from sam2/utils/transforms.py.
    The mirror's hash-pinned configuration and processor files are copied from
    the Apache-2.0-declared payload reference; learned tensors are independently
    converted from the official checkpoint and checked exactly.

DDColor (Apache License 2.0, with permissive component notices)
    Path:    libreyolo/models/ddcolor/,
             libreyolo/postprocess/ddcolor.py,
             weights/convert_ddcolor_weights.py,
             weights/parity_ddcolor.py
    License: libreyolo/models/ddcolor/NOTICE
    Source:  https://github.com/piddnad/DDColor
             commit 2adb63f2656ac41cbdf7b894cddd94121a3faf13

    LibreYOLO ports the inference-only ConvNeXt encoder, wide UNet decoder,
    multi-scale color transformer, and OpenCV Lab colorization pipeline. The
    family NOTICE records the Apache-2.0 DDColor and BasicSR/fastai lineage,
    MIT ConvNeXt/Mask2Former/BigColor lineage, the ColorFormer three-clause
    notice, exact source paths, and the separate checkpoint/data terms.

HVI-CIDNet (MIT License)
    Path:    libreyolo/models/hvi_cidnet/,
             libreyolo/postprocess/hvi_cidnet.py,
             weights/convert_hvi_cidnet_weights.py,
             weights/parity_hvi_cidnet.py
    License: libreyolo/models/hvi_cidnet/NOTICE
    Source:  https://github.com/Fediory/HVI-CIDNet
             commit eb43d7d91e9a336c66856824ff9e4603ae41f408
             Copyright (c) 2024 Fediory Feng

    LibreYOLO ports the inference graph and HVI transform only. Training,
    losses, metrics, and dataset code are excluded. The family NOTICE records
    the MIT Restormer and ConvNeXt lineage and the separate checkpoint/data
    terms.

LaMa / OpenCV Zoo artifact adapter (Apache License 2.0 artifact)
    Path:    libreyolo/models/lama/,
             libreyolo/postprocess/lama.py,
             weights/convert_lama_weights.py,
             weights/parity_lama.py
    License: libreyolo/models/lama/NOTICE
    Source:  https://github.com/opencv/opencv_zoo
             commit 966be4cb6eefc2a4f586ed0581bf4bbaa2533070
             Copyright [2021] Samsung Research

    LibreYOLO's adapter is original MIT code and consumes the pinned
    Apache-2.0 ONNX graph opaquely; it does not copy or reimplement LaMa's
    native architecture. The family NOTICE records the OpenCV Zoo, Carve
    conversion, original LaMa, ONNX Runtime, checkpoint, and training-data
    provenance.

ViTMatte / ViTDet inference graph (Apache License 2.0 and MIT)
    Path:    libreyolo/models/vitmatte/,
             libreyolo/postprocess/vitmatte.py,
             weights/convert_vitmatte_weights.py,
             weights/parity_vitmatte.py
    License: libreyolo/models/vitmatte/NOTICE
    Source:  https://github.com/huggingface/transformers
             commit 7d6354e04794f3246bf9a0faf4fead080edeebb6
             Copyright 2023 HUST-VL and The HuggingFace Inc. team
             Copyright 2023 The HuggingFace Inc. team
             Copyright 2023 Meta AI and The HuggingFace Inc. team
    Lineage: https://github.com/hustvl/ViTMatte
             commit f48208ceb0d172ab0c1c528bba33cc1159596407
             Copyright (c) 2023 Hust Vision Lab

    LibreYOLO ports only the Apache-2.0 Transformers inference graph and image
    processor contract. It does not copy HUST's training stack. The released
    Composition-1k checkpoint is separately restricted to non-commercial use
    and distribution by Adobe's dataset agreement; see the family NOTICE and
    weights/LICENSE_NOTICE.txt.

Speridlabs Idol (Apache License 2.0)
    Path:    libreyolo/models/gen/speridlabs_idol/
    License: libreyolo/models/gen/speridlabs_idol/NOTICE
    Source:  https://github.com/speridlabs/idol-sdk
             (commit 4702a7f00850e34b6e83a2170cc123c3e9570744)
             Copyright Speridlabs.

    The Idol denoiser, octree and Gaussian decoders, preprocessing, encoder
    tokenization, flow sampler and camera decoding are ported from the
    Apache-2.0 Idol SDK, which builds on TripoSplat (MIT,
    https://github.com/VAST-AI-Research/TripoSplat) and adapts its denoiser
    from diffusers' transformer_wan.py (Apache-2.0, Copyright 2025 The Wan
    Team and The HuggingFace Team). Background removal reuses LibreYOLO's
    BiRefNet network. The port is parity-gated against the SDK on CUDA,
    bitwise at every stage (weights/parity_speridlabs_idol.py). Weights:
    speridlabs/idol (Apache-2.0) and the FLUX.2 VAE from FLUX.2-klein-4B
    (Apache-2.0) download from their publishers; the DINOv3 encoder (Meta
    DINOv3 License) downloads from LibreYOLO's bf16 mirror
    LibreYOLO/LibreDINOv3vith16plus, which ships the agreement. All at
    pinned revisions.

Speridlabs Iris-Z (Apache License 2.0)
    Path:    libreyolo/models/gen/speridlabs_irisz/
    License: libreyolo/models/gen/speridlabs_irisz/NOTICE
    Source:  https://github.com/speridlabs/iris-z-sdk
             (commit 6c8925f42a2a3581127609d771aa5bfece557467)
             Copyright 2026 SperidLabs.

    The Iris-Z transformer forward pass (FLUX.2 with a modality embedding
    and per-grid noise levels), the text-to-image, image-to-depth,
    depth-to-image and joint image-plus-depth samplers, the schedule, the
    depth encoding and decoding and the prompt embedders are
    ported from the Apache-2.0 Iris-Z SDK, whose model code is from FLUX.2 by
    Black Forest Labs (Apache-2.0, https://github.com/black-forest-labs/flux2).
    The FLUX.2 VAE runs through diffusers. Weights are not redistributed:
    speridlabs/iris-z (FLUX Non-Commercial License), the FLUX.2 VAE from
    FLUX.2-klein-4B (Apache-2.0) and the Mistral Small 3.2 and Qwen3 8B text
    encoders (Apache-2.0) download from their publishers at pinned
    revisions.

LGM (MIT License)
    Path:    libreyolo/models/gen/lgm/
    License: libreyolo/models/gen/lgm/NOTICE
    Source:  https://github.com/3DTopia/LGM
             (commit fe8d12cff8c827df7bb77a3c8e8b37408cb6fe4c)
             Copyright (c) 2024 3D Topia.

    The LGM UNet, the ray embedding, the image-to-3D steps and LGM's diffusers
    version of the ImageDream multi-view UNet and DDIM sampler are adapted
    from the MIT LGM repository (its attention from DINOv2, Apache-2.0; its
    camera and recenter helpers after kiuikit, Apache-2.0). xformers attention
    is replaced by PyTorch SDPA. The renderer (diff-gaussian-rasterization,
    Inria's non-commercial license) is not used: Gaussians go through
    LibreYOLO's own payload. Weights: LibreYOLO's byte-identical mirrors
    LibreYOLO/LibreLGM0.4b of ashawkey/LGM (MIT) and LibreYOLO/LibreImageDream
    of ashawkey/imagedream-ipmv-diffusers (OpenRAIL; shipped with the
    CreativeML OpenRAIL++-M License of its Stable Diffusion 2.1 lineage,
    whose use restrictions apply). Pinned revisions.

TRELLIS (MIT License)
    Path:    libreyolo/models/gen/trellis/
    License: libreyolo/models/gen/trellis/NOTICE
    Source:  https://github.com/microsoft/TRELLIS
             (commit 193e0502b5cb3eb5997ec457d5340e95d09b158e)
             Copyright (c) Microsoft Corporation.

    The TRELLIS networks (sparse-structure flow and decoder, structured-latent
    flow, Gaussian decoder), the sparse tensor, pooling and window partition,
    the flow sampler and the preprocessing are adapted from the MIT TRELLIS
    repository. Its CUDA extensions (spconv sparse convolution, xformers or
    flash-attn attention) are replaced by PyTorch code written for LibreYOLO.
    TRELLIS's Gaussian representation module (trellis/representations/
    gaussian), which derives from Inria's non-commercial Gaussian Splatting
    code, is not used: Gaussians go through LibreYOLO's own payload.
    Weights: LibreYOLO's byte-identical mirror of microsoft/TRELLIS-image-large
    (MIT), LibreYOLO/LibreTRELLISl; DINOv2 from
    facebook/dinov2-with-registers-large (Apache-2.0). Pinned revisions.

TRELLIS.2 (MIT License)
    Path:    libreyolo/models/gen/trellis2/
    License: libreyolo/models/gen/trellis2/NOTICE
    Source:  https://github.com/microsoft/TRELLIS.2
             (commit 75fbf0183001ed9876c8dbb35de6b68552ee08bd)
             Copyright (c) Microsoft Corporation.

    The TRELLIS.2 geometry networks (sparse-structure flow, shape-latent
    flows, flexible-dual-grid decoder), the 3D rotary embedding, the
    channel-to-space upsampling, the flow sampler, the preprocessing and the
    dual-grid meshing (o-voxel, same repository) are adapted from the MIT
    TRELLIS.2 repository. Its CUDA extensions (FlexGEMM sparse convolution,
    flash-attn attention, the o-voxel hash map) are replaced by PyTorch code
    written for LibreYOLO. nvdiffrast, nvdiffrec and BRIA's RMBG-2.0
    (non-commercial) are not used; the texture stage is not ported.
    Weights: LibreYOLO's byte-identical mirror of the microsoft/TRELLIS.2-4B
    geometry networks (MIT), LibreYOLO/LibreTRELLIS2-4b; the DINOv3 ViT-L/16
    encoder (Meta DINOv3 License) from LibreYOLO's byte-identical mirror
    LibreYOLO/LibreDINOv3vitl16, which ships the agreement. Pinned revisions.

TripoSR (MIT License)
    Path:    libreyolo/models/gen/triposr/
    License: libreyolo/models/gen/triposr/NOTICE
    Source:  https://github.com/VAST-AI-Research/TripoSR
             (commit 107cefdc244c39106fa830359024f6a2f1c78871)
             Copyright (c) 2024 Tripo AI & Stability AI.

    The TripoSR networks (DINO image encoder, triplane transformer, upsampler,
    NeRF MLP), the mesh extraction and the preprocessing are adapted from the
    MIT TripoSR repository; its transformer files are HuggingFace diffusers
    code (Apache-2.0) and the image encoder follows HuggingFace transformers'
    ViT (Apache-2.0). Marching cubes runs through scikit-image (BSD-3-Clause)
    instead of upstream's torchmcubes (MPL-2.0), which is not used.
    Weights: LibreYOLO's byte-identical mirror of stabilityai/TripoSR (MIT),
    LibreYOLO/LibreTripoSR; BiRefNet from LibreYOLO/LibreTRELLISl (MIT).
    Pinned revisions.

Direct3D-S2 (MIT License)
    Path:    libreyolo/models/gen/direct3d_s2/
    License: libreyolo/models/gen/direct3d_s2/NOTICE
    Source:  https://github.com/DreamTechAI/Direct3D-S2
             (commit a1cf235b2881cff04a91900060a9546b40e7ee5d)
             Copyright (c) 2025 DreamTechAI.

    The Direct3D-S2 networks (dense and sparse flow transformers with spatial
    sparse attention, SDF decoders, voxel refiners), the sampler, the mesh
    voxelisation and the preprocessing are adapted from the MIT Direct3D-S2
    repository; its attention kernels derive from native-sparse-attention-
    triton (Apache-2.0), whose computation the port re-expresses in PyTorch.
    torchsparse, flash-attn, Triton and the CUDA UDF kernel are not used;
    neither is upstream's optional hole filling (pymeshfix, GPL-3.0; igraph,
    GPL-2.0+). Marching cubes runs through scikit-image (BSD-3-Clause).
    Weights: LibreYOLO's byte-identical mirror of wushuang98/Direct3D-S2
    (MIT, direct3d-s2-v-1-1), LibreYOLO/LibreDirect3DS2v11; BiRefNet from
    LibreYOLO/LibreTRELLISl (MIT); DINOv2 from
    facebook/dinov2-with-registers-large (Apache-2.0). Pinned revisions.

TripoSplat (MIT License)
    Path:    libreyolo/models/gen/triposplat/
    License: libreyolo/models/gen/triposplat/NOTICE
    Source:  https://github.com/VAST-AI-Research/TripoSplat
             (commit d8db9e018b413dd9c4a9fe22463781bf98e8e68d)
             Copyright (c) 2026 VAST.

CRM (MIT License)
    Path:    libreyolo/models/gen/crm/
    License: libreyolo/models/gen/crm/NOTICE
    Source:  https://github.com/thu-ml/CRM
             (commit 4964e36a593070a3045eb0f300935a771ff5c172)
             Copyright (c) 2024 TSAIL group.

    The CRM multi-view diffusion networks (ImageDream lineage, Apache-2.0 and
    MIT), OpenCLIP towers, DDIM sampler, reconstruction model, triplane
    decoder and preprocessing are adapted from the MIT CRM repository.
    FlexiCubes (libreyolo/models/gen/crm/flexicubes.py and
    _flexicubes_tables.py) is adapted from NVIDIA's FlexiCubes,
    https://github.com/nv-tlabs/FlexiCubes (commit
    eac497031e5138aa544065f357d093f9f3e101e9), Apache-2.0, Copyright (c) 2025
    NVIDIA CORPORATION & AFFILIATES; CRM's own FlexiCubes files carry
    NVIDIA's proprietary header and are not used. nvdiffrast (NVIDIA,
    non-commercial), xformers, rembg, kiui and pymeshlab (GPL-3.0) are not
    used. Weights: LibreYOLO's byte-identical mirror of Zhengyi/CRM (MIT,
    diffusion weights carrying SD 2.1's CreativeML OpenRAIL++-M use
    restrictions), LibreYOLO/LibreCRM; BiRefNet from LibreYOLO/LibreTRELLISl
    (MIT). Pinned revisions.

    The TripoSplat denoiser, octree and Gaussian decoders, configuration
    constants, flow sampler and Gaussian activation are ported from the MIT
    TripoSplat repository (TripoAI). Preprocessing, encoder tokenization and
    camera decoding are shared with Speridlabs Idol
    (libreyolo/models/gen/image3d.py); background removal reuses LibreYOLO's
    BiRefNet network. Weights: LibreYOLO's byte-identical mirror of
    VAST-AI/TripoSplat (MIT), LibreYOLO/LibreTripoSplat0.6b; the FLUX.2 VAE
    from FLUX.2-klein-4B (Apache-2.0) downloads from its publisher; the
    DINOv3 encoder (Meta DINOv3 License) downloads from LibreYOLO's bf16
    mirror LibreYOLO/LibreDINOv3vith16plus. All at pinned revisions.

WeVisOne-VL (Apache License 2.0)
    Path:    libreyolo/models/wevisone/
    License: libreyolo/models/wevisone/NOTICE
    Source:  https://github.com/Tencent/WeVisOne-VL
             (commit 9a6bcd85404505df0d05cfb5d97512ccacf35dee)
             Copyright (C) 2026 Tencent.

    The pixel (alpha-matte) decoder, feature bridge, prompts and response
    parsing are ported from the Apache-2.0 WeVisOne-VL repository for
    inference only; the decoder's deformable attention reuses LibreYOLO's
    Apache-2.0 Deformable-DETR port. The Qwen3-VL backbone runs from
    Transformers (Apache-2.0); no Qwen code is copied. Weights
    tencent/WeVisOne-VL-2B and -4B (Apache-2.0, fine-tuned from
    Qwen3-VL-2B/4B-Instruct, Apache-2.0) download from Tencent at pinned
    revisions.

DeepSeek-OCR (MIT License; Apache-2.0 sub-components)
    Path:    libreyolo/models/deepseekocr/
    License: libreyolo/models/deepseekocr/NOTICE
    Source:  https://huggingface.co/deepseek-ai/DeepSeek-OCR
             (commit 9f30c71f441d010e5429c532364a86705536c53a)
             Copyright (c) 2023 DeepSeek.

    The DeepEncoder (SAM ViT-B plus CLIP-L/14), the DeepSeek-V2 style MoE
    decoder and the input/grounding handling are ported from the MIT
    release for inference only. The decoder file carries an Apache-2.0
    header (DeepSeek-AI and the HuggingFace team), and its attention path
    is the transformers 4.46.3 Llama attention (Apache-2.0); the SAM encoder
    is adapted upstream from detectron2 ViTDet (Apache-2.0). Weights (MIT)
    download from the byte-identical LibreYOLO/LibreDeepSeekOCR1 mirror at
    a pinned revision. DeepSeek-OCR-2 (size 2, Apache-2.0, commit
    aaa02f3811945a91062062994c5c4a3f4c0af2b0) adds a Qwen2-based vision
    encoder ported from its deepencoderv2.py and the transformers 4.46.3
    Qwen2 modules (Apache-2.0); its weights (Apache-2.0) download from the
    LibreYOLO/LibreDeepSeekOCR2 mirror.

PaddleOCR-VL document-parsing pipeline (Apache License 2.0)
    Path:    libreyolo/models/paddleocrvl/
    License: libreyolo/models/paddleocrvl/NOTICE
    Source:  https://github.com/PaddlePaddle/PaddleX
             (commit 4c968d30b9d0d4a693d9eaaef0881c20f8d7d0e0)
             Copyright (c) 2024 PaddlePaddle Authors.

    The layout post-processing, region overlap filter, prompt routing,
    content clean-up (OTSL to HTML, repetition truncation) and markdown
    assembly are ported from PaddleX. Both networks run from Transformers
    (Apache-2.0); no model code is copied. Weights: LibreYOLO's unmodified
    mirror LibreYOLO/LibrePaddleOCRVL0.9b of PaddlePaddle/PaddleOCR-VL and
    PaddlePaddle/PP-DocLayoutV2_safetensors (Apache-2.0), pinned.

GLM-OCR document-parsing pipeline (Apache License 2.0)
    Path:    libreyolo/models/glmocr/
    License: libreyolo/models/glmocr/NOTICE
    Source:  https://github.com/zai-org/GLM-OCR
             (commit 0288f96bb9e78cb439883eaa725eeae90bd177c5)
             Copyright (c) Z.ai (zai-org).

    The layout post-processing, label routing, region crops and resize, and
    the result formatter (content clean-up, block merges, markdown) are
    ported from the GLM-OCR SDK. Both networks run from Transformers
    (Apache-2.0); no model code is copied. Weights: LibreYOLO's unmodified
    mirror LibreYOLO/LibreGLMOCR0.9b of zai-org/GLM-OCR (MIT, per its model
    card) and PaddlePaddle/PP-DocLayoutV3_safetensors (Apache-2.0), pinned.

Falcon OCR (Apache License 2.0)
    Path:    libreyolo/models/falconocr/
    License: libreyolo/models/falconocr/NOTICE
    Source:  https://huggingface.co/tiiuae/Falcon-OCR
             (commit 0bc28f89c90fbe8bdb063097fab144d4ce4c19b5) and
             https://github.com/tiiuae/Falcon-Perception
             (commit c457916c9974efbacfa91f0f6ecc2c49c6543e56)
             Copyright 2026 Technology Innovation Institute (TII), UAE.

    The early-fusion transformer, its rotary embeddings and attention-mask
    rules, the input pipeline and the layout crop rules are ported from the
    Apache-2.0 release for inference only (no Triton or FlexAttention).
    Weights (Apache-2.0) download from the byte-identical
    LibreYOLO/LibreFalconOCR270m mirror at a pinned revision.

Falcon Perception (Apache License 2.0)
    Path:    libreyolo/models/falcon_perception/
    License: libreyolo/models/falcon_perception/NOTICE
    Source:  https://github.com/tiiuae/Falcon-Perception
             (commit c457916c9974efbacfa91f0f6ecc2c49c6543e56)
             Copyright 2026 Technology Innovation Institute (TII), UAE.

    The network, AnyUp feature upsampler, preprocessing and greedy
    generation loop are ported from the Apache-2.0 Falcon Perception
    repository for inference only (no triton, FlexAttention or paged
    engine). Weights tiiuae/Falcon-Perception and
    tiiuae/Falcon-Perception-300M (Apache-2.0) download from TII at pinned
    revisions. Per the upstream NOTICE, public-facing work using Falcon
    Perception should retain its NOTICE and cite the project. The AnyUp
    upsampler inside it descends from https://github.com/wimmerth/anyup
    (CC-BY-4.0, Wimmer et al.), and smart_resize follows the Qwen2-VL image
    processor (Apache-2.0); see the family NOTICE.

RiO-DETRv2 (Apache License 2.0)
    Path:    libreyolo/models/riodetrv2/
    License: libreyolo/models/riodetrv2/LICENSE
    Source:  https://github.com/RicePasteM/RiO-DETRv2
    Commit:  ab8b22df5d800a927774c8c67e77fd29c0fe6967 (Apache-2.0 release)
    Copy:    https://github.com/LibreYOLO/RiO-DETRv2 tag apache-2.0-ab8b22d

    Inference-only adaptation of the RiO-DETRv2 oriented-box decoder.
    Upstream relicensed to AGPL-3.0 in a later commit with no code
    changes; this port relies on the Apache-2.0 grant of the initial
    release and uses nothing from later commits. See the family NOTICE.

InstantHMR (Apache License 2.0)
    Path:    libreyolo/models/instanthmr/
    License: libreyolo/models/instanthmr/LICENSE
    Source:  https://github.com/Naturalpad-studio/InstantHMR
    Commit:  5437400d4b25c1972821e51916fac34bd96acce6

    Native port of the InstantHMR mesh network and its exportable MHR
    body. decode.py is a clean-room implementation. See the family NOTICE.

------------------------------------------------------------------------
Pretrained model weights
------------------------------------------------------------------------

No pretrained weights are distributed in this source tree. LibreYOLO
weights are published separately on Hugging Face under the LibreYOLO
organization (https://huggingface.co/LibreYOLO). Each Hugging Face
model repository ships its own LICENSE and NOTICE reflecting the
license of the upstream project the weights were derived from. See
weights/LICENSE_NOTICE.txt for a per-family summary.

Marigold V2 (Apache License 2.0)
    Path: libreyolo/models/marigold_v2/
    License: libreyolo/models/marigold_v2/LICENSE
    Source: https://github.com/huawei-bayerlab/marigold-v2
    Revision: cc6a7031abcd59fd9e1ceff7fdd0d9687d389bc5
    Adapted inference graph and preprocessing; see the family NOTICE.
