Files
wehub-resource-sync b84e3b2b83
Build / Analyze (python) (push) Has been cancelled
Build / Build (macos-latest) (push) Has been cancelled
Build / Build (ubuntu-latest) (push) Has been cancelled
Build / Build (windows-latest) (push) Has been cancelled
Build / Analyze (javascript) (push) Has been cancelled
docs: make Chinese README the default
2026-07-13 10:28:38 +00:00

46 lines
3.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!-- WEHUB_ZH_README -->
> [!NOTE]
> 本文档由 WeHub 基于上游 README 翻译整理,属于社区翻译,非官方中文文档。
> [English](./README.en.md) · [原始项目](https://github.com/lutzroeder/netron) · [上游 README](https://github.com/lutzroeder/netron/blob/HEAD/README.md)
> 原作者、版权与许可证归属以原始项目及本仓库 LICENSE 文件为准。
<div align="center">
<img width="400px" height="100px" src="https://github.com/lutzroeder/netron/raw/main/.github/logo-light.svg#gh-light-mode-only">
<img width="400px" height="100px" src="https://github.com/lutzroeder/netron/raw/main/.github/logo-dark.svg#gh-dark-mode-only">
</div>
Netron 是一款用于查看神经网络、深度学习与机器学习模型的查看器。
Netron 支持 ONNX、TensorFlow Lite、PyTorch、torch.export、ExecuTorch、TorchScript、TensorFlow、Core ML、OpenVINO、Keras、Caffe、Darknet、Safetensors 和 NumPy。
Netron 对 MLIR、JAX、GGUF、RKNN、ncnn、MNN、PaddlePaddle 和 scikit-learn 提供实验性支持。
<p align='center'><a href='https://www.lutzroeder.com/ai'><img src='.github/screenshot.png' width='800'></a></p>
## 安装
**浏览器**[**启动**](https://netron.app) 浏览器版本。
**macOS**[**下载**](https://github.com/lutzroeder/netron/releases/latest) `.dmg` 文件,或运行 `brew install --cask netron`
**Linux**[**下载**](https://github.com/lutzroeder/netron/releases/latest) `.deb``.rpm` 文件。
**Windows**[**下载**](https://github.com/lutzroeder/netron/releases/latest) `.exe` 安装程序,或运行 `winget install -s winget netron`
**Python**`pip install netron`,然后运行 `netron [FILE]``netron.start('[FILE]')`
## 模型
可使用浏览器版本下载或打开的示例模型文件:
* **ONNX**[squeezenet](https://github.com/onnx/models/raw/main/validated/vision/classification/squeezenet/model/squeezenet1.0-3.onnx) [[打开](https://netron.app?url=https://github.com/onnx/models/raw/main/validated/vision/classification/squeezenet/model/squeezenet1.0-3.onnx)]
* **TorchScript**[traced_online_pred_layer](https://github.com/ApolloAuto/apollo/raw/master/modules/prediction/data/traced_online_pred_layer.pt) [[打开](https://netron.app?url=https://github.com/ApolloAuto/apollo/raw/master/modules/prediction/data/traced_online_pred_layer.pt)]
* **TensorFlow Lite**[yamnet](https://huggingface.co/thelou1s/yamnet/resolve/main/lite-model_yamnet_tflite_1.tflite) [[打开](https://netron.app?url=https://huggingface.co/thelou1s/yamnet/blob/main/lite-model_yamnet_tflite_1.tflite)]
* **TensorFlow**[chessbot](https://github.com/srom/chessbot/raw/master/model/chessbot.pb) [[打开](https://netron.app?url=https://github.com/srom/chessbot/raw/master/model/chessbot.pb)]
* **Keras**[mobilenet](https://github.com/aio-libs/aiohttp-demos/raw/master/demos/imagetagger/tests/data/mobilenet.h5) [[打开](https://netron.app?url=https://github.com/aio-libs/aiohttp-demos/raw/master/demos/imagetagger/tests/data/mobilenet.h5)]
* **MLIR**[edge_detection](https://github.com/iree-org/iree/raw/main/tests/e2e/stablehlo_models/edge_detection.mlir) [[打开](https://netron.app?url=https://github.com/iree-org/iree/blob/main/tests/e2e/stablehlo_models/edge_detection.mlir)]
* **Core ML**[exermote](https://github.com/Lausbert/Exermote/raw/master/ExermoteInference/ExermoteCoreML/ExermoteCoreML/Model/Exermote.mlmodel) [[打开](https://netron.app?url=https://github.com/Lausbert/Exermote/raw/master/ExermoteInference/ExermoteCoreML/ExermoteCoreML/Model/Exermote.mlmodel)]
* **Darknet**[yolo](https://github.com/AlexeyAB/darknet/raw/master/cfg/yolo.cfg) [[打开](https://netron.app?url=https://github.com/AlexeyAB/darknet/raw/master/cfg/yolo.cfg)]