Merge branch 'main' into main
This commit is contained in:
commit
4aeb95eb81
|
@ -48,6 +48,13 @@ img = Image.open(...).convert("RGB")
|
||||||
out = face2paint(model, img)
|
out = face2paint(model, img)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Updates**
|
||||||
|
|
||||||
|
* `2021-10-17` Add weights for [face portrait v2](https://github.com/bryandlee/animegan2-pytorch#additional-models)
|
||||||
|
* `2021-11-07` Thanks to [ak92501](https://twitter.com/ak92501), a web demo is integrated to [Huggingface Spaces](https://huggingface.co/spaces) with [Gradio](https://github.com/gradio-app/gradio).
|
||||||
|
|
||||||
|
See demo: [![Hugging Face Spaces](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue)](https://huggingface.co/spaces/akhaliq/AnimeGANv2)
|
||||||
|
|
||||||
|
|
||||||
**Weight Conversion from the Original Repo (Requires TensorFlow 1.x)**
|
**Weight Conversion from the Original Repo (Requires TensorFlow 1.x)**
|
||||||
```
|
```
|
||||||
|
@ -61,7 +68,6 @@ python test.py --input_dir [image_folder_path] --device [cpu/cuda]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**Results from converted [[Paprika]](https://drive.google.com/file/d/1K_xN32uoQKI8XmNYNLTX5gDn1UnQVe5I/view?usp=sharing) style model**
|
**Results from converted [[Paprika]](https://drive.google.com/file/d/1K_xN32uoQKI8XmNYNLTX5gDn1UnQVe5I/view?usp=sharing) style model**
|
||||||
|
|
||||||
(input image, original tensorflow result, pytorch result from left to right)
|
(input image, original tensorflow result, pytorch result from left to right)
|
||||||
|
|
Loading…
Reference in a new issue