Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
fcada9f
1
Parent(s):
86d44dc
update README
Browse files
README.assets/artistic_portrait_generation_examples.jpg
ADDED
|
Git LFS Details
|
README.assets/artistic_portrait_generation_pipeline.jpg
ADDED
|
Git LFS Details
|
README.assets/comparison_with_existing_methods.jpg
ADDED
|
Git LFS Details
|
README.assets/stylize_controlnet_parameter_visualization.jpg
ADDED
|
Git LFS Details
|
README.md
CHANGED
|
@@ -14,21 +14,51 @@ IP Adapter Art is a specialized version that uses a professional style encoder.
|
|
| 14 |
|
| 15 |
[](https://colab.research.google.com/drive/1kV7q3Gzr8GPG9cChdDQ5ncCx84TYjuu3?usp=sharing) can be used to conduct experiments directly.
|
| 16 |
|
| 17 |
-
For local experiments, please refer to a [demo](https://github.com/aihao2000/IP-Adapter-
|
| 18 |
|
| 19 |
Local experiments require a basic torch environment and dependencies:
|
| 20 |
|
| 21 |
```
|
| 22 |
-
|
| 23 |
-
|
|
|
|
| 24 |
pip install git+https://github.com/openai/CLIP.git
|
| 25 |
-
pip install
|
| 26 |
```
|
| 27 |
|
| 28 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |

|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
## Citation
|
| 34 |
|
|
@@ -41,4 +71,7 @@ pip install git+https://github.com/aihao2000/IP-Adapter-Art.git
|
|
| 41 |
journal = {GitHub repository},
|
| 42 |
howpublished = {\url{https://github.com/aihao2000/IP-Adapter-Art}}
|
| 43 |
}
|
| 44 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
[](https://colab.research.google.com/drive/1kV7q3Gzr8GPG9cChdDQ5ncCx84TYjuu3?usp=sharing) can be used to conduct experiments directly.
|
| 16 |
|
| 17 |
+
For local experiments, please refer to a [demo](https://github.com/aihao2000/IP-Adapter-Art/blob/main/artistic_portrait_gen.ipynb).
|
| 18 |
|
| 19 |
Local experiments require a basic torch environment and dependencies:
|
| 20 |
|
| 21 |
```
|
| 22 |
+
conda create -n artadapter python=3.10
|
| 23 |
+
conda activate artadapter
|
| 24 |
+
pip install -r requirements.txt
|
| 25 |
pip install git+https://github.com/openai/CLIP.git
|
| 26 |
+
pip install -e .
|
| 27 |
```
|
| 28 |
|
| 29 |
+
## Comparison with Existing Style Control Methods in Diffusion Models
|
| 30 |
+
|
| 31 |
+
Evaluation using [StyleBench](https://github.com/open-mmlab/StyleShot) style images. Image quality is evaluated using [improved aesthetic predictor](https://github.com/christophschuhmann/improved-aesthetic-predictor)
|
| 32 |
+
|
| 33 |
+
| | CLIP Style Similarity | CSD Style Similarity | CLIP Text Alignment | Image Quality | Average |
|
| 34 |
+
| --------------------- | --------------------- | -------------------- | ------------------- | ------------- | --------- |
|
| 35 |
+
| DEADiff | 61.99 | 43.54 | 20.82 | 60.76 | 46.78 |
|
| 36 |
+
| StyleShot | 63.01 | 52.40 | 18.93 | 55.54 | 47.47 |
|
| 37 |
+
| Instant Style | 65.39 | 58.39 | 21.09 | 60.62 | 51.37 |
|
| 38 |
+
| **Art-Adapter(ours)** | **67.03** | **65.02** | 20.25 | **62.23** | **53.63** |
|
| 39 |
+
|
| 40 |
+

|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
## Examples of Text-guided Stylized Generation
|
| 44 |
|
| 45 |

|
| 46 |
|
| 47 |
+
## Artistic Portrait Generation
|
| 48 |
+
|
| 49 |
+
### Pipeline
|
| 50 |
+
|
| 51 |
+
We built an artistic portrait generation pipeline using Art-Adapter, PuLID, and ControlNet. The structure is shown in the figure below.
|
| 52 |
+
|
| 53 |
+

|
| 54 |
+
|
| 55 |
+
### Examples
|
| 56 |
+
|
| 57 |
+

|
| 58 |
+
|
| 59 |
+
## Stylize ControlNet Parameter Visualization
|
| 60 |
+
|
| 61 |
+

|
| 62 |
|
| 63 |
## Citation
|
| 64 |
|
|
|
|
| 71 |
journal = {GitHub repository},
|
| 72 |
howpublished = {\url{https://github.com/aihao2000/IP-Adapter-Art}}
|
| 73 |
}
|
| 74 |
+
```
|
| 75 |
+
|
| 76 |
+
## Acknowledgements
|
| 77 |
+
|