Simple image scaller, used to scale Dalle-E images from OpenAI's DALL-E.
mkdirp -p ~/repos && cd ~/repos
git clone https://github.com/mikelogaciuk/deepscalecli.git & cd deepscalecli/deepscalecli
poetry shell && poetry install
# Scale all images from ~/Downloads/ to 4x using FSRCNN Model and save them to ~/Dalle
deepscalecli scale fsrcnn 4 ~/Downloads/ ~/Dalle
This is as simple as it could be.
One function for scaling, one decorator for time measurement and one function for CLI.
All respective rights for models belong to their respective owners.