0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

onnxのネットワークを出力するメモ

Last updated at Posted at 2020-03-18
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]
:
:
:
0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?