-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* [BUG] Reproduce bug for fold with padding=1 (#30) * [FIX] Treat padding explicitly when scattering, then unpad This should fix #30. The problem was in the creation of the tensor that maps the patch values back to the positions in the original image. The code was using `unfold` with non-zero padding, which would lead to a lot of patch values being assigned to location 0. The fix is to deal with padding explicitly so that the `unfold` operation uses `padding=0`. Then the index tensor is correct, and after scattering we have to un-pad the image to obtain the output. * [CI] Ignore B905 * [DEL] Remove upload to coveralls Github actions keep failing for unknown reasonds. The error is: ``` coveralls.exception.CoverallsException: Could not submit coverage: 422 Client Error: Unprocessable Entity for url: https://coveralls.io/api/v1/jobs ``` Deciding to remove coverage uploads to coveralls.
- Loading branch information
Showing
4 changed files
with
36 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters