8000 输出图片尺寸问题 · Issue #15 · chxy95/HDRTVNet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
输出图片尺寸问题 #15
Open
Open
@sunyclj

Description

@sunyclj

输入是4k(38402160),AGCM和LE输出均与输入相同,但是HG输出尺寸为(38402176),我定位了一下,是因为generate_mask.py代码中
if H%32!=0 or W%32!=0:
H_new = int(np.ceil(H / 32) * 32)
W_new = int(np.ceil(W / 32) * 32)
img_LQ = cv2.resize(img_LQ, (W_new, H_new))
请问为什么在HG网络中尺寸需要调整成可以整除32的呢?输出尺寸变化的问题怎么解决呢?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0