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

能否提供一下yolov8 图像分类支持 #14

Open
futureflsl opened this issue Jun 19, 2023 · 3 comments
Open

能否提供一下yolov8 图像分类支持 #14

futureflsl opened this issue Jun 19, 2023 · 3 comments

Comments

@futureflsl
Copy link

能否提供C++ onnx或者opencv对图像分类支持呢

@UNeedCryDear
Copy link
Owner

其实图像分类你自己都可以搞的,主要就是图片预处理部分不一样。分类的话是需要减去图像均值并且归一化,之后是从中心抠图而非进行padding+resize的操作。最后就是后处理部分不需要那么复杂,对于结果进行softmax(),之后按照大小排序取前k项就是top-k的结果。

@sctrueew
Copy link

@futureflsl Hi, Did you find any way to implement it in C++?

@futureflsl
Copy link
Author

@futureflsl Hi, Did you find any way to implement it in C++?

You can write by yourself,it is simple

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

3 participants