Replies: 1 comment
-
在LoadAnnotations类 _load_bboxes函数中 “results['gt_ignore_flags'] = np.array(gt_ignore_flags, dtype=np.bool)” 将results['gt_ignore_flags']数据类型转换为bool;但在PackDetInputs类 transform函数中 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
@五喵-菜狗闻星 麻烦你看一下 3.x中 LoadAnnotations类中_load_bboxes函数中的results['gt_ignore_flags'] = np.array(gt_ignore_flags, dtype=np.bool) 会变成bool类型但 PackDetInputs类中的transform函数中“”if 'gt_ignore_flags' in results:
valid_idx = np.where(results['gt_ignore_flags'] == 0)[0]
ignore_idx = np.where(results['gt_ignore_flags'] == 1)[0]“”这段代码会有问题吧
Beta Was this translation helpful? Give feedback.
All reactions