able to convert onnx to blob
This commit is contained in:
9
inspect_model.py
Normal file
9
inspect_model.py
Normal file
@ -0,0 +1,9 @@
|
||||
import onnx
|
||||
|
||||
model = onnx.load('oak_d_deployment/yolox_model.onnx')
|
||||
print('Inputs:')
|
||||
for inp in model.graph.input:
|
||||
print(f' {inp.name}: {inp.type}')
|
||||
print('Outputs:')
|
||||
for out in model.graph.output:
|
||||
print(f' {out.name}: {out.type}')
|
||||
Reference in New Issue
Block a user