Tencent / Tencent/ncnn

yolov5Focus 算子替换

Open
#3,151 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
23.8k
Forks
4.5k
Avg merge
2d 20h
Merged PRs (30d)
37

Description

expectation | 诉求 | 期待する

  1. speed
  2. precision

model | 模型 | モデル

  1. model.param and model.bin

detail | 详细描述 | 詳細な説明

hi nihui:
我看了ncnn reorg 算子的实现,请问 mode 不为 0 时,这种重排列 和 yolov5Focus 里面的像素重排列是一致的吧。yolox-nano 模型, int8 量化的时候,除了修改并加入自定义层 Yolov5Focus方法,是不是也可以把等效它换成 reorg算子.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare ncnn's reorg operator with the YOLOv5Focus pixel rearrangement, especially when mode is not 0 and in the int8 YOLOX-nano model path. Start by locating the reorg operator and the custom Yolov5Focus implementation; done means establishing whether the replacement is equivalent and documenting or implementing a validated approach.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.