Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
kaki-admin committed Dec 7, 2024
1 parent 11971f2 commit 2d67838
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions prerank-stages/recall/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ func entryRecallCal(entryPath string, language string, maxNum int, LastRecallTim
common.Logger.Error("coine cal Err", zap.String("file", filepath.Join(entryPath, file.Name())), zap.Error(coineErr))
continue
}
if point == float64(0) {
common.Logger.Error("recall point is zero!!!", zap.Any("entry embedding:", protoEntry.Embedding), zap.Any("user embedding:", userEmbedding))
}
protoEntry.RecallPoint = float32(point)
rankEntries = adjustRecallResult(maxNum, protoEntry, rankEntries)
totalEntryUseToCalculateInFile++
Expand Down

0 comments on commit 2d67838

Please sign in to comment.