ZSSR icon indicating copy to clipboard operation
ZSSR copied to clipboard

xterm and crop_size

Open vsantjr opened this issue 2 years ago • 2 comments

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.

vsantjr avatar Mar 18 '22 19:03 vsantjr

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!

assafshocher avatar Mar 19 '22 00:03 assafshocher

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.

vsantjr avatar Mar 20 '22 15:03 vsantjr