Closed XianzheMa closed 2 weeks ago
( % to main) ( % to main)
Attention: Patch coverage is 83.33333%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 82.81%. Comparing base (
bf96bfa
) to head (9b2a8c9
). Report is 1 commits behind head on main.:exclamation: Current head 9b2a8c9 differs from pull request most recent head 07ebc07
Please upload reports for the commit 07ebc07 to get more accurate results.
Files | Patch % | Lines |
---|---|---|
...trainer_server/internal/trainer/pytorch_trainer.py | 82.35% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Previously, we didn't record the number of passed batches correctly: We use a
batch_number
which is generated purely from enumeration indataloader
. Therefore this number is irrelevant to the number of epochs (only shows how many batches there are in one epoch). A similar issue exists on the iteration onStB
when we calculate scores class by class. The number of batches passed in the previous class is not correctly accumulated on the current class.This PR fixes it.