Skip to content

valgur/GIMP-ML-Hub

Repository files navigation

GIMP-ML-Hub

TravisCI

Machine Learning plugins for GIMP.

The plugins have been tested with GIMP 2.10 on the following systems:

  • macOS Catalina 10.15.5
  • ubuntu 18.04 LTS
  • ubuntu 20.04 LTS
  • Debian 10 (buster)
  • Arch Linux
  • Windows 10

Forked from the original version to improve the user experience in several aspects:

  • The PyTorch models are packaged in PyTorch Hub format and are only downloaded as needed. This allows new models to be added more seamlessly, without needing to re-download gigabytes of model weights.
  • Fully automatic installation, that has been tested on all major operating systems and distros.
  • Correct handling of alpha channels.
  • Automatic conversion between RGB/grayscale as needed by the models.
  • Results are always added to the same image instead of creating a new one.
  • Improved error messages. Errors are now reported directly in the UI, not just in the command line.
  • Models are run with Python 3, saving the needed effort to back-port them to Python 2.
  • And many other smaller improvements.

Installation Steps

  1. Install GIMP.
  2. Clone this repository: git clone https://github.com/kritiksoman/GIMP-ML.git
  3. On Linux and MacOS run ./install.sh.
  4. On Windows:
  5. Open GIMP and go to Preferences -> Folders -> Plug-ins, add the folder GIMP-ML/plugins and restart GIMP.

References

MaskGAN

Face Parsing

SRResNet

DeblurGANv2

MiDaS

Monodepth2

Neural Colorization

Authors

  • Martin Valgur (valgur) – this version
  • Kritik Soman (kritiksoman) – original GIMP-ML implementation

License

MIT

Please note that additional license terms apply for each individual model. See the references list for details. Many of the models restrict usage to non-commercial or research purposes only.

About

A collection of machine learning plugins for GIMP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.1%
  • Shell 13.7%
  • PowerShell 4.2%