You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
GIMP-ML/README.md

78 lines
3.8 KiB
Markdown

4 years ago
# GIMP-ML
4 years ago
Preprint: [Link](https://arxiv.org/abs/2004.13060) <br>
4 years ago
Set of Machine Learning Python plugins for GIMP.
4 years ago
4 years ago
The plugins have been tested with GIMP 2.10 on the following machines: <br>
4 years ago
[1] macOS Catalina 10.15.4 <br>
[2] ubuntu 18.04 LTS <br>
4 years ago
[3] ubuntu 20.04 LTS <br>
[4] Debian GNU/Linux 10 (buster)
4 years ago
4 years ago
# Screenshot of Menu
![image1](https://github.com/kritiksoman/GIMP-ML/blob/master/screenshot.png)
4 years ago
# Installation Steps
[1] Install [GIMP](https://www.gimp.org/downloads/).<br>
[2] Clone this repository: git clone https://github.com/kritiksoman/GIMP-ML.git <br>
[3] Open GIMP and go to Preferences -> Folders -> Plug-ins, add the folder gimp-plugins and close GIMP. <br>
4 years ago
[4] Download [weights.zip](https://drive.google.com/open?id=1mqzDnxtXQ75lVqlQ8tUeua68lDqUgUVe) (1.22 GB) and save it in gimp-plugins folder. <br>
4 years ago
[5] Open terminal and run : <br>
4 years ago
```bash installGimpML.sh```
4 years ago
<br>
4 years ago
```bash moveWeights.sh ```<br>
4 years ago
[6] Open GIMP.
4 years ago
4 years ago
# Demo videos on YouTube
4 years ago
[<img src="http://img.youtube.com/vi/q9Ny5XqIUKk/0.jpg" width="400" height="300">](http://www.youtube.com/watch?v=q9Ny5XqIUKk)
4 years ago
[<img src="http://img.youtube.com/vi/4YpTa-gqEIw/0.jpg" width="400" height="300">](http://www.youtube.com/watch?v=4YpTa-gqEIw)
4 years ago
4 years ago
[<img src="http://img.youtube.com/vi/kXYsWvOB4uk/0.jpg" width="400" height="300">](http://www.youtube.com/watch?v=kXYsWvOB4uk)
4 years ago
[<img src="http://img.youtube.com/vi/HVwISLRow_0/0.jpg" width="400" height="300">](http://www.youtube.com/watch?v=HVwISLRow_0)
4 years ago
[<img src="http://img.youtube.com/vi/U1CieWi--gc/0.jpg" width="400" height="300">](http://www.youtube.com/watch?v=U1CieWi--gc)
4 years ago
[<img src="http://img.youtube.com/vi/HeBgWcXFQpI/0.jpg" width="400" height="300">](http://www.youtube.com/watch?v=HeBgWcXFQpI)
4 years ago
[<img src="http://img.youtube.com/vi/adgHtu4chyU/0.jpg" width="400" height="300">](http://www.youtube.com/watch?v=adgHtu4chyU)
[<img src="http://img.youtube.com/vi/thS8VqPvuhE/0.jpg" width="400" height="300">](http://www.youtube.com/watch?v=thS8VqPvuhE)
4 years ago
# Paper References
[1] Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network (https://arxiv.org/abs/1609.04802) <br>
[2] DeblurGAN-v2: Deblurring (Orders-of-Magnitude) Faster and Better (https://arxiv.org/abs/1908.03826) <br>
4 years ago
[3] Towards Robust Monocular Depth Estimation: Mixing Datasets for Zero-shot Cross-dataset Transfer (https://arxiv.org/abs/1907.01341v2) <br>
4 years ago
[4] BiSeNet: Bilateral Segmentation Network for Real-time Semantic Segmentation (https://arxiv.org/abs/1808.00897) <br>
[5] MaskGAN: Towards Diverse and Interactive Facial Image Manipulation (https://arxiv.org/abs/1907.11922) <br>
4 years ago
[6] Real-Time User-Guided Image Colorization with Learned Deep Priors (https://arxiv.org/abs/1705.02999) <br>
4 years ago
[7] Rethinking Atrous Convolution for Semantic Image Segmentation (https://arxiv.org/abs/1706.05587) <br>
4 years ago
4 years ago
# Code References
4 years ago
The following have been ported : <br>
[1] https://github.com/switchablenorms/CelebAMask-HQ <br>
[2] https://github.com/TAMU-VITA/DeblurGANv2 <br>
[3] https://github.com/zllrunning/face-parsing.PyTorch <br>
4 years ago
[4] https://github.com/junyanz/interactive-deep-colorization <br>
[5] https://github.com/intel-isl/MiDaS <br>
4 years ago
[6] https://github.com/twtygqyy/pytorch-SRResNet
4 years ago
4 years ago
# Common Issues
[1] No output on running plugin: Please right click on layer and remove alpha channel before using plugins. <br>
[2] GIMP-ML menu not visible: Do following and restart GIMP.<br>
```
sudo apt install gimp-python
cd gimp-plugins
chmod -x *
chmod +x *.py
```
[3] colorize plugin not working: Switch to grayscale mode before running plugin. (Image->Mode->Grayscale)
4 years ago
# Citation
Please cite using the following bibtex entry:
```
@article{soman2020GIMPML,
title={GIMP-ML: Python Plugins for using Computer Vision Models in GIMP},
author={Soman, Kritik},
journal={arXiv preprint arXiv:2004.13060},
year={2020}
}
```