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

xterm and crop_size #40

Open
vsantjr opened this issue Mar 18, 2022 · 2 comments
Open

xterm and crop_size #40

vsantjr opened this issue Mar 18, 2022 · 2 comments

Comments

@vsantjr
Copy link

vsantjr commented Mar 18, 2022

Hello,

Congratulations for your nice work. Just two questions.

1.) My dataset is composed of 128 x 128 images. I am wondering whether I need to change the default crop_size from 128 to some smaller value (e.g. 64 x 64).
2.) I am not able to run the all gpu config because I do not have xterm installed. I am running on RedHat Linux. And I am not allowed to install xterm. Hence, this line:

os.system("xterm -hold -e " + conf.python_path +
                      " %s/run_ZSSR_single_input.py '%s' '%s' '%s' '%s' '%s' '%s' alias python &"
                      % (local_dir, input_file, ground_truth_file, kernel_files_str, cur_gpu, conf_name, res_dir))

gives this error: sh: xterm: command not found.

Can you tell me how to solve this?

Thank you.

@assafshocher
Copy link
Owner

Hi, thanks!
1.) I think you shouldn't, but you can always just test both ways.
2.) Sorry, this is outdated (2017!), you should probably run the run_zssr_signle_input.py instead of that.
Good luck!

@vsantjr
Copy link
Author

vsantjr commented Mar 20, 2022

Thank you for your answer. I am running with a 64 x 64 crop size in order to see I get better results.

Regarding the kernels, can you provide the MATLAB code that generates them?

Best Regards.

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