PaddleDetection icon indicating copy to clipboard operation
PaddleDetection copied to clipboard

few-shot方法 复现问题

Open zzl777 opened this issue 1 year ago • 0 comments

问题确认 Search before asking

  • [X] 我已经查询历史issue,没有发现相似的bug。I have searched the issues and found no similar bug report.

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!

zzl777 avatar Jun 25 '24 06:06 zzl777