YOLOv6
YOLOv6 copied to clipboard
Failure to detect, engine designed with dimensions smaller than 320.
Before Asking
-
[X] I have read the README carefully. 我已经仔细阅读了README上的操作指引。
-
[X] I want to train my custom dataset, and I have read the tutorials for training your custom data carefully and organize my dataset correctly; (FYI: We recommand you to apply the config files of xx_finetune.py.) 我想训练自定义数据集,我已经仔细阅读了训练自定义数据的教程,以及按照正确的目录结构存放数据集。(FYI: 我们推荐使用xx_finetune.py等配置文件训练自定义数据集。)
-
[X] I have pulled the latest code of main branch to run again and the problem still existed. 我已经拉取了主分支上最新的代码,重新运行之后,问题仍不能解决。
Search before asking
- [X] I have searched the YOLOv6 issues and found no similar questions.
Question
I trained an engine with YOLOv6-0.4.0 version. The dimensions of the image are 160 x 160. After finishing, the output works correctly in the 'best.pt' format. But after exporting to 'best.onnx', no diagnosis is made. There is no error.
The code I use is taken from this address.: https://github.com/hpc203/yolov6-opencv-onnxruntime/blob/main/opencv/main.cpp
Is the problem with the output dimensions? "I had small dimensions because of the need for quick detection"
Thank you for helping me.
Additional
No response
I didn't get your question. Did you mean you can not detect anything use c++ version of opencv ?