sipeed / sipeed/MaixPy

maixpy 4.12.5 不能支持四分类yolo26

Open
#206 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
850
Forks
128
Avg merge
1m
Merged PRs (30d)
2

Description

  • 问题背景:在远程服务器微调一个四分类的yolov26n,导出onnx后转化为cvimodel,输出层按照官网规定的设置(如图)
Image
  • 问题:在maixcam中运行时报错:RuntimeError: : Unknown error: need 3 bbox and 3 cls outputs
  • 换成九分类的yolov26可以正常运行,怀疑是四分类下maixpy4.12.5版本不能分清bbox和cls

Contributor guide

No contributing guide indexed for this repository

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

No source file, test, or entry point is named. Start by reproducing the four-class YOLO26 ONNX-to-cvimodel flow on MaixCam with MaixPy 4.12.5, then compare it with the working nine-class case. Done means the four-class model runs without the “need 3 bbox and 3 cls outputs” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.