Skip to content

valgur/GIMP-ML-Hub

 
 

Repository files navigation

GIMP-ML-Hub

TravisCI

Machine Learning plugins for GIMP.

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.
  • Models are run with Python 3, saving the needed effort to back-port them to Python 2.
  • Fully automatic installation, that has been tested on all major operating systems and distros.
  • Errors are now reported directly in the UI, rather than on the command line only.
  • 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.
  • And many other smaller improvements.

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 (apt-get only, snap is not yet supported)
  • Debian 10 (buster)
  • Arch Linux
  • Windows 10

Installation Steps

  1. Install GIMP.
  2. Clone this repository: git clone https://github.com/valgur/GIMP-ML-Hub.git
  3. On Linux and MacOS run ./install.sh.
  4. On Windows:
  5. You should now find the GIMP-ML plugins under Layers → GIMP-ML. Feel free to create an issue if they are missing for some reason.

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%