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

Support YOLOv8 Ins Segmentation Inference #895

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

wkpark
Copy link

@wkpark wkpark commented Sep 28, 2023

Don't know why but PR #636 already merged onto a separate dev branch but was accidentally removed without reason, I guess.

rebased/squashed and conflict resolved manually onto the main branch #636

original works done by @Nioolek


  • works nicely with converted yolov8 segment models. (2023/09/28)

Motivation

Please see #636

Modification

Support YOLOv8 Ins Segmentation Inference

Checklist

  1. Pre-commit or other linting tools are used to fix potential lint issues.
  2. The modification is covered by complete unit tests. If not, please add more unit tests to ensure the correctness.
  3. If the modification has a potential influence on downstream projects, this PR should be tested with downstream projects, like MMDetection or MMClassification.
  4. The documentation has been modified accordingly, like docstring or example tutorials.

 * reproduce map
 * add typehint and doc
 * format code
 * replace key
 * add ut
 * format code
 * fix comment
@CLAassistant
Copy link

CLAassistant commented Sep 28, 2023

CLA assistant check
All committers have signed the CLA.

@lijoe123
Copy link

lijoe123 commented May 27, 2024

@wkpark 请问,为什么我在使用你仓库里的yolov8_ins时,会出现 报错

File "/home/music/Downloads/mmyolo-sam/mmyolo/models/dense_heads/yolov5_head.py", line 470, in loss
    losses = self.loss_by_feat(*loss_inputs)
TypeError: loss_by_feat() takes from 6 to 7 positional arguments but 8 were given

@1dmesh
Copy link

1dmesh commented Jun 12, 2024

It's odd, as it looks like the changes for transforms.py from the original PR stayed in main as well in some form or fashion.

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

Successfully merging this pull request may close these issues.

None yet

5 participants