Unverified Commit 4aeb95eb authored by Xing Han Lu's avatar Xing Han Lu Committed by GitHub

Merge branch 'main' into main

parents 0fbe994c 04ad44ed
...@@ -48,6 +48,13 @@ img = Image.open(...).convert("RGB") ...@@ -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] ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment