Conversation
|
@matsumotosan how is it going here? 🦩 |
|
@Borda Going to move over the test cases from the previous PR. Now that the weighted and unweighted metrics are separate, tests should be easier to write. |
sounds cool :) |
|
it would be great to ave this landed and then we can do another feature release :) |
for more information, see https://pre-commit.ci
|
@matsumotosan do you have a time estimate for finishing this one? |
|
@Borda Working on it right now, I think I might need a week. |
@matsumotosan please check Nicki comments :) |
…s. test with 4 samples instead of 2.
| elif check_batch and not metric.dist_sync_on_step: | ||
| batch_kwargs_update = { | ||
| k: v.cpu() if isinstance(v, Tensor) else v | ||
| k: v[i].cpu() if isinstance(v, Tensor) else v |
There was a problem hiding this comment.
This change is breaking class tests for metrics like precision, recall, MAP, MRR, fallout.
What does this PR do?
Fixes part of #1235
New PR for #1759
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃