-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Update formatting.py #10743
Update formatting.py #10743
Conversation
I got the issue for 'border' like AssertionError: |
May I know which configuration? |
For me it's centernet_r18-dcnv2_8xb16-crop512-140e_coco.py. |
You need include 'border' in PackDetInputs dict(
type='PackDetInputs',
meta_keys=('img_id', 'img_path', 'ori_shape', 'img_shape', 'border')) |
Hi @captainIT, We'd like to express our appreciation for your valuable contributions to the mmdetection. Your efforts have significantly aided in enhancing the project's quality. If you're on WeChat, we'd also love for you to join our community there. Just add our assistant using the WeChat ID: openmmlabwx. When sending the friend request, remember to include the remark "mmsig + Github ID". Thanks again for your awesome contribution, and we're excited to have you as part of our community! |
Motivation
PackDetInputs 使用默认构造函数的meta_keys,但数据增强,没用flip的时候会报错
Modification
这是mmsegmentation的处理方式
https://github.com/open-mmlab/mmsegmentation/blob/30a3f94f3e2916e27fa38c67cc3b8c69c1893fe8/mmseg/datasets/transforms/formatting.py#L97C22-L97C22