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

yolloface-50k.weights 如何转 tflite #1

Open
zdm-linux opened this issue Mar 11, 2022 · 3 comments
Open

yolloface-50k.weights 如何转 tflite #1

zdm-linux opened this issue Mar 11, 2022 · 3 comments

Comments

@zdm-linux
Copy link

No description provided.

@imuncle
Copy link
Owner

imuncle commented Mar 11, 2022

先用tensorflow/yolo_to_h5.py转为h5,然后用tensorflow/h5_to_pb.py转为pb,最后用tflite/tflite_quantize.py转为量化后的tflite

@zdm-linux
Copy link
Author

你好 yoloface-50k 的onnx 模型是怎么转换的 可以说一下么

@imuncle
Copy link
Owner

imuncle commented Aug 3, 2022

这里我用的是笨办法,先用pytorch把yoloface-50k结构搭起来,然后把darknet权重读取到pytorch中,生成.pth和.onnx。pytorch/yoloface.py就是干这件事了

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