Instructions to use LibreYOLO/LibreDDRNets-imagenet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LibreYOLO
How to use LibreYOLO/LibreDDRNets-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
LibreDDRNets-imagenet
Official DDRNet-23-slim ImageNet-1K classifier (top-1 error 29.8% 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 DDRNet23s_imagenet.pth is the official checkpoint linked from the upstream README
(Google Drive), unchanged: SHA-256 f6d03fa29b80e2e648f89a7639eb0c6d6c088e8f70f2cba1b2872b314a5c54b6.
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="s")
model.train(data="cityscapes.yaml")
Or pass a local copy: LibreDDRNet(size="s", pretrained_backbone="DDRNet23s_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
- 48