microsoft / onnxjs

ONNX.js: run ONNX models using JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: invalid name for initializer: 1059

FahriBilici opened this issue · comments

Hello, I trained custom tiny yolov4 model and convert it into onnx model. I cloned the demo from GitHub and replace yolo model with my model. But when I run the application it gives me Error: invalid name for initializer: 1059. How can I fix that?

commented

I've tried exportig model with these keyword arguments:

keep_initializers_as_inputs=True,
                  export_params=True

and it helped