Closed Git-oNmE closed 1 year ago
I think your understanding is correct. If A has a relationship with B, there must be another relationship between B and A. For example, when (man, sitting on, ground), the ground should be under the man. Thanks for pointing it out!
It's
IETrans-SGG.pytorch/maskrcnn_benchmark/modeling/roi_heads/relation_head/sampling.py
, in which theWRelationSampling.gtbox_relsample()
has a problem.It seems this part of code is to creat a list of no-relation object pairs.
The 'rel_possibility', in my understanding, is a reverse mask of 'binary_rel'. So maybe we need to deal with both conditions of non-relationship.
Is my understanding right ? If not, maybe there is something I haven't got. Please correct me if possible, thanks :).