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

Feature-request: YOLOv4-tiny (detector) #1885

Closed
AlexeyAB opened this issue Jun 28, 2020 · 3 comments
Closed

Feature-request: YOLOv4-tiny (detector) #1885

AlexeyAB opened this issue Jun 28, 2020 · 3 comments

Comments

@AlexeyAB
Copy link

Feature-request: YOLOv4-tiny (detector)

Many other features from Darknet were added previously.
There is required only 1 feature:

  1. Add groups= and group_id= to the [route] layer.
[route]
layers=-1
groups=2
group_id=1

So if input is WxHxC, it divides input into 2 groups WxHx(C/2) (there are 2 groups: 0 and 1), and loads the 2nd group_1 WxHx(C/2).

If there are many layers specified in layers= parameter, then this will be done for each of the input layers specified in layer=, then results will be concatenated across channels.

cmp

@nihui
Copy link
Member

nihui commented Jun 30, 2020

Implemented
THANKS!

@nihui nihui closed this as completed Jun 30, 2020
@AlexeyAB
Copy link
Author

@nihui Great!

@flyboy114
Copy link

@nihui @AlexeyAB I test yolov4/tiny which download by AlexeyAB released model,though it can run in The android environment ,but the process result is not right. The same picture cannot be recognized after transformation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants