将当前 PP-Detection 模型统一到根目录
Browse files- README.md +12 -15
- labels/coco.txt +80 -0
- manifest.json +7 -7
- picodet-l-320-fp32.onnx +2 -2
- pipeline.json +19 -0
- source.yaml +49 -0
README.md
CHANGED
|
@@ -1,17 +1,14 @@
|
|
| 1 |
-
# PicoDet
|
| 2 |
|
| 3 |
-
|
| 4 |
-
FP32 ONNX 候选:`picodet-l-320-fp32.onnx`。它不与官方
|
| 5 |
-
`picodet_l_320_lcnet_postprocessed.onnx` 下载文件字节一致;官方 URL、文档
|
| 6 |
-
revision、字节数和 SHA-256,以及候选文件的大小和 SHA-256,均记录在
|
| 7 |
-
`tools/model-pipeline/reports/picodet-source-evidence.json`。候选文件的输入输出
|
| 8 |
-
契约和三张 fixture 的 CPU ORT parity 记录在
|
| 9 |
-
`tools/model-pipeline/reports/picodet-parity.json`。
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PicoDet 模型资产
|
| 2 |
|
| 3 |
+
# PP-Detection 模型资产
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
+
本目录保存版本化 ONNX 产物和清单。PicoDet-L-320 当前已有一个本地 FP32 ONNX
|
| 6 |
+
候选,并通过 CPU ORT parity;候选的结构、哈希和 fixture 证据见
|
| 7 |
+
`1.0.0/README.md` 与 `tools/model-pipeline/reports/picodet-parity.json`。
|
| 8 |
+
|
| 9 |
+
本地候选已经记录到 Git LFS(默认)、Hugging Face 和 ModelScope 的不可变发布来源,
|
| 10 |
+
对应 revision、下载地址、大小和 SHA-256 见
|
| 11 |
+
`tools/model-pipeline/reports/picodet-source-evidence.json`。已有一次 Windows
|
| 12 |
+
HeadlessChrome 的 WASM/CPU smoke test,但 WebGPU、移动端和微信 WebView 仍未验证,
|
| 13 |
+
来源许可核验也未完成,所以默认清单仍为 `labs/blocked`。不要把候选分发副本的存在
|
| 14 |
+
误解为 stable 发布承诺。
|
labels/coco.txt
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
person
|
| 2 |
+
bicycle
|
| 3 |
+
car
|
| 4 |
+
motorcycle
|
| 5 |
+
airplane
|
| 6 |
+
bus
|
| 7 |
+
train
|
| 8 |
+
truck
|
| 9 |
+
boat
|
| 10 |
+
traffic light
|
| 11 |
+
fire hydrant
|
| 12 |
+
stop sign
|
| 13 |
+
parking meter
|
| 14 |
+
bench
|
| 15 |
+
bird
|
| 16 |
+
cat
|
| 17 |
+
dog
|
| 18 |
+
horse
|
| 19 |
+
sheep
|
| 20 |
+
cow
|
| 21 |
+
elephant
|
| 22 |
+
bear
|
| 23 |
+
zebra
|
| 24 |
+
giraffe
|
| 25 |
+
backpack
|
| 26 |
+
umbrella
|
| 27 |
+
handbag
|
| 28 |
+
tie
|
| 29 |
+
suitcase
|
| 30 |
+
frisbee
|
| 31 |
+
skis
|
| 32 |
+
snowboard
|
| 33 |
+
sports ball
|
| 34 |
+
kite
|
| 35 |
+
baseball bat
|
| 36 |
+
baseball glove
|
| 37 |
+
skateboard
|
| 38 |
+
surfboard
|
| 39 |
+
tennis racket
|
| 40 |
+
bottle
|
| 41 |
+
wine glass
|
| 42 |
+
cup
|
| 43 |
+
fork
|
| 44 |
+
knife
|
| 45 |
+
spoon
|
| 46 |
+
bowl
|
| 47 |
+
banana
|
| 48 |
+
apple
|
| 49 |
+
sandwich
|
| 50 |
+
orange
|
| 51 |
+
broccoli
|
| 52 |
+
carrot
|
| 53 |
+
hot dog
|
| 54 |
+
pizza
|
| 55 |
+
donut
|
| 56 |
+
cake
|
| 57 |
+
chair
|
| 58 |
+
couch
|
| 59 |
+
potted plant
|
| 60 |
+
bed
|
| 61 |
+
dining table
|
| 62 |
+
toilet
|
| 63 |
+
tv
|
| 64 |
+
laptop
|
| 65 |
+
mouse
|
| 66 |
+
remote
|
| 67 |
+
keyboard
|
| 68 |
+
cell phone
|
| 69 |
+
microwave
|
| 70 |
+
oven
|
| 71 |
+
toaster
|
| 72 |
+
sink
|
| 73 |
+
refrigerator
|
| 74 |
+
book
|
| 75 |
+
clock
|
| 76 |
+
vase
|
| 77 |
+
scissors
|
| 78 |
+
teddy bear
|
| 79 |
+
hair drier
|
| 80 |
+
toothbrush
|
manifest.json
CHANGED
|
@@ -64,17 +64,17 @@
|
|
| 64 |
"kind": "huggingface",
|
| 65 |
"repository": "chenmohan/web-sdk-pp-detection",
|
| 66 |
"revision": "b089403d908b40f28e56e4c0330c3c8b6e71183f",
|
| 67 |
-
"path": "
|
| 68 |
-
"downloadUrl": "https://huggingface.co/chenmohan/web-sdk-pp-detection/resolve/
|
| 69 |
"bytes": 23243834,
|
| 70 |
"sha256": "0397bb449689d1bf57dfcb8849b3ddaa1c8962e1e63e533bd97d265908a428a1"
|
| 71 |
},
|
| 72 |
{
|
| 73 |
"kind": "modelscope",
|
| 74 |
"repository": "chenmohan/web-sdk-pp-detection",
|
| 75 |
-
"revision": "
|
| 76 |
-
"path": "
|
| 77 |
-
"downloadUrl": "https://www.modelscope.cn/models/chenmohan/web-sdk-pp-detection/resolve/
|
| 78 |
"bytes": 23243834,
|
| 79 |
"sha256": "0397bb449689d1bf57dfcb8849b3ddaa1c8962e1e63e533bd97d265908a428a1"
|
| 80 |
},
|
|
@@ -82,8 +82,8 @@
|
|
| 82 |
"kind": "git-lfs",
|
| 83 |
"repository": "chenmohan123/web-sdk-PP-Detection",
|
| 84 |
"revision": "3204072ce46d2afde30a47859f187a4dc293f345",
|
| 85 |
-
"path": "models/pp-detection/
|
| 86 |
-
"downloadUrl": "https://media.githubusercontent.com/media/chenmohan123/web-sdk-PP-Detection/
|
| 87 |
"bytes": 23243834,
|
| 88 |
"sha256": "0397bb449689d1bf57dfcb8849b3ddaa1c8962e1e63e533bd97d265908a428a1"
|
| 89 |
}
|
|
|
|
| 64 |
"kind": "huggingface",
|
| 65 |
"repository": "chenmohan/web-sdk-pp-detection",
|
| 66 |
"revision": "b089403d908b40f28e56e4c0330c3c8b6e71183f",
|
| 67 |
+
"path": "picodet-l-320-fp32.onnx",
|
| 68 |
+
"downloadUrl": "https://huggingface.co/chenmohan/web-sdk-pp-detection/resolve/main/picodet-l-320-fp32.onnx?v=1.0.1",
|
| 69 |
"bytes": 23243834,
|
| 70 |
"sha256": "0397bb449689d1bf57dfcb8849b3ddaa1c8962e1e63e533bd97d265908a428a1"
|
| 71 |
},
|
| 72 |
{
|
| 73 |
"kind": "modelscope",
|
| 74 |
"repository": "chenmohan/web-sdk-pp-detection",
|
| 75 |
+
"revision": "e7d5a0ce5023fd22e915d474c6db70b54dca9637",
|
| 76 |
+
"path": "picodet-l-320-fp32.onnx",
|
| 77 |
+
"downloadUrl": "https://www.modelscope.cn/models/chenmohan/web-sdk-pp-detection/resolve/master/picodet-l-320-fp32.onnx?v=1.0.1",
|
| 78 |
"bytes": 23243834,
|
| 79 |
"sha256": "0397bb449689d1bf57dfcb8849b3ddaa1c8962e1e63e533bd97d265908a428a1"
|
| 80 |
},
|
|
|
|
| 82 |
"kind": "git-lfs",
|
| 83 |
"repository": "chenmohan123/web-sdk-PP-Detection",
|
| 84 |
"revision": "3204072ce46d2afde30a47859f187a4dc293f345",
|
| 85 |
+
"path": "models/pp-detection/picodet-l-320-fp32.onnx",
|
| 86 |
+
"downloadUrl": "https://media.githubusercontent.com/media/chenmohan123/web-sdk-PP-Detection/main/models/pp-detection/picodet-l-320-fp32.onnx?v=1.0.1",
|
| 87 |
"bytes": 23243834,
|
| 88 |
"sha256": "0397bb449689d1bf57dfcb8849b3ddaa1c8962e1e63e533bd97d265908a428a1"
|
| 89 |
}
|
picodet-l-320-fp32.onnx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0397bb449689d1bf57dfcb8849b3ddaa1c8962e1e63e533bd97d265908a428a1
|
| 3 |
+
size 23243834
|
pipeline.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schemaVersion": 1,
|
| 3 |
+
"status": "stable",
|
| 4 |
+
"modelVersion": "1.0.1",
|
| 5 |
+
"source": "models/pp-detection/picodet-l-320-fp32.onnx",
|
| 6 |
+
"target": "picodet-l-320-fp32.onnx",
|
| 7 |
+
"steps": [
|
| 8 |
+
"sanitize_picodet_webgpu_fp32.py",
|
| 9 |
+
"onnx.checker.check_model",
|
| 10 |
+
"onnx.shape_inference.infer_shapes",
|
| 11 |
+
"CPU parity on seven fixtures"
|
| 12 |
+
],
|
| 13 |
+
"webgpuCompatibility": {
|
| 14 |
+
"matmulWeight": "auto_4_",
|
| 15 |
+
"beforeShape": [8],
|
| 16 |
+
"afterShape": [8, 1]
|
| 17 |
+
},
|
| 18 |
+
"releaseNote": "仅 FP32 进入 stable;FP16、量化版本、移动端和微信 WebView 继续保持实验或待验证状态"
|
| 19 |
+
}
|
source.yaml
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
status: stable
|
| 2 |
+
version: 1.0.1
|
| 3 |
+
reason: FP32 已完成三类不可变来源、CPU parity、Linux WASM 和 Windows NVIDIA WebGPU 浏览器验证;FP16、量化版本、移动端和微信 WebView 继续保持实验或待验证状态。
|
| 4 |
+
artifacts:
|
| 5 |
+
fp32:
|
| 6 |
+
path: picodet-l-320-fp32.onnx
|
| 7 |
+
bytes: 23243834
|
| 8 |
+
sha256: 0397bb449689d1bf57dfcb8849b3ddaa1c8962e1e63e533bd97d265908a428a1
|
| 9 |
+
precision: fp32
|
| 10 |
+
quantization: none
|
| 11 |
+
opset: 11
|
| 12 |
+
parameterCount: 5787988
|
| 13 |
+
fp16:
|
| 14 |
+
status: labs/blocked
|
| 15 |
+
reason: CPU parity 或浏览器兼容性尚未达到稳定发布门槛。
|
| 16 |
+
sources:
|
| 17 |
+
status: verified
|
| 18 |
+
required: [huggingface, modelscope, git-lfs]
|
| 19 |
+
evidence: tools/model-pipeline/reports/1.0.1/source-evidence.json
|
| 20 |
+
sourceDetails:
|
| 21 |
+
huggingface:
|
| 22 |
+
revision: b089403d908b40f28e56e4c0330c3c8b6e71183f
|
| 23 |
+
repository: chenmohan/web-sdk-pp-detection
|
| 24 |
+
path: picodet-l-320-fp32.onnx
|
| 25 |
+
downloadUrl: https://huggingface.co/chenmohan/web-sdk-pp-detection/resolve/main/picodet-l-320-fp32.onnx?v=1.0.1
|
| 26 |
+
bytes: 23243834
|
| 27 |
+
sha256: 0397bb449689d1bf57dfcb8849b3ddaa1c8962e1e63e533bd97d265908a428a1
|
| 28 |
+
modelscope:
|
| 29 |
+
revision: e7d5a0ce5023fd22e915d474c6db70b54dca9637
|
| 30 |
+
repository: chenmohan/web-sdk-pp-detection
|
| 31 |
+
path: picodet-l-320-fp32.onnx
|
| 32 |
+
downloadUrl: https://www.modelscope.cn/models/chenmohan/web-sdk-pp-detection/resolve/master/picodet-l-320-fp32.onnx?v=1.0.1
|
| 33 |
+
bytes: 23243834
|
| 34 |
+
sha256: 0397bb449689d1bf57dfcb8849b3ddaa1c8962e1e63e533bd97d265908a428a1
|
| 35 |
+
git-lfs:
|
| 36 |
+
revision: 3204072ce46d2afde30a47859f187a4dc293f345
|
| 37 |
+
repository: chenmohan123/web-sdk-PP-Detection
|
| 38 |
+
path: models/pp-detection/picodet-l-320-fp32.onnx
|
| 39 |
+
downloadUrl: https://media.githubusercontent.com/media/chenmohan123/web-sdk-PP-Detection/main/models/pp-detection/picodet-l-320-fp32.onnx?v=1.0.1
|
| 40 |
+
bytes: 23243834
|
| 41 |
+
sha256: 0397bb449689d1bf57dfcb8849b3ddaa1c8962e1e63e533bd97d265908a428a1
|
| 42 |
+
browserEvidence:
|
| 43 |
+
status: verified
|
| 44 |
+
evidence: tools/model-pipeline/reports/1.0.1/remote-validation.json
|
| 45 |
+
wasmFp32: tools/model-pipeline/reports/1.0.1/wasm-fp32.json
|
| 46 |
+
webgpuFp32: tools/model-pipeline/reports/1.0.1/webgpu-fp32.json
|
| 47 |
+
limitations:
|
| 48 |
+
- FP16、INT8、INT4、FP8 不属于本次 stable 发布。
|
| 49 |
+
- 移动端浏览器和微信 WebView 尚未完成本版本独立验证。
|