Closed edbeeching closed 1 year ago
I bundled a fix for #251 in to this PR as well
Base: 79.69% // Head: 79.70% // Increases project coverage by +0.00%
:tada:
Coverage data is based on head (
b50ec0d
) compared to base (8d4916d
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
When using tuple action distributions in non-batched mode, there is a sneaky bug that appears. This is due to np.split and torch.split not having the same functionality. See: https://github.com/pytorch/pytorch/issues/50012
Fixed by using the cumsum of the action splits when in non batched mode,