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

YOLOv4-tiny released #125

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

YOLOv4-tiny released #125

AlexeyAB opened this issue Jun 25, 2020 · 3 comments

Comments

@AlexeyAB
Copy link

Feature-request: YOLOv4-tiny (detector)

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

@ersheng-ai
Copy link
Collaborator

Thank you for your useful information

@Algolzw
Copy link

Algolzw commented Jun 29, 2020

I can't use yolov4-tiny in this PyTorch repository, is there any solution?

@ersheng-ai
Copy link
Collaborator

I can't use yolov4-tiny in this PyTorch repository, is there any solution?

This repository is not designed specifically for yolov4-tiny.
You can imitate implementations here to run yolov4-tiny but you have to:

  1. re-write pytorch definitions of nn modules in models.py
  2. Update anchor arguments or definitions for yolo layer to suite yolov4-tiny

Maybe there will be support of yolov4-tiny here in the future.

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