Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

SPSR Branch - Small File Issue #3

Open
WalkerMx opened this issue Aug 25, 2020 · 0 comments
Open

SPSR Branch - Small File Issue #3

WalkerMx opened this issue Aug 25, 2020 · 0 comments

Comments

@WalkerMx
Copy link

For some images, I get this issue:

Model: 4x_FireAlpha
Upscaling...
1 tex1_8x146_8284d79f89ef1c95_0
Traceback (most recent call last):
  File "C:\ESRGAN_Files\upscale.py", line 435, in <module>
    rlt = merge(rlts, scale, overlap, img_height,
  File "C:\ESRGAN_Files\upscale.py", line 150, in merge
    img[y, :] *= ((y + 1)/(rlt_overlap + 1))
IndexError: index 8 is out of bounds for axis 0 with size 8

The images are almost always very thin (~8px wide). I've attached a few that cause the error:

tex1_8x16_11fee22c23a7c18c_2
tex1_8x146_82d775b0ae8d3e54_0
tex1_8x146_8284d79f89ef1c95_0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant