jbwang1997 / OBBDetection

OBBDetection is an oriented object detection library, which is based on MMdetection.
Apache License 2.0
522 stars 112 forks source link

请问results中的aligned_fields有什么用? #88

Closed whystopped closed 2 years ago

whystopped commented 2 years ago

mmdet/datasets/pipelines/obb/base.pymmdet/datasets/pipelines/obb/dota.py中有对results['aligned_fields']做出修改,但我没有找到其他代码调用该键值

我采用了新版mmdet的RandomCrop,其中allow_negative_crop这一项会导致results['aligned_fields']的ignore出现问题,我想知道该键值是否重要,如果不重要我可以暂时忽略它

jbwang1997 commented 2 years ago

aligned_fields是目标的一些信息比如diffs, truncs。这些信息的长度要与目标数量保持一致,所有把它们收集到一起。一般是用不上的,可以忽略掉。

whystopped commented 2 years ago

aligned_fields是目标的一些信息比如diffs, truncs。这些信息的长度要与目标数量保持一致,所有把它们收集到一起。一般是用不上的,可以忽略掉。

感谢!