Add pipeline tag, library name, link to paper, code snippet and citation
Browse filesThis PR improves the model card by:
- adding the `image-to-image` pipeline tag to improve discoverability.
- adding the `library_name` to the metadata.
- adding the link to the paper.
- adding the code snippet on how to clone and download pre-trained weights
- adding the citation information.
README.md
CHANGED
@@ -1,13 +1,40 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
|
|
3 |
---
|
|
|
4 |
# Color Encoder for Color Transfer with Modulated Flows
|
5 |
|
6 |
-
These are color encoders with EfficientNet B0 and B6
|
|
|
|
|
7 |
|
8 |
-
Please find the demo notebook at Github
|
9 |
-
https://github.com/maria-larchenko/modflows/blob/main/ModFlows_demo.ipynb
|
10 |
|
11 |
<p align="center">
|
12 |
<img src="results_unsplash.png" style="width: 1000px"/>
|
13 |
-
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
pipeline_tag: image-to-image
|
4 |
+
library_name: pytorch
|
5 |
---
|
6 |
+
|
7 |
# Color Encoder for Color Transfer with Modulated Flows
|
8 |
|
9 |
+
These are color encoders with EfficientNet B0 and B6 architectures for the AAAI 2025 paper "Color Transfer with Modulated Flows". The paper was also presented at ["Workshop SPIGM @ ICML 2024"](https://openreview.net/forum?id=Lztt4WVusu).
|
10 |
+
|
11 |
+
arXiv: https://arxiv.org/abs/2503.19062
|
12 |
|
13 |
+
Please find the demo notebook at Github: [ModFlows_demo.ipynb](https://github.com/maria-larchenko/modflows/blob/main/ModFlows_demo.ipynb) and [ModFlows_demo_batched.ipynb](https://github.com/maria-larchenko/modflows/blob/main/ModFlows_demo_batched.ipynb) to use the pretrained model for color transfer on your own images.
|
|
|
14 |
|
15 |
<p align="center">
|
16 |
<img src="results_unsplash.png" style="width: 1000px"/>
|
17 |
+
</p>
|
18 |
+
|
19 |
+
How to clone and download pre-trained weights:
|
20 |
+
```bash
|
21 |
+
git clone https://github.com/maria-larchenko/modflows.git
|
22 |
+
cd modflows; git clone https://huggingface.co/MariaLarchenko/modflows_color_encoder
|
23 |
+
```
|
24 |
+
|
25 |
+
Call `python3 run_inference.py --help` to see a full list of arguments for inference.
|
26 |
+
`Ctrl+C` cancels the execution.
|
27 |
+
|
28 |
+
<p align="center">
|
29 |
+
<img src="./img/SPIGM_visual_abstract.png" style="width: 500px"/>
|
30 |
+
</p>
|
31 |
+
|
32 |
+
## Citation
|
33 |
+
If you use this code in your research, please cite our work:
|
34 |
+
```
|
35 |
+
@inproceedings{larchenko2024color,
|
36 |
+
title={Color Style Transfer with Modulated Flows},
|
37 |
+
author={Larchenko, Maria and Lobashev, Alexander and Guskov, Dmitry and Palyulin, Vladimir Vladimirovich},
|
38 |
+
booktitle={ICML 2024 Workshop on Structured Probabilistic Inference $\\{$$\\backslash$\\&$\\}$ Generative Modeling}
|
39 |
+
}
|
40 |
+
```
|