scrfd how to convert to onnx?
See original GitHub issueWhile using scrfd2onnx.py, what should be the values of build_model_from_cfg, generate_inputs_and_wrap_model, and preprocess_example_input in from mmdet.core import (build_model_from_cfg, generate_inputs_and_wrap_model, preprocess_example_input)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:11
Top Results From Across the Web
Convert your PyTorch training model to ONNX - Microsoft Learn
To be able to integrate it with Windows ML app, you'll need to convert the model to ONNX format. Export the model. To...
Read more >记录SCRFD(CVPR2021)人脸检测C++工程化(含docker镜像)
当时用的是以下仓库的onnx文件来转ncnn、MNN和TNN模型,遇到了一些op转换问题,不得已才用了上篇文章写的奇怪的trick。
Read more >Converting an ONNX Model - OpenVINO™ Documentation
This page provides instructions on how to convert a model from the ONNX format to the OpenVINO IR format using Model Optimizer. To...
Read more >Scrfd onnx - fritteuse-test
If the passed-in model is not already a ScriptModule, export() will use tracing to convert it to one:. Tracing: If torch.onnx.export() is called...
Read more >How to Convert a PyTorch Model to ONNX in 5 Minutes - Deci AI
ONNX supports all the popular machine learning frameworks including Keras, TensorFlow, Scikit-learn, PyTorch, and XGBoost. ONNX also enables ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi, @chenscottus , Did above suggestion worked?
I did the same but still same error of KeyError: ‘SCRFD is not in the models registry’
Change from mmdet.core import (build_model_from_cfg, generate_inputs_and_wrap_model, preprocess_example_input) ==>>>>> from mmdet.core.export import build_model_from_cfg, preprocess_example_input, generate_inputs_and_wrap_model