-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathTHIRD_PARTY_NOTICES.txt
More file actions
1627 lines (1468 loc) · 85.6 KB
/
Copy pathTHIRD_PARTY_NOTICES.txt
File metadata and controls
1627 lines (1468 loc) · 85.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
This repository includes code derived from, or inspired by, the
following open-source projects. Each upstream is listed with its
license and the LibreYOLO module(s) that port from it.
--------------------------------------------------------------------
COCO API / pycocotools
--------------------------------------------------------------------
Source: https://github.com/ppwwyyxx/cocoapi
Commit: ac87f5077ad6b8864c2dc5e93d14cae62d1db05a
Version: pycocotools 2.0.11
License: FreeBSD (BSD-2-Clause)
Copyright (c) 2014, Piotr Dollar and Tsung-Yi Lin
Used for: the configurable maxDets metric extraction in
libreyolo/validation/coco_evaluator.py, adapted from COCOeval's
accumulated precision/recall tensor layout and summary logic.
Copyright (c) 2014, Piotr Dollar and Tsung-Yi Lin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The views and conclusions contained in the software and documentation are those
of the authors and should not be interpreted as representing official policies,
either expressed or implied, of the FreeBSD Project.
--------------------------------------------------------------------
SAHI
--------------------------------------------------------------------
Source: https://github.com/obss/sahi
License: MIT
Copyright (c) 2020 obss
Used for: slicing-aided hyper inference utilities.
MIT License
Copyright (c) 2020 obss
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------
CLIP / OpenCLIP (OpenAI; LAION / ML Foundations)
--------------------------------------------------------------------
Source: https://github.com/openai/CLIP, https://github.com/mlfoundations/open_clip
License: MIT
Copyright (c) 2021 OpenAI; (c) 2012-2021 OpenCLIP authors
Used for: the LibreCLIP family (libreyolo/models/clip/). The byte-pair-encoding
text tokenizer (libreyolo/models/clip/tokenizer.py) and the bundled BPE merge
table (libreyolo/models/clip/bpe_simple_vocab_16e6.txt.gz) are vendored from the
CLIP / open_clip tokenizer. The image/text towers are a clean-room native torch
re-implementation of the standard CLIP architecture (no open_clip at runtime).
The shipped LibreCLIP weights are converted from OpenCLIP LAION-2B checkpoints,
which are MIT-redistributable. NOTE: the LAION-2B training data has a documented
CSAM-content history (Stanford, 2023); use Re-LAION-derived weights. See
libreyolo/models/clip/NOTICE.md for the full data-provenance note.
MIT License
Copyright (c) 2021 OpenAI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------
SigLIP / SigLIP 2 (Google; Hugging Face Transformers)
--------------------------------------------------------------------
Source: https://github.com/google-research/big_vision,
https://github.com/huggingface/transformers (models/siglip, models/siglip2)
License: Apache License 2.0
Copyright (c) Google LLC; (c) The HuggingFace Inc. team.
Used for: the LibreSigLIP2 family (libreyolo/models/siglip2/). The image/text
towers (libreyolo/models/siglip2/nn.py) are a clean-room native torch
re-implementation of the SigLIP architecture, structured to match the
transformers reference implementation (no transformers at runtime). The
multilingual SentencePiece tokenizer model
(libreyolo/models/siglip2/siglip2_tokenizer.model, Gemma vocabulary) is shipped
verbatim from the Apache-2.0 google/siglip2-* Hugging Face release.
The shipped LibreSigLIP2 weights are converted from the Apache-2.0
google/siglip2-base-patch16-256 and google/siglip2-so400m-patch14-384
checkpoints (state-dict metadata wrap only; learned parameters unchanged). See
libreyolo/models/siglip2/NOTICE.md.
--------------------------------------------------------------------
YOLOX (Megvii-BaseDetection)
--------------------------------------------------------------------
Source: https://github.com/Megvii-BaseDetection/YOLOX
License: Apache License 2.0
Copyright (c) 2021-2022 Megvii Inc. All rights reserved.
Used for: YOLOX model family (libreyolo/models/yolox/), EMA helper
(libreyolo/training/ema.py), augmentation pipeline
(libreyolo/training/augment.py), and the SimOTA training loss
adapted for the YOLOv7 family (libreyolo/models/yolo7/loss.py:
imports bboxes_iou/IoULoss from the yolox modules and adapts the
get_assignments/get_geometry_constraint/simota_matching/get_losses
assignment logic to the v7 anchor head).
--------------------------------------------------------------------
YOLO (MultimediaTechLab/YOLO)
--------------------------------------------------------------------
Source: https://github.com/MultimediaTechLab/YOLO
License: MIT
Copyright (c) 2024 Kin-Yiu Wong and Hao-Tang Tsui
Used for: YOLO9 model family (libreyolo/models/yolo9/ and
libreyolo/models/yolo9_e2e/): the architecture blocks and
detection head in nn.py and the loss port in loss.py.
Also the YOLOv7 family (libreyolo/models/yolo7/): the architecture
(net.py, blocks.py) and the Anc2Box anchor decode reproduced in
postprocess/yolo7.py and mirrored by the training loss (loss.py:
_decode). Upstream ships no v7 training loss, so training assignment
is adapted from YOLOX (see the YOLOX entry above), not from here.
--------------------------------------------------------------------
RepVGG (DingXiaoH)
--------------------------------------------------------------------
Source: https://github.com/DingXiaoH/RepVGG
License: MIT
Copyright (c) 2020 DingXiaoH
Used for: RepConv fuse / re-parameterization logic
(libreyolo/models/yolo9/nn.py RepConvN.fuse_convs).
--------------------------------------------------------------------
mmdetection (OpenMMLab)
--------------------------------------------------------------------
Source: https://github.com/open-mmlab/mmdetection
Commit: cfd5d3a985b0249de009b67d04f37263e11cdf3d
License: Apache License 2.0
Copyright (c) OpenMMLab. All rights reserved.
Used for: RTMDet model family (libreyolo/models/rtmdet/): architecture
port in nn.py, including the RTMDet-Ins head and mask decoder;
QualityFocalLoss, GIoULoss,
DynamicSoftLabelAssigner and MlvlPointGenerator in loss.py.
Published RTMDet and RTMDet-Ins COCO weights were trained with
mmdetection.
--------------------------------------------------------------------
mmsegmentation (OpenMMLab)
--------------------------------------------------------------------
Source: https://github.com/open-mmlab/mmsegmentation
(mmseg/datasets/transforms/transforms.py)
License: Apache License 2.0
Copyright (c) OpenMMLab. All rights reserved.
Used for: the dense random-crop sampling used by semantic training
(libreyolo/data/semantic_dataset.py: the optional
``resize_crop`` mode and its ``crop_cat_max_ratio`` retry
loop). The recipe -- resize the short side, pad, then re-sample
a crop up to 10 times until no single class exceeds
``cat_max_ratio`` of its non-ignored pixels -- is derived from
mmsegmentation's ``RandomCrop`` (``cat_max_ratio``), as are the
SegFormer ADE20K training hyper-parameters (decode-head LR
multiplier, no weight decay on norms and the Mix-FFN positional
conv, scale jitter 0.5-2.0). NOT derived from NVIDIA's
NVlabs/SegFormer fork of mmseg 0.x, which is non-commercial.
--------------------------------------------------------------------
PicoDet (PaddleDetection / Picodet_Pytorch)
--------------------------------------------------------------------
Source: https://github.com/Bo396543018/Picodet_Pytorch (direct source,
a PyTorch port built on mmdetection), from
https://github.com/PaddlePaddle/PaddleDetection (original)
License: Apache License 2.0 (all of Picodet_Pytorch, PaddleDetection,
and mmdetection)
Copyright (c) PaddlePaddle Authors; OpenMMLab.
Used for: PICODET model family (libreyolo/models/picodet/).
--------------------------------------------------------------------
PIDNet (XuJiacong)
--------------------------------------------------------------------
Source: https://github.com/XuJiacong/PIDNet
License: MIT
Copyright (c) 2022 Jiacong Xu
Used for: PIDNet semantic segmentation family
(libreyolo/models/pidnet/). Converted Cityscapes weights are
MIT-licensed PIDNet weights; the Cityscapes dataset itself is not
redistributed by LibreYOLO.
--------------------------------------------------------------------
SuperGradients / YOLO-NAS
--------------------------------------------------------------------
Source: https://github.com/Deci-AI/super-gradients
License: Apache License 2.0
Copyright (c) 2021-2024 Deci AI
Used for: YOLO-NAS model family and pose training references
(libreyolo/models/yolonas/). YOLO-NAS source code is
Apache-2.0; published pretrained YOLO-NAS weights may have
separate non-commercial terms and are not bundled here.
--------------------------------------------------------------------
EdgeCrafter
--------------------------------------------------------------------
Source: https://github.com/EC-codehub/EdgeCrafter
License: Apache License 2.0
Used for: EC model family detection, segmentation, and pose architecture
references (libreyolo/models/ec/).
--------------------------------------------------------------------
D-FINE-seg (ArgoHA)
--------------------------------------------------------------------
Source: https://github.com/ArgoHA/D-FINE-seg
License: Apache License 2.0
Copyright (c) 2026 The D-FINE-seg Authors. All Rights Reserved.
Used for: D-FINE instance-segmentation mask decoder/head, mask matching,
mask loss, and postprocess references
(libreyolo/models/dfine/, libreyolo/postprocess/dfine.py).
The repository maintainer approved reuse with attribution in
ArgoHA/D-FINE-seg#70.
--------------------------------------------------------------------
Dome-DETR (RicePasteM)
-------------------------------------------------------------------
Source: https://github.com/RicePasteM/Dome-DETR
Commit: 2dde3bc1946a3e9fad9abd0612b59fc39bd6b861
License: Apache License 2.0
Copyright (c) 2025 The Dome-DETR Authors. All Rights Reserved.
Used for: the Dome-DETR tiny-object detection family
(libreyolo/models/domedetr/, libreyolo/postprocess/domedetr.py,
weights/convert_domedetr_weights.py, weights/parity_domedetr.py).
Specifically the DeFE density head, the MWAS window processor,
and PAQI query initialisation with its density-adaptive NMS; the
static-shape MWAS formulation follows the same repository's
onnx-export branch. Upstream is itself modified from D-FINE
(Apache-2.0), and the parts Dome-DETR shares with it are imported
from libreyolo/models/dfine/ rather than re-vendored.
The upstream LICENSE leaves the copyright line as the
"[yyyy] [name of copyright owner]" placeholder; the attribution
above comes from the upstream source headers.
-------------------------------------------------------------------
RT-DETR (lyuwenyu)
--------------------------------------------------------------------
Source: https://github.com/lyuwenyu/RT-DETR
License: Apache License 2.0
Copyright (c) 2023 lyuwenyu
Used for: RT-DETR model family (libreyolo/models/rtdetr/) including
backbone, neck, decoder, loss, and denoising modules. The
HGNetv2 backbone (libreyolo/models/rtdetr/hgnetv2.py) is
ported from rtdetrv2_pytorch/src/nn/backbone/hgnetv2.py.
--------------------------------------------------------------------
RT-DETRv2 OBB (RicePasteM / RiO-DETR)
--------------------------------------------------------------------
Source: https://github.com/RicePasteM/RiO-DETR
Pinned commit: 22d5232a4e0df6ac4bc26ed1c8aac8b4060449c7
License: Apache License 2.0
Used for: the inference-only RT-DETRv2 OBB encoder and decoder in
libreyolo/models/rtdetrv2/obb_encoder.py and obb_decoder.py.
The port adapts engine/rtv4/hybrid_encoder.py and
engine/rtv4/rtdetrv2_obb_decoder.py. The official DOTA 1.0
checkpoints were validated from RicePasteM/RT-DETR-OBB at
revision f376e9dcedfb9a47a21ac71ef61ad99f8b545698. Converted
mirrors are published as LibreYOLO/LibreRTDETRv2{n,s,m,l,x}-obb;
every repository carries the upstream Apache License 2.0 and
attribution notice. Users may also convert a locally supplied
official checkpoint with weights/convert_rtdetrv2_weights.py.
--------------------------------------------------------------------
RF-DETR (Roboflow)
--------------------------------------------------------------------
Source: https://github.com/roboflow/rf-detr
License: Apache License 2.0
Copyright (c) 2024-2025 Roboflow, Inc.
Used for: RF-DETR model family (libreyolo/models/rfdetr/), LoRA
adapter recipe helpers (libreyolo/training/lora.py), and
COCO evaluation glue (libreyolo/data/yolo_coco_api.py).
Also the GroupPose-style keypoint/pose head, dual-projector,
keypoint decoder token stream, probabilistic (Cholesky)
keypoint regression, and keypoint postprocess ported from
RF-DETR v1.8.0 into libreyolo/models/rfdetr/. The published
RF-DETR keypoint preview weights (Apache-2.0, COCO person
pretrained) are redistributed with attribution.
--------------------------------------------------------------------
DINOv2 (Meta AI / facebookresearch)
--------------------------------------------------------------------
Source: https://github.com/facebookresearch/dinov2
License: Apache License 2.0
Copyright (c) Meta Platforms, Inc. and affiliates.
Used for: vision transformer backbone consumed by RF-DETR. The local
DINOv2 implementation lives at libreyolo/models/rfdetr/dinov2.py.
--------------------------------------------------------------------
HuggingFace Transformers
--------------------------------------------------------------------
Source: https://github.com/huggingface/transformers
License: Apache License 2.0
Copyright 2022-2024 The HuggingFace Team. All Rights Reserved.
Used for: DINOv2-with-Registers reference implementation that
libreyolo/models/rfdetr/dinov2.py adapts to add windowed
self-attention. Also a runtime dependency loaded via
AutoBackbone for the non-windowed DinoV2 path. The Deformable
DETR checkpoint key mapping in
libreyolo/models/deformable_detr/conversion.py is adapted from
Transformers commit
4a224b1e2182d1f8f27d1d76fb8de6ab40b7ff62.
--------------------------------------------------------------------
EoMT (Mobile Perception Systems Lab at TU/e)
--------------------------------------------------------------------
Source: https://github.com/tue-mps/eomt
License: MIT
Copyright (c) 2025 Mobile Perception Systems Lab at TU/e
Citation: Kerssies, T., Cavagnero, N., Hermans, A., Norouzi, N.,
Averta, G., Leibe, B., Dubbelman, G., and de Geus, D.
"Your ViT is Secretly an Image Segmentation Model." CVPR 2025.
Used for: LibreEoMT semantic, instance, and panoptic segmentation family
(libreyolo/models/eomt/). Runtime execution uses the Apache-2.0
Hugging Face Transformers EoMT implementation with converted
MIT-licensed DINOv2 EoMT weights:
- ADE20K 150-class semantic (l, 512px)
- COCO 80-class instance segmentation (l, 640px and 1280px)
- COCO 133-class panoptic, task="panoptic" (s/b/l, 640px)
NOTE - code vs. weights: LibreYOLO ships only DINOv2-based EoMT checkpoints.
DINOv3 EoMT variants are excluded because they depend on gated
non-commercial DINOv3 weights.
--------------------------------------------------------------------
SegFormer / HuggingFace Transformers
--------------------------------------------------------------------
Source: https://github.com/huggingface/transformers
(models/segformer/{configuration_segformer.py, modeling_segformer.py})
License: Apache License 2.0
Copyright 2021 NVIDIA and The HuggingFace Inc. team. All rights reserved.
Citation: Xie, E., Wang, W., Yu, Z., Anandkumar, A., Alvarez, J. M., and
Luo, P. "SegFormer: Simple and Efficient Design for Semantic
Segmentation with Transformers." NeurIPS 2021.
Used for: LibreSegformer semantic segmentation family
(libreyolo/models/segformer/). The MiT encoder (overlap patch
embeddings, efficient self-attention with spatial reduction,
Mix-FFN) and the all-MLP decode head are a native
reimplementation behaviorally derived from HuggingFace
Transformers' Apache-2.0 modeling_segformer.py, NOT from
NVIDIA's original NVlabs/SegFormer repository (NVIDIA Source
Code License, non-commercial/research-only — never read or
derived from). LibreSegformer has no runtime dependency on
the transformers package.
NOTE - code vs. weights: the CODE above is Apache-2.0, but the pretrained
WEIGHTS are NOT. LibreSegformer{b0..b5}-sem are converted from NVIDIA's
ADE20K SegFormer checkpoints (nvidia/segformer-b0..b5-finetuned-ade-*),
released under the NVIDIA Source Code License:
https://github.com/NVlabs/SegFormer/blob/master/LICENSE
That license permits redistribution provided a complete copy of the
license accompanies the weights and attribution notices are retained,
but it limits USE to non-commercial "research or evaluation purposes
only", and Section 3.2 carries the limit into every derivative work.
These weights are therefore NON-COMMERCIAL ONLY and are not covered by
LibreYOLO's permissive license; the restriction binds end users, not
just LibreYOLO. A notice is printed before every auto-download.
Conversion is a key remapping only (weights/convert_segformer_weights.py);
learned parameters are NVIDIA's, unchanged. Models the user trains from
scratch carry no such restriction.
--------------------------------------------------------------------
Grounding DINO (IDEA-Research)
--------------------------------------------------------------------
Source: https://github.com/IDEA-Research/GroundingDINO
License: Apache License 2.0
Copyright (c) 2023 IDEA-Research
Citation: Liu, S., Zeng, Z., Ren, T., Li, F., Zhang, H., Yang, J.,
Li, C., Yang, J., Su, H., Zhu, J., and Zhang, L. "Grounding
DINO: Marrying DINO with Grounded Pre-Training for Open-Set
Object Detection." ECCV 2024.
Used for: LibreGroundingDINO open-vocabulary detector. The shipped path
(libreyolo/models/openvocab/grounding_dino.py) runs through the
Apache-2.0 Hugging Face Transformers GroundingDinoForObjectDetection
implementation. A native clean-room port derived from the same
Apache-2.0 transformers reference also lives at
libreyolo/models/grounding_dino/. Weights are rehosted at
LibreYOLO/LibreGroundingDINOt and LibreYOLO/LibreGroundingDINOb.
--------------------------------------------------------------------
OWLv2 / OWL-ViT (Google Research)
--------------------------------------------------------------------
Source: https://github.com/google-research/scenic (OWL-ViT / OWLv2)
License: Apache License 2.0
Copyright (c) 2023 Google LLC
Citation: Minderer, M., Gritsenko, A., and Houlsby, N. "Scaling
Open-Vocabulary Object Detection." NeurIPS 2023.
Used for: LibreOWLv2 open-vocabulary detector. The shipped path
(libreyolo/models/openvocab/owlv2.py) runs through the Apache-2.0
Hugging Face Transformers Owlv2ForObjectDetection implementation.
A native clean-room port derived from the same Apache-2.0
transformers reference also lives at libreyolo/models/owlv2/.
Weights are rehosted at LibreYOLO/LibreOWLv2b16 and
LibreYOLO/LibreOWLv2l14.
--------------------------------------------------------------------
OMDet-Turbo (Om Research Lab / Hugging Face Transformers)
--------------------------------------------------------------------
Architecture: https://github.com/om-ai-lab/OmDet
Reference implementation: https://github.com/huggingface/transformers
Path: src/transformers/models/omdet_turbo/
License: Apache License 2.0
Copyright 2024 Om Research Lab and The HuggingFace Inc. team.
Used for: LibreOMDetTurbo open-vocabulary detection. The adapter at
libreyolo/models/openvocab/omdet_turbo.py calls the Transformers
OmDetTurboForObjectDetection implementation, its processor, and its
post-processing. No OMDet-Turbo model source is vendored.
Weights: omlab/omdet-turbo-swin-tiny-hf revision
7fe93cecfb770c4d76cf71163956221249cab566, Apache-2.0, mirrored
without learned-parameter changes at LibreYOLO/LibreOMDetTurbot.
--------------------------------------------------------------------
OV-DEIM (wleilei)
--------------------------------------------------------------------
Source: https://github.com/wleilei/OV-DEIM
License: Apache License 2.0 (code); CC BY-NC 4.0 (released checkpoints,
per upstream MODEL_LICENSE)
Citation: arXiv 2603.07022, "OV-DEIM: Real-time DETR-Style
Open-Vocabulary Object Detection with GridSynthetic
Augmentation."
Used for: LibreOVDEIM open-vocabulary detector, a native port vendored
at libreyolo/models/openvocab/ovdeim/ under Apache-2.0
(RT-DETR / DEIMv2 lineage). Converted S/M/L detector weights
are rehosted at LibreYOLO/LibreOVDEIM{s,m,l} under
CC BY-NC 4.0 with attribution, as the upstream MODEL_LICENSE
permits. The text tower is the MobileCLIP-B(LT) text
transformer (apple/MobileCLIP-B-LT-OpenCLIP); its license
text and attribution notice ship in the weight repositories.
Licensing was confirmed by the upstream author
(wleilei/OV-DEIM#4); see docs/provenance/ov_deim.md.
--------------------------------------------------------------------
LW-DETR (Atten4Vis / Baidu)
--------------------------------------------------------------------
Source: https://github.com/Atten4Vis/LW-DETR
License: Apache License 2.0
Copyright (c) 2024 Baidu. All Rights Reserved.
Used for: (1) the standalone LibreLWDETR family — plain-ViT
encoder, multi-scale projector, deformable DETR decoder,
and postprocess (libreyolo/models/lwdetr/,
libreyolo/postprocess/lwdetr.py); and (2) backbone,
transformer, matcher, loss, postprocess, and tensor
utilities consumed by RF-DETR, which forked and modified
this architecture
(libreyolo/models/rfdetr/{backbone,transformer,matcher,
loss,lwdetr,tensors,box_ops}.py).
Weights for the standalone family are converted from the
upstream Apache-2.0 COCO releases (huggingface.co/xbsu/
LW-DETR) and rehosted at LibreYOLO/LibreLWDETR{t,s,m,l,x};
see docs/provenance/lwdetr.md.
--------------------------------------------------------------------
IDEA-Research DINO
--------------------------------------------------------------------
Source: https://github.com/IDEA-Research/DINO
Commit: d84a491d41898b3befd8294d1cf2614661fc0953
License: Apache License 2.0
Copyright (c) 2022 IDEA. All Rights Reserved.
Used for: the inference-only LibreDINO-DETR family
(libreyolo/models/dinodetr/ and
libreyolo/postprocess/dinodetr.py). The three official checkpoints
are converted from the authors' Google Drive releases and rehosted
at LibreYOLO/LibreDINODETR{r50,r50s5,swinl}; see
docs/provenance/dinodetr.md. The releasing repository declares
Apache-2.0, but the checkpoint files carry no standalone license
file or metadata; every mirror ships that repository license and a
notice explaining the redistribution basis.
--------------------------------------------------------------------
DAB-DETR and DN-DETR (IDEA-Research)
--------------------------------------------------------------------
Sources: https://github.com/IDEA-Research/DAB-DETR
https://github.com/IDEA-Research/DN-DETR
License: Apache License 2.0
Used for: architectural predecessors identified by the pinned DINO source;
the LibreDINO-DETR port is made from DINO itself rather than from
separate copies of these repositories.
--------------------------------------------------------------------
Conditional DETR (Atten4Vis / Microsoft)
--------------------------------------------------------------------
Source: https://github.com/Atten4Vis/ConditionalDETR
License: Apache License 2.0
Copyright (c) 2021 Microsoft. All Rights Reserved.
Used for: position-encoding, transformer, matcher, and loss
building blocks reused by RF-DETR via LW-DETR
(libreyolo/models/rfdetr/{backbone,transformer,matcher,
loss,lwdetr,box_ops}.py), plus inherited transformer and backbone
portions of LibreDINO-DETR (libreyolo/models/dinodetr/).
--------------------------------------------------------------------
DETR (facebookresearch / Meta)
--------------------------------------------------------------------
Source: https://github.com/facebookresearch/detr
Commit: 29901c51d7fe8712168b8d0d64351170bc0f83e0
License: Apache License 2.0
Copyright (c) Facebook, Inc. and its affiliates.
Used for: the standalone original DETR architecture and inference utilities
(libreyolo/models/detr/, libreyolo/postprocess/detr.py), plus
NestedTensor, position-encoding, matcher, set-criterion, and box
utilities reused by RF-DETR via LW-DETR
(libreyolo/models/rfdetr/{backbone,transformer,matcher,
loss,lwdetr,tensors,box_ops}.py), and the NestedTensor,
position-encoding, and ResNet-backbone portions of the standalone
Deformable DETR port (libreyolo/models/deformable_detr/common.py),
with inherited backbone and transformer portions in
libreyolo/models/dinodetr/.
--------------------------------------------------------------------
PyTorch torch.nn.Transformer
--------------------------------------------------------------------
Source: https://github.com/pytorch/pytorch
License: BSD-3-Clause
Copyright (c) 2016-2026 Facebook, Inc. and its affiliates.
Used for: facebookresearch/detr models/transformer.py states that it is a
modified copy of torch.nn.Transformer. LibreDETR ports that
Apache-2.0 DETR module and retains the inherited PyTorch lineage
(libreyolo/models/detr/nn.py).
--------------------------------------------------------------------
Deformable DETR (fundamentalvision / SenseTime)
--------------------------------------------------------------------
Source: https://github.com/fundamentalvision/Deformable-DETR
commit 11169a60c33333af00a4849f1808023eba96a931
License: Apache License 2.0
Copyright (c) 2020 SenseTime. All Rights Reserved.
Used for: the standalone inference-only LibreDeformableDETR family
(libreyolo/models/deformable_detr/ and
libreyolo/postprocess/deformable_detr.py), plus multi-scale
deformable attention reused by RF-DETR
(libreyolo/models/rfdetr/transformer.py: MSDeformAttn,
ms_deform_attn_core_pytorch) and LibreDINO-DETR
(libreyolo/models/dinodetr/). The five standalone checkpoints are
converted from the Apache-2.0 SenseTime Hugging Face mirrors and
rehosted at LibreYOLO/LibreDeformableDETR{r50ss,r50ssdc5,r50,
r50refine,r50twostage}; see docs/provenance/deformable_detr.md.
The autograd bridge in
libreyolo/kernels/attention/ms_deform_attn.py follows the upstream
MSDeformAttnFunction interface; the compiled CUDA kernel itself is
NOT vendored. It is fetched at runtime from the Apache-2.0 Hub
repository kernels-community/deformable-detr, only when the
optional `kernels` package (the libreyolo[hub-kernels] extra) is
installed; LIBREYOLO_HUB_KERNELS=0 disables it.
--------------------------------------------------------------------
Swin Transformer (Microsoft)
--------------------------------------------------------------------
Source: https://github.com/microsoft/Swin-Transformer
License: MIT
Copyright (c) 2021 Microsoft.
Used for: the Swin-L backbone ported through DINO for
LibreDINODETRswinl (libreyolo/models/dinodetr/swin.py).
--------------------------------------------------------------------
ViTDet (facebookresearch detectron2)
--------------------------------------------------------------------
Source: https://github.com/facebookresearch/detectron2/tree/main/projects/ViTDet
License: Apache License 2.0
Copyright (c) Facebook, Inc. and its affiliates.
Used for: MultiScaleProjector / SimpleProjector primitives reused by
RF-DETR (libreyolo/models/rfdetr/backbone.py).
--------------------------------------------------------------------
PaddleClas (PaddlePaddle)
--------------------------------------------------------------------
Source: https://github.com/PaddlePaddle/PaddleClas
License: Apache License 2.0
Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
Used for: ResNet_vd pretrained classification backbones loaded by
RT-DETR (libreyolo/models/rtdetr/backbone.py downloads
ResNet{18,34,50,101}_vd weights that originate here).
--------------------------------------------------------------------
MiDaS (Intel ISL)
--------------------------------------------------------------------
Source: https://github.com/isl-org/MiDaS
Pinned commit: 454597711a62eabcbf7d1e89f3fb9f569051ac9b
License: MIT
Copyright (c) 2019 Intel ISL (Intel Intelligent Systems Lab)
Used for: the native inference-only MiDaS v2.1 Small and DPT-Large
relative-depth family in libreyolo/models/midas/. Module names and
arithmetic follow the pinned source so the official release state
dicts load unchanged and produce bit-exact outputs. LibreYOLO adds
its checkpoint metadata, depth-task result, validation, and fixed
export contracts.
NOTE - weights: LibreYOLO does not bundle or rehost the official release
checkpoints. They are downloaded directly from isl-org/MiDaS and SHA-256
verified before safe loading. Although the releasing repository is MIT, the
commercial-use clearance of the mixed training datasets has not been
established as required for hosted depth weights by ADR 0006. Exact URLs,
hashes, and the distribution decision are in docs/provenance/midas.md.
MIT License
Copyright (c) 2019 Intel ISL (Intel Intelligent Systems Lab)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------
Depth Anything V2 (DepthAnything / TikTok)
--------------------------------------------------------------------
Source: https://github.com/DepthAnything/Depth-Anything-V2
License: Apache License 2.0
Copyright (c) 2024 Depth Anything V2 authors.
Citation: Yang, L., Kang, B., Huang, Z., Zhao, Z., Xu, X., Feng, J.,
and Zhao, H. "Depth Anything V2." NeurIPS 2024.
Used for: Depth Anything V2 model family (DINOv2 encoder + DPT head)
vendored under libreyolo/models/depth_anything/_vendor/
(dinov2, dinov2_layers, dpt, util/{blocks,transform}). Bundled
verbatim except for added package __init__.py files. The
LibreYOLO-side wrapper (libreyolo/models/depth_anything/
{model,nn,utils}.py) adds internal ImageNet normalization and
the depth-task contract; it does not modify the vendored code.
NOTE - code vs. weights: The Apache-2.0 license covers the Depth
Anything V2 *source code* vendored above. It does NOT cover the
pretrained weights, which are split: the Small (ViT-S) checkpoint is
Apache-2.0, while Base/Large/Giant (ViT-B/L/G) are CC-BY-NC-4.0
(non-commercial). LibreYOLO mirrors the converted checkpoints on its
Hugging Face org (LibreYOLO/LibreDepthAnythingV2{s,l}-depth) and
auto-downloads them on demand; each mirror carries the upstream
license. Users remain responsible for complying with each checkpoint's
license — in particular, the CC-BY-NC-4.0 checkpoints (Base/Large/
Giant) are for non-commercial use only. The offline conversion path
(weights/convert_depth_anything_v2_weights.py) remains available.
--------------------------------------------------------------------
Depth Anything 3 (ByteDance Seed)
--------------------------------------------------------------------
Source: https://github.com/ByteDance-Seed/Depth-Anything-3
Pinned commit: 41736238f5bced4debf3f2a12375d2466874866d
License: Apache License 2.0
Copyright (c) 2025 ByteDance Ltd. and/or its affiliates.
Used for: DA3MONO-LARGE model family (ViT-L encoder + DPT depth and sky
heads) vendored under libreyolo/models/depth_anything3/_vendor/.
The DINOv2 subcomponents retain Meta Platforms Apache-2.0
copyright headers. LibreYOLO adaptations remove unused runtime
dependencies, add internal ImageNet normalization, reproduce the
official sky handling, and convert positive relative depth to the
library's relative inverse-depth output contract.
Weight source: https://huggingface.co/depth-anything/DA3MONO-LARGE
Pinned revision: f465978e618db8cc79c83b8bbf24964857db1875
Weight license: Apache License 2.0
Conversion: weights/convert_depth_anything3_weights.py removes only the
outer model. prefix and wraps 406 unchanged tensors in the
LibreYOLO checkpoint schema. Only DA3MONO-LARGE is hosted.
CC-BY-NC-4.0 Large/Giant/Nested weights are excluded.
--------------------------------------------------------------------
ZipDepth (University of Bologna)
--------------------------------------------------------------------
Source: https://github.com/fabiotosi92/ZipDepth
(commit 6b96f4d205f8a2e5377e81c1b74cc99a47f6693a)
License: MIT
Copyright (c) 2026 Fabio Tosi.
Citation: Tosi, F., Bartolomei, L., Poggi, M., and Mattoccia, S.
"ZipDepth: Bringing Lightweight Zero-Shot Monocular Depth
Anywhere, on Any Device." ECCV 2026.
Used for: ZipDepth depth model family (libreyolo/models/zipdepth/).
The architecture (nn.py) is ported from upstream with
identical module names; the LibreYOLO wrapper adds the
depth-task contract, checkpoint schema, zero-shot val, and
fixed-resolution export metadata.
NOTE - weights: The upstream repository publishes the pretrained
checkpoints (zipdepth_base.pth, zipdepth_base_npu.pth) under the same
MIT license; LibreYOLO mirrors byte-identical rewraps on its Hugging
Face org (LibreYOLO/LibreZipDepth{b,bnpu}-depth). Upstream trained
these weights by distilling pseudo-labels from Depth Anything V2 Large
(itself CC-BY-NC-4.0) over ~14M images from 17 public datasets; the MIT
grant on the student weights is upstream's published position, and the
distillation lineage is documented in
libreyolo/models/zipdepth/NOTICE.
--------------------------------------------------------------------
TorchVision Faster R-CNN (PyTorch contributors)
--------------------------------------------------------------------
Source: https://github.com/pytorch/vision
Commit: 336d36e8db990a905498c73933e35231876e28bc
Version: torchvision 0.26.0
License: BSD-3-Clause
Copyright (c) Soumith Chintala 2016
Used for: the native inference-only Faster R-CNN family in
libreyolo/models/faster_rcnn/nn.py. The implementation derives its
two-stage orchestration, RPN, RoI box head, image transform, box
coder, and FPN-backbone construction from the pinned BSD source.
The full BSD license text and the code-vs-weights distinction are
recorded in libreyolo/models/faster_rcnn/NOTICE.
NOTE - code vs. weights: the upstream source code is BSD-3-Clause. The four
official COCO checkpoint files do not carry an explicit checkpoint-specific
license, and torchvision's README warns that pretrained-model terms may differ
based on training data. LibreYOLO's separate weight mirrors apply
BSD-3-Clause on an explicitly disclosed implied basis, ship the verbatim
license with every checkpoint, and repeat the caveat. The source distribution
does not bundle the checkpoint files; conversion only adds metadata.
--------------------------------------------------------------------
TorchVision RetinaNet (PyTorch contributors)
--------------------------------------------------------------------
Source: https://github.com/pytorch/vision
Commit: 336d36e8db990a905498c73933e35231876e28bc
Version: torchvision 0.26.0
License: BSD-3-Clause
Copyright (c) Soumith Chintala 2016
Used for: the native inference-only RetinaNet family in
libreyolo/models/retinanet/nn.py. The implementation derives its
one-stage head, P3-P7 anchor generation, box decode, image transform,
and FPN-backbone construction from the pinned BSD source. The full
BSD license text and the code-vs-weights distinction are recorded in
libreyolo/models/retinanet/NOTICE.
NOTE - code vs. weights: the upstream source code is BSD-3-Clause. The two
official COCO checkpoint files do not carry an explicit checkpoint-specific
license, and torchvision's README warns that pretrained-model terms may differ
based on training data. LibreYOLO's separate weight mirrors apply
BSD-3-Clause on an explicitly disclosed implied basis, ship the verbatim
license with every checkpoint, and repeat the caveat. The source distribution
does not bundle the checkpoint files; conversion only adds metadata.
--------------------------------------------------------------------
TorchVision SSD300 (PyTorch contributors)
--------------------------------------------------------------------
Source: https://github.com/pytorch/vision
Commit: 336d36e8db990a905498c73933e35231876e28bc
Version: torchvision 0.26.0
License: BSD-3-Clause
Copyright (c) Soumith Chintala 2016
Used for: the native inference-only SSD family in
libreyolo/models/ssd/nn.py, preprocessing, default-box decoding,
class-wise NMS, conversion, validation, and ONNX/backend integration.
The implementation derives from the pinned SSD300, VGG, anchor,
box-coder, and transform source. The full BSD license text is in
libreyolo/models/ssd/NOTICE.
NOTE - code vs. weights: the official COCO checkpoint does not carry an
explicit checkpoint-specific license. LibreYOLO's separate mirror uses
BSD-3-Clause on an explicitly disclosed implied basis and repeats
torchvision's pretrained-model/data warning. Its backbone initialization
traces to Oxford VGG-16 feature weights by Karen Simonyan and Andrew Zisserman,
released under CC BY 4.0. The family notice records the source, license URL,
attribution, and changes. The source distribution does not bundle the
checkpoint; conversion only adds metadata.
--------------------------------------------------------------------
TorchVision Mask R-CNN (PyTorch contributors)
--------------------------------------------------------------------
Source: https://github.com/pytorch/vision
Commit: 336d36e8db990a905498c73933e35231876e28bc
Version: torchvision 0.26.0
License: BSD-3-Clause
Copyright (c) Soumith Chintala 2016
Used for: the native inference-only Mask R-CNN family in
libreyolo/models/mask_rcnn/nn.py. The mask-specific implementation
derives its RoIAlign mask head, class-specific mask selection, and
ResNet-50-FPN v2 construction from the pinned BSD source, on top of
LibreYOLO's separately attributed native Faster R-CNN graph. The
full BSD license text and code-vs-weights distinction are recorded
in libreyolo/models/mask_rcnn/NOTICE.
NOTE - code vs. weights: the upstream source is BSD-3-Clause. The official
COCO checkpoint does not carry an explicit checkpoint-specific license, and
torchvision warns that pretrained-model terms may differ based on training
data. LibreYOLO's separate weight mirror applies BSD-3-Clause on an explicitly
disclosed implied basis, ships the verbatim license, and repeats the caveat.
The source distribution does not bundle the checkpoint file; conversion only
adds metadata.
--------------------------------------------------------------------
TorchVision FCN semantic segmentation (PyTorch contributors)
--------------------------------------------------------------------
Source: https://github.com/pytorch/vision
Commit: 336d36e8db990a905498c73933e35231876e28bc
Version: torchvision 0.26.0
License: BSD-3-Clause
Copyright (c) Soumith Chintala 2016 and the torchvision contributors
Used for: the native inference-only FCN semantic family in
libreyolo/models/fcn/nn.py. The implementation derives its FCN
head, graph orchestration, dilated-ResNet builder configuration,
and feature-layer routing from the pinned BSD source. The full BSD
license text and the code-vs-weights distinction are recorded in
libreyolo/models/fcn/NOTICE.
NOTE - code vs. weights: the upstream source code is BSD-3-Clause. The two
official COCO checkpoint files do not carry an explicit checkpoint-specific
license, and torchvision's README warns that pretrained-model terms may differ
based on training data. LibreYOLO's separate weight mirrors apply
BSD-3-Clause on an explicitly disclosed implied basis, ship the verbatim
license with every checkpoint, and repeat the caveat. The source distribution
does not bundle the checkpoint files; conversion only adds metadata.
--------------------------------------------------------------------
CenterNet (Xingyi Zhou)
--------------------------------------------------------------------
Source: https://github.com/xingyizhou/CenterNet
Commit: 4c50fd3a46bdf63dbf2082c5cbb3458d39579e6c
License: MIT, with permissive MIT/BSD-3-Clause lineage
Copyright (c) 2019 Xingyi Zhou
Used for: the native inference-only CenterNet detector in
libreyolo/models/centernet/nn.py, the fixed-512 BGR affine
preprocessing in libreyolo/models/centernet/utils.py, and the
top-100 center decoder in libreyolo/postprocess/centernet.py.
The ResDCN-18 graph follows CenterNet's resnet_dcn.py, which credits
Microsoft's MIT-licensed human-pose-estimation.pytorch. The DLA-34 graph
follows pose_dla_dcn.py and dla.py, whose DLA implementation is
BSD-3-Clause, Copyright (c) 2018 Fisher Yu. The upstream detector also credits
CornerNet (BSD-3-Clause, Copyright (c) 2018 University of Michigan), DCNv2
(BSD-3-Clause, Copyright (c) 2019 Charles Shang), and tf-faster-rcnn (MIT,
Copyright (c) 2017 Xinlei Chen). The complete notices and license texts are
reproduced in libreyolo/models/centernet/NOTICE.
LibreYOLO does not vendor the legacy DCNv2 extension. Native execution uses
torchvision 0.26.0 deform_conv2d from pytorch/vision commit
336d36e8db990a905498c73933e35231876e28bc (BSD-3-Clause, Copyright (c)
Soumith Chintala 2016). The export-only portable implementation was authored
for LibreYOLO and does not copy the extension.
NOTE - code vs. weights: the official COCO checkpoints were published by the
MIT-licensed CenterNet project but have no separate per-object license file.
LibreYOLO's separate mirrors therefore state that MIT is implied by the
releasing project and is not a publisher-confirmed checkpoint-specific grant.
Conversion strips the data-parallel prefix and adds metadata without changing
learned tensors. The source distribution does not bundle checkpoint files.
--------------------------------------------------------------------
TorchVision FCOS (PyTorch contributors)
--------------------------------------------------------------------
Source: https://github.com/pytorch/vision
Commit: 336d36e8db990a905498c73933e35231876e28bc
Version: torchvision 0.26.0
Source file blob: ccbd2496517c33b74a1a1581e0cbf3b3f173bfed
License: BSD-3-Clause
Copyright (c) Soumith Chintala 2016
Used for: the native inference-only FCOS family in
libreyolo/models/fcos/nn.py, preprocessing in
libreyolo/models/fcos/utils.py, and postprocessing in
libreyolo/postprocess/fcos.py. The implementation derives its FCOS
heads, anchor grid, box decoding, aspect-preserving transform,
per-level candidate selection, and class-wise NMS from the pinned
BSD source. The full BSD license text and the code-vs-weights
distinction are recorded in libreyolo/models/fcos/NOTICE.
NOTE - code vs. weights: the upstream source code is BSD-3-Clause. The
official COCO checkpoint does not carry an explicit checkpoint-specific
license, and torchvision's README warns that pretrained-model terms may differ
based on training data. LibreYOLO's separate weight mirror applies
BSD-3-Clause on an explicitly disclosed implied basis, ships the verbatim
license, and repeats the caveat. The source distribution does not bundle the
checkpoint file; conversion only adds metadata.
--------------------------------------------------------------------
TorchVision AlexNet (PyTorch contributors)
--------------------------------------------------------------------
Source: https://github.com/pytorch/vision
Commit: 336d36e8db990a905498c73933e35231876e28bc
Version: torchvision 0.26.0
License: BSD-3-Clause
Copyright (c) Soumith Chintala 2016
Used for: the native inference-only AlexNet classifier in
libreyolo/models/alexnet/nn.py. The implementation retains the
pinned source's features/avgpool/classifier graph and state-dict
names; LibreYOLO supplies its factory, preprocessing, validation,
postprocessing, checkpoint metadata, and export surfaces.
NOTE - code vs. weights: the upstream source code is BSD-3-Clause. The
official ImageNet-1K checkpoint does not carry an explicit checkpoint-specific
license. LibreYOLO's separate weight mirror applies BSD-3-Clause on a clearly
disclosed implied basis, includes the verbatim license, and repeats
torchvision's warning that pretrained-model terms may derive from training
data. The source distribution does not bundle the checkpoint; conversion only
adds metadata.
--------------------------------------------------------------------
TorchVision VGG (PyTorch contributors)
--------------------------------------------------------------------
Source: https://github.com/pytorch/vision
Commit: 10f68dbd78b9aa5cab9328f3b2e99cfb0b608122
File: torchvision/models/vgg.py
License: BSD-3-Clause
Copyright (c) Soumith Chintala 2016
Used for: the native inference-only VGG image-classification family in
libreyolo/models/vgg/nn.py. The implementation derives its feature
configuration, classifier layout, adaptive pooling, and parameter
initialization from the pinned BSD source. The full BSD license text
and the code-vs-weights distinction are recorded in
libreyolo/models/vgg/NOTICE.
NOTE - code vs. weights: the upstream source code is BSD-3-Clause. The four
official ImageNet-1k V1 checkpoint files do not carry an explicit
checkpoint-specific license, and torchvision warns that pretrained-model terms
can depend on training data. LibreYOLO's separate weight mirrors apply
BSD-3-Clause on an explicitly disclosed implied basis, ship the verbatim
license with every checkpoint, and repeat the caveat. The source distribution
does not bundle the checkpoint files; conversion preserves learned tensors and
only adds metadata.
--------------------------------------------------------------------
TorchVision DeepLabv3 (PyTorch contributors)
--------------------------------------------------------------------
Source: https://github.com/pytorch/vision
Commit: 336d36e8db990a905498c73933e35231876e28bc
Version: torchvision 0.26.0
License: BSD-3-Clause
Copyright (c) Soumith Chintala 2016
Used for: the native inference-only DeepLabv3 family in
libreyolo/models/deeplabv3/nn.py. The implementation derives its
segmentation orchestration, ASPP branches, pooling and classifier,
and ResNet/MobileNetV3 backbone construction from the pinned BSD
source. The full BSD license text and the code-vs-weights distinction
are recorded in libreyolo/models/deeplabv3/NOTICE.
NOTE - code vs. weights/data: the upstream source code is BSD-3-Clause. The
three official COCO checkpoint files do not carry an explicit
checkpoint-specific license, and torchvision's README warns that
pretrained-model terms may differ based on training data. LibreYOLO's separate
weight mirrors apply BSD-3-Clause on an explicitly disclosed implied basis,
ship the verbatim license with every checkpoint, and repeat the caveat. COCO
annotations are CC BY 4.0 and its source images retain individual Flickr
terms. The source distribution does not bundle the checkpoint files;
conversion removes only the training-only auxiliary head and adds metadata.
--------------------------------------------------------------------
NAFNet (Megvii Research)
--------------------------------------------------------------------
Source: https://github.com/megvii-research/NAFNet
License: MIT
Copyright (c) 2022 Megvii Inc.
Citation: Chen, L., Chu, X., Zhang, X., and Sun, J. "Simple Baselines
for Image Restoration." ECCV 2022.
Used for: NAFNet restoration model family (libreyolo/models/nafnet/),
including the NAFBlock architecture and test-time local
converter logic. The LibreYOLO wrapper adds the restore-task
contract, paired train/validation plumbing, fixed-resolution
ONNX export metadata, and Results.restored payload.
NOTE - code vs. weights/data: The NAFNet source code is MIT licensed.
LibreYOLO does not bundle NAFNet pretrained checkpoint files. Some