You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Real-ESRGAN repository for upscaling images.
I am using Automatic111 WebUI for Stable Diffusion. Because of my low VRAM I can not upscale my images so I made a GUI for upscaling my outputs. As I can see from the options in WebUI, it is using Real-ESRGAN as default.
I have another repository about prompts. Briefly you can parse prompts from Markdown files, translate your prompts. You can generate datasets, train your prompt generator and generate prompts with it. You can access the repository here.
VenvManager is added. Don't have to press Startup button after starting. It is handled by VenvManager.
Logging system is updated.
Tiling is done by default.
Update Date : 24/05/2023
Not using GPU bug is fixed. Delete Real-ESRGAN folder and click Startup button.
As a note, if you have encountered with black output, select FP32 option.
Update Date : 27/04/2023
Modern GUI style is added with customtkinter
Virtual environment automation is added. No need to configure manually. Just run python start.py command.
Startup and Initialize functions are done in threads so no more freezing.
Selection for FP32 feature is added.
I did not hide the command outputs because some processes take minutes and it makes it difficult to understand what is going on. If there are no errors and application is not terminated, it is fine.
Requirements
Tested in Windows OS environment.
Venv, customtkinter and Tkinter packages are used.
Git has to be in PATH variable.
Tested with Python 3.10.6 and used Tkinter for GUI. As a note for Python 3.10.6 version Tkinter comes as default package. You can easily test it with these commands:
Check Tkinter Module
From command line enter python command and press Enter button.
Write import tkinter command and press Enter button. If there are no errors. You are ready to go.
Write exit() command and press Enter button to exit.
Usage
Open terminal or cmd and clone the repository and get into folder git clone https://github.com/alpertunga-bile/AIUpscaleGUI.git & cd AIUpscaleGUI
Start the application with python start.py command. This command is going to look for 'venv' file for virtual environment. It is going to setup the dependencies (customtkinter) and start the application. After the first setup, it is just going to start the GUI application.
Press the Startup button. Check if Real-ESRGAN installed correctly. If not delete paths.json and third-party folder and start the application again.
Choose your input and output directories.
Then select which model and attributes you want to use.
After selecting them, press Initialize button and wait for DONE!!! text to appear under the button or in terminal.
If you have encountered with black output, select FP32 option.
Folder Selection Note
You can choose one folder that includes images or you can choose one folder that includes folders that include images (Hmm?).
You can not choose multiple directories. You have to use the Option 2.
Model Names And Attributes
Currently RealESRGAN_x4plus, RealESRNet_x4plus, RealESRGAN_x4plus_anime_6B, RealESRGAN_x2plus, realesr-general-x4v3 models can be used. You dont have to download them, script will handle this.