deepinsight / deepinsight/insightface

Not work converting Pth to Onnx with Bnkps option

Open
#2,187 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
29.7k
Forks
6.1k
PR merge metrics
No merged PRs in 30d

Description

I tried to convert scrfd pth into onnx , so I used config file in the 'scrfd/configs/scrfd' folder.
ex : scrfd_2.5g_bnkps.py
But the generated onnx does not work.
the onnx converted without kps option is work, but it can not get keypoint information by that onnx.
what is issue?
I compared two config files of 'scrfd_2.5g.py' and 'scrfd_2.5g_bnkps.py'.
Only difference of both file are just norm_cfg setting.
dict(type='GN', num_groups=16, requires_grad=True) and dict(type='BN', requires_grad=True).
Another code are same.
I think the converting code does not work on kps option

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.