xinntao / Real-ESRGAN-ncnn-vulkan

NCNN implementation of Real-ESRGAN. Real-ESRGAN aims at developing Practical Algorithms for General Image Restoration.
https://github.com/xinntao/Real-ESRGAN
Other
1.42k stars 170 forks source link

Pareto Principle Way #47

Open Dalbyte opened 1 year ago

Dalbyte commented 1 year ago

I hope the pull request isn't all that ridiculous, I just wanted to share that in case someone also wants simple automation help.

Description: When a folder is dragged and dropped onto the script, it checks if the required executable file is present. The user is then prompted to select a model for scaling from a predefined list. After choosing the model, the user is asked to enter the upscale ratio. The script creates a new folder with the "_scale" suffix and the selected model name appended to the original folder's name. The folder path is saved, and the "realesrgan-ncnn-vulkan.exe" tool is executed with the specified parameters to perform the scaling operation.