PaddleDetection
PaddleDetection copied to clipboard
few-shot方法 复现问题
问题确认 Search before asking
Bug组件 Bug Component
Training
Bug描述 Describe the Bug
用pcb数据集复现对比学习的few-shot方法,PaddleDetection-release-2.6.1/ppdet/modeling/losses/supcontrast.py里positive_mask.sum()值异常,无法训练
复现环境 Environment
Linux paddle2.3.1
Bug描述确认 Bug description confirmation
- [X] 我确认已经提供了Bug复现步骤、代码改动说明、以及环境信息,确认问题是可以复现的。I confirm that the bug replication steps, code change instructions, and environment information have been provided, and the problem can be reproduced.
是否愿意提交PR? Are you willing to submit a PR?
- [X] 我愿意提交PR!I'd like to help by submitting a PR!