Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Error: invalid name for initializer: 1059 #250

Open
FahriBilici opened this issue Dec 27, 2020 · 1 comment
Open

Error: invalid name for initializer: 1059 #250

FahriBilici opened this issue Dec 27, 2020 · 1 comment

Comments

@FahriBilici
Copy link

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?

@Sxela
Copy link

Sxela commented Apr 26, 2021

I've tried exportig model with these keyword arguments:

keep_initializers_as_inputs=True,
                  export_params=True

and it helped

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants