mirror of
https://gitee.com/nanjing-yimao-information/ieemoo-ai-gift.git
synced 2025-08-20 06:10:26 +00:00
测试代码
This commit is contained in:
@ -148,9 +148,9 @@ class DetectionValidator(BaseValidator):
|
||||
pred[:, 5] = 0
|
||||
|
||||
# =======Targets 2 分类======
|
||||
column = pred[:,5]
|
||||
condition2 = (column != 10)
|
||||
pred[:,5][condition2] = 0
|
||||
# column = pred[:,5]
|
||||
# condition2 = (column != 10)
|
||||
# pred[:,5][condition2] = 0
|
||||
# ===========================
|
||||
|
||||
predn = self._prepare_pred(pred, pbatch)
|
||||
|
Reference in New Issue
Block a user