Skip to content

[Bug] VOCMetric is not compatible with CocoDataset #10085

Open
@RangiLyu

Description

@RangiLyu

Prerequisite

Task

I have modified the scripts/configs, or I'm working on my own tasks/models/datasets.

Branch

3.x branch https://github.com/open-mmlab/mmdetection/tree/3.x

Environment

pass

Reproduces the problem - code sample

img_v2_10c3922f-a0d9-4d20-bb60-2cb7e4188aeg

img_v2_a9b54e18-7eb3-4091-9e7d-4057ba6c9c1g

Reproduces the problem - command or script

pass

Reproduces the problem - error message

img_v2_215510cf-bb48-41b3-9927-cec8d112c7cg

Additional information

Reported from Zihao.

This function should support custom class names

dataset_name = self.dataset_meta['classes']


def get_classes(dataset) -> list:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions