Views
No views yet
⚠️ NON-COMMERCIAL WEIGHTS
These weights are not covered by LibreYOLO's permissive license. They derive from NVIDIA's SegFormer release, licensed under the NVIDIA Source Code License, which restricts use to non-commercial research or evaluation purposes only (Section 3.3). That restriction is carried into every derivative work (Section 3.2) and it binds you, the downloader, not just LibreYOLO.The LibreYOLO code and the SegFormer architecture are unrestricted, as is any model you train from scratch with them. Only these pretrained weights are limited. For commercial use, train from scratch:LibreSegformer(size="b2", nb_classes=N).train(data="your.yaml").
1from libreyolo import LibreSegformer
2
3model = LibreSegformer("LibreSegformerb2-sem.pt")
4results = model.predict("image.jpg")
5mask = results[0].semantic_mask # dense 150-class ADE20K masksegformer. encoder prefix becomes
encoder.), plus LibreYOLO checkpoint metadata. Learned parameters are
unchanged: the converted checkpoint reproduces upstream logits bit-exactly
(max abs difference 0.0 in float64). See
weights/convert_segformer_weights.py.| mIoU | |
|---|---|
LibreYOLO model.val(data="ade20k.yaml") | 45.0 |
| Upstream authors, reported | 46.5 |