• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

f-dangel / unfoldNd / 7478206151
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: update-changelog
DEFAULT BRANCH: main
Ran 10 Jan 2024 04:57PM UTC
Jobs 6
Files 5
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Jan 2024 04:52PM UTC coverage: 100.0%. First build
7478206151

push

github

f-dangel
[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.

12 of 12 new or added lines in 1 file covered. (100.0%)

150 of 150 relevant lines covered (100.0%)

5.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7478206151.1 10 Jan 2024 04:57PM UTC 5
99.33
2 7478206151.2 10 Jan 2024 04:57PM UTC 5
99.33
3 7478206151.3 10 Jan 2024 04:57PM UTC 5
99.33
4 7478206151.4 10 Jan 2024 04:58PM UTC 5
99.33
5 7478206151.5 10 Jan 2024 04:58PM UTC 5
99.33
6 7478206151.6 10 Jan 2024 04:58PM UTC 5
99.33
Source Files on build 7478206151
  • Tree
  • List 5
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 56a193cb on github
  • Next Build on bug30-fold-with-padding (#7478243518)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc