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

The label of data seems to be consistent with the standard coco format. Can you share me your coco format json file? #10

Closed
Huanqing1 opened this issue Oct 13, 2020 · 8 comments

Comments

@Huanqing1
Copy link

No description provided.

@csuhan
Copy link
Owner

csuhan commented Oct 14, 2020

The annotation format of s2anet is different from coco's, but is consistent with the recommended format of mmdet.
We also provide annotations with coco format, which is adpoted from AerialDetection. Please refer to here.
Note that s2anet on DOTA does not support coco format now.

@Huanqing1
Copy link
Author

Sorry, I just described it wrong. I found that the data format used by the author was inconsistent with coco. I could not understand the data format used by the author, so I wanted a correct JSON file as a reference. I did not find the recommended format of mmdet on the Internet. Can you help me?

@csuhan
Copy link
Owner

csuhan commented Oct 14, 2020

cp from here:

[
    {
        'filename': 'a.jpg',
        'width': 1280,
        'height': 720,
        'ann': {
            'bboxes': <np.ndarray, float32> (n, 4),
            'labels': <np.ndarray, int64> (n, ),
            'bboxes_ignore': <np.ndarray, float32> (k, 4),
            'labels_ignore': <np.ndarray, int64> (k, ) (optional field)
        }
    },
    ...
]

@Huanqing1
Copy link
Author

Thank you very much!

@csuhan csuhan closed this as completed Oct 14, 2020
@Huanqing1
Copy link
Author

I don't understand the meaning of the bboxes_ignore and the k.

@Huanqing1
Copy link
Author

我去了作者您的主页,发现您也是中国人。我打算用中文和您交流。 我想问的是'bboxes_ignore'是什么意思,对应在dota数据集标签txt里面哪个位置。还有就是您说明bboxes_ignore这一项的格式的时候,用了字母k,我想知道这个k代表什么。

@Huanqing1
Copy link
Author

还有 作者用的数据集是dotav1.5 还是1.0

@Huanqing1
Copy link
Author

您可以把您dota数据集的json文件给我分享一份吗

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

No branches or pull requests

2 participants