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

Details about Yolov5 #16

Open
NoLookDefense opened this issue Oct 9, 2021 · 4 comments
Open

Details about Yolov5 #16

NoLookDefense opened this issue Oct 9, 2021 · 4 comments

Comments

@NoLookDefense
Copy link

NoLookDefense commented Oct 9, 2021

Hi. I am running your demo and feel confused about your YOLOv5 demo.

There is a "layers" parameter in the Yolov5.h:

std::vector<YoloLayerData> layers{

std::vector layers{
{"output", 32, {{116, 90}, {156, 198}, {373, 326}}},
{"413", 16, {{30, 61}, {62, 45}, {59, 119}}},
{"431", 8, {{10, 13}, {16, 30}, {33, 23}}},
};

I wonder what's the meanings of these values?

@NoLookDefense
Copy link
Author

NoLookDefense commented Oct 9, 2021

Also, in the official yolo demo of TNN,
https://github.com/Tencent/TNN/examples
there's no such parameters to assign the layer information. I wonder have you done any processes in it?

@cmdbug
Copy link
Owner

cmdbug commented Oct 9, 2021

"model layer output name", stride, { anchors },

@cmdbug
Copy link
Owner

cmdbug commented Oct 9, 2021

Also, in the official yolo demo of TNN, https://github.com/Tencent/TNN/examples there's no such parameters to assign the layer information. I wonder have you done any processes in it?

The official example is over encapsulated, and the internal method is similar.

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