安装 pip install netron 使用方法 import netron modelPath = "model.pb" #给出pb模型路径 netron.start(modelPath) 运行后,会打开浏览器将模型网络结构显示出来: