---
title: LibrePIDNetm-sem
canonical_url: "https://www.modelscope.cn/models/LibreYOLO/LibrePIDNetm-sem"
md_url: "https://www.modelscope.cn/models/LibreYOLO/LibrePIDNetm-sem.md"
repository: LibreYOLO/LibrePIDNetm-sem
last_updated: 2026-10-31
license: mit
pipeline_tag: image-segmentation
tasks:
  - image-segmentation
library_name:
  - pytorch
frameworks:
  - pytorch
downloads: 0
stars: 0
tags:
  - image-segmentation
  - semantic-segmentation
  - pidnet
  - cityscapes
---

# LibrePIDNetm-sem

> LibrePIDNetm-sem - LibreYOLO 在 ModelScope 开源的模型。PIDNet-M Cityscapes 19-class semantic segmentation weights converted for LibreYOLO.

LibreYOLO/LibrePIDNetm-sem 是 ModelScope 魔搭社区上的image-segmentation模型，采用 mit 许可。

- **Repository**: LibreYOLO/LibrePIDNetm-sem
- **License**: mit
- **Tasks**: image-segmentation
- **Tags**: image-segmentation, semantic-segmentation, pidnet, cityscapes
- **Downloads**: 0
- **Stars**: 0
- **Last updated**: 2026-10-31

Source: https://www.modelscope.cn/models/LibreYOLO/LibrePIDNetm-sem

---

# LibrePIDNetm-sem

PIDNet-M Cityscapes 19-class semantic segmentation weights converted for LibreYOLO.

## Source

Derived from [XuJiacong/PIDNet](https://github.com/XuJiacong/PIDNet) at commit 4c158cf24ce432f0a8cb43364fae38d93cee0dc3.
The source checkpoint is the official $(System.Collections.Hashtable.upstream) file from the upstream PIDNet model folder.
Copyright (c) 2022 Jiacong Xu. Licensed under the MIT License.

## Modifications

Converted with weights/convert_pidnet_weights.py in the [LibreYOLO source repository](https://github.com/LibreYOLO/libreyolo).
The converter strips common checkpoint prefixes, omits PIDNet training-only auxiliary heads, keeps retained runtime parameters unchanged, and wraps the state dict with LibreYOLO checkpoint metadata (model_family=pidnet, size=m, 	ask=semantic, 
c=19, imgsz=1024).

## Usage

```bash
pip install libreyolo
```

```python
from libreyolo import LibreYOLO

model = LibreYOLO("LibrePIDNetm-sem.pt")
results = model("image.jpg", save=True)
```

## License

MIT License. See the [LICENSE](./LICENSE) and [NOTICE](./NOTICE) files in this repository.

## Dataset Note

Cityscapes has separate dataset terms and is not redistributed in this repository.
