Bringing-Old-Photos-Back-to-Life
Bringing-Old-Photos-Back-to-Life copied to clipboard
Global Restoration issue
After running:
cd Global/
python test.py --Quality_restore
--test_input [test_image_folder_path]
--outputs_dir [output_path]
on 1440x1080 input images, "output_dir" consists cropped 256x256 images
facing the same issue
So I figured out a very jank workaround. Note: I really, really suck at programming.
in Global/test.py on line 44:
return transforms.CenterCrop(256)(A)
Change 256 here to whatever size you want your output. i.e. for a 1440x1080 image, set it to 1440. You will have to manually crop the output if it's not 1:1 w:h ratio.
After getting this to work, the effect seems pretty minimal and probably not worth the effort tbh lol. I have to assume the effect is better with the intended tiling method.