zetane / viewer

ML models and internal tensors 3D visualizer
1.14k stars 124 forks source link

can not specift multi input data with name #23

Open wangxudong-cq opened 1 year ago

wangxudong-cq commented 1 year ago

when input with four arrays:

save inputs:

np.savez(input_path, in_div_constant=kw["inVectorList"]["in_div_constant"], in_pow_constant=kw["inVectorList"]["in_pow_constant"], openrt=kw["inVectorList"]["openrt"], reference=kw["inVectorList"]["reference"])

load model

engine.model().onnx(model).update(input_path)

‘in_pow_constant’, ’in_div_constant’ two input values replace each other

企业微信截图_16873396201721