alibaba / alibaba/EasyCV

[bugs] coco format data is conflict with source concat

Open
#37 0 comments 0 reactions 1 assignee Claimed by @Cathy0908 View on GitHub
bug
Dominant language
Python
Stars
2k
Forks
227
PR merge metrics
No merged PRs in 30d

Description

use mulit subset with glob classification id coco annotations will meet the classification id error at
[# line77](https://github.com/alibaba/EasyCV/blob/master/easycv/datasets/detection/data_sources/coco.py)
self.cat2label = {cat_id: i for i, cat_id in enumerate(self.cat_ids)}

every subset datasource will generate cls id from 0~x

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.