File size: 3,246 Bytes
22500f8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: gpl-3.0
tags:
- rknn
- rk182x
- cnn
pipeline_tag: image-segmentation
---

# RK182X-CNN-Pytorch-UNet

[English](README.md) | [简体中文](README_CN.md)

## 1. Model Overview

This repository provides an RKNN CNN model converted from [milesial/Pytorch-UNet](https://github.com/milesial/Pytorch-UNet).

- Model ID: `UGREENDEV/RK182X-CNN-Pytorch-UNet`
- Model Display Name: `RK182X-CNN-Pytorch-UNet`
- RKNN Runtime Version: `v1.1.0`
- Source Model: `milesial/Pytorch-UNet`
- Model Type: CNN
- Chip Label: RK182X
- Supported Chips: RK1820, RK1828

### Available Models

| RKNN Runtime Version | Configuration Directory | Supported Chips | Resolution | Quantization | NPU Cores |
| --- | --- | --- | --- | --- | --- |
| `v1.1.0` | [Pytorch-UNet-512x288-w8a8-8](Pytorch-UNet-512x288-w8a8-8/README.md) | RK1820, RK1828 | 512x288 | w8a8 | 8 |

## 2. Files

| File or Directory | Description |
| --- | --- |
| `LICENSE` | Source model license |
| `NOTICE` | License, usage requirements, and attribution |
| `<configuration-directory>/` | Matching model files |
| Subdirectory `README.md` | Configuration documentation (English) |
| Subdirectory `README_CN.md` | Configuration documentation (Chinese) |
| Subdirectory `config.json` | Model configuration and file manifest |
| Subdirectory `SHA256SUMS` | SHA-256 checksums of the files in this directory (excluding this file) |

## 3. Download

Download the full repository from ModelScope:

```bash
modelscope download --model UGREENDEV/RK182X-CNN-Pytorch-UNet --revision master --local_dir ./RK182X-CNN-Pytorch-UNet
```

Download the full repository from Hugging Face:

```bash
hf download UGREENDEV/RK182X-CNN-Pytorch-UNet --revision v1.1.0 --local-dir ./RK182X-CNN-Pytorch-UNet
```

Download a specific configuration from ModelScope:

```python
from modelscope import snapshot_download

snapshot_download(
    "UGREENDEV/RK182X-CNN-Pytorch-UNet",
    revision="master",
    allow_patterns=["README.md", "README_CN.md", "LICENSE", "NOTICE", "Pytorch-UNet-512x288-w8a8-8/**"],
    local_dir="./RK182X-CNN-Pytorch-UNet",
)
```

Download a specific configuration from Hugging Face:

```bash
hf download UGREENDEV/RK182X-CNN-Pytorch-UNet --revision v1.1.0 --include "README.md" "README_CN.md" "LICENSE" "NOTICE" "Pytorch-UNet-512x288-w8a8-8/**" --local-dir ./RK182X-CNN-Pytorch-UNet
```

## 4. SHA-256 Verification

Run in the configuration directory:

```bash
cd ./RK182X-CNN-Pytorch-UNet/Pytorch-UNet-512x288-w8a8-8
sha256sum -c SHA256SUMS
```

Deploy only after all entries show `OK`.

## 5. Compatibility and Limitations

- Supported Chips: RK1820, RK1828.
- Use the matching RKNN Runtime and driver. Check the device-side version with `rknn-smi -v` before running.
- Use the files from the selected configuration directory together.

## 6. Copyright and License

- Source model license: GNU General Public License v3.0, See [LICENSE](LICENSE) for the full text and [NOTICE](NOTICE) for attribution and conversion details.
- The artifacts in this repository are RKNN-converted derivatives of the source model and remain subject to its license and usage restrictions.
- The applicable RKNN Toolkit and RKNN Runtime licenses also apply; runtime libraries are not included in this repository.