Instructions to use LibreYOLO/LibreDDRNetl-imagenet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LibreYOLO
How to use LibreYOLO/LibreDDRNetl-imagenet with LibreYOLO:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
LibreDDRNetl-imagenet
Official DDRNet-39 ImageNet-1K classifier (top-1 error 22.7% as reported upstream), mirrored byte-for-byte
for LibreYOLO. LibreDDRNet uses it to initialize semantic-segmentation training, as the upstream recipe does.
Source
ydhongHIT/DDRNet at commit de0db317c5af4b0946231f475cf74ca4f51b8ac2.
The file DDRNet39_imagenet.pth is the official checkpoint linked from the upstream README
(Google Drive), unchanged: SHA-256 b97be13428534508791e3897f7921d58d4886142bea25a8fa2f582acb26c25fc.
Copyright (c) 2020 xingkong. Licensed under the MIT License.
Modifications
None. LibreYOLO pins the SHA-256 above in libreyolo/models/ddrnet/convert.py and verifies every download.
At load time it keeps the tensors the classifier shares with the segmentation network and leaves DAPPM and
the segmentation heads at their random initialization, as upstream does.
Usage
A fresh model downloads this file when training starts:
from libreyolo import LibreDDRNet
model = LibreDDRNet(size="l")
model.train(data="cityscapes.yaml")
Or pass a local copy: LibreDDRNet(size="l", pretrained_backbone="DDRNet39_imagenet.pth").
License
MIT License, on an implied basis. The upstream repository links these weights from its README and states no separate terms for them, so LibreYOLO hosts them under the repository's MIT license on that implied basis. This is LibreYOLO's disclosed interpretation, not a license confirmed by the publisher. See the LICENSE and NOTICE files in this repository.
Dataset terms
These weights were trained on ImageNet-1K, whose terms of access are for non-commercial research and educational use.
- Downloads last month
- 17