look.py
import onnx
import onnx.helper
model = onnx.load('model/yolov3/yolov3.onnx')
print(onnx.helper.printable_graph(model.graph))
graph model_1 (
%input_1[FLOAT, unk__576x3xunk__577xunk__578]
%image_shape[FLOAT, unk__579x2]
) initializers (
%var69[FLOAT, 32]
%var64[FLOAT, 64]
%var6[FLOAT, 256]
%var5[FLOAT, 128]
%var22[FLOAT, 1024]
%var21[FLOAT, 512]
%scale9[FLOAT, 256]
%scale8[FLOAT, 128]
%scale71[FLOAT, 32]
%scale70[FLOAT, 64]
%scale7[FLOAT, 128]
%scale69[FLOAT, 32]
%scale68[FLOAT, 64]
%scale67[FLOAT, 128]
%scale66[FLOAT, 64]
%scale65[FLOAT, 128]
%scale64[FLOAT, 64]
%scale63[FLOAT, 128]
%scale62[FLOAT, 256]
%scale61[FLOAT, 128]
:
:
: