Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据集问题 #5

Open
baiyu12345 opened this issue Nov 27, 2021 · 2 comments
Open

数据集问题 #5

baiyu12345 opened this issue Nov 27, 2021 · 2 comments

Comments

@baiyu12345
Copy link

能否公布一下demosic的LR图,没这个跑不了啊

@MC-E
Copy link
Collaborator

MC-E commented Nov 27, 2021

Refer to IRCNN and RNAN.

@XuanchenLi
Copy link

XuanchenLi commented Feb 9, 2023

You can let files_lr equals to files_source just like:
files_lr = glob.glob(os.path.join(opt.test_data,'*.png'))+glob.glob(os.path.join(opt.test_data,'*.tif'))
and then implement the mosaic method:
Img_lr = cv2.cvtColor(cv2.imread(f_lr),cv2.COLOR_BGR2RGB) Img_lr = normalize(np.float32(Img_lr),opt.rgb_range) ISource_lr = torch.Tensor(Img_lr).permute(2,0,1).unsqueeze(0) ISource_lr = bayer(ISource_lr)

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

No branches or pull requests

3 participants