ckkelvinchan / RealBasicVSR

Official repository of "Investigating Tradeoffs in Real-World Video Super-Resolution"
Apache License 2.0
900 stars 134 forks source link

[Fix] Update crop_sub_images.py #80

Open Luo-Yihang opened 1 year ago

Luo-Yihang commented 1 year ago

Motivation: There are several arguments in the script crop_sub_images.py should be int type, e.g., '--n-thread'. However, if we do not define them as int. They will be regarded as str if we pass those arguments to this script by ourselves, and therefore generate an error message.

Modification: Define the int arguments with type=int explicitly.