Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ONNX converting #5

Open
Papenkov opened this issue Apr 26, 2022 · 1 comment
Open

ONNX converting #5

Papenkov opened this issue Apr 26, 2022 · 1 comment

Comments

@Papenkov
Copy link

Hello, mate @elyha7 .
I'm trying to convert face detector to onnx via your "export.py" file and have some issue:
after convertion output sizes don't fit with output sizes from loaded model ("model = YoloDetector( ... )")

yolo output
netron_model_output
Is it ok? And I'm confused, which postprocessing I need to do with these outputs? Any ideas?
P.S. thx a lot for your repo))

@Wo-oh-oh-ooh-oh
Copy link

I want to use "export.py" file to convert detector to onnx but I got a mistake [KeyError: 'model' ] in torch.load(w, map_location=map_location)['model'].float().fuse().eval()". This code in function attempt_load in "experimental.py" file.
image
It maybe in "torch.load" hasn't key " model",but why?

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

No branches or pull requests

2 participants