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

The input train/test images must be resized to certain size (e.g. 100*100)? #1

Open
TaihuLight opened this issue Jul 23, 2019 · 2 comments

Comments

@TaihuLight
Copy link

TaihuLight commented Jul 23, 2019

@y0umu
Your CS net is interesting, but when I try to train and test it. I observe that it only fits to the fixed size (e.g. 100*100) images during the process of training and testing due to the limitations of the EncoderLinear layer used to CS sampling.
(1) Is it correct for my suggestion?
(2) How can it support for train/test images of the arbitrary size?
(3) The code is reconstructed for running on local computers, which is show as below.
ResCSNet-v0.01.tar.gz

@y0umu
Copy link
Owner

y0umu commented Jul 23, 2019

@TaihuLight

(1) Is it correct for my suggestion?

Yes you are right. The code in the notebook has to deal with images of size 100x100.

(2) How to can it support for train/test images of the arbitrary size?

This is really a good question I am refecting on. One might think of processing by blocks and put them together in the end (like what is done in ReconNet). But this would lead to blocky artifacts even after applying something like BM3D denoiser. I am investigating how is that done in CNN based image super-resolution ( and maybe in detection framework such as Faster-RCNN ). Possibly won't add such feature in this repo in the short term.

@TaihuLight
Copy link
Author

Thank you for your timely reply.

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

2 participants