|
--- |
|
license: cc |
|
tags: |
|
- tensorflow |
|
- image-to-image |
|
--- |
|
# Whitebox Cartoonizer |
|
|
|
Whitebox Cartoonizer [1] model in the `SavedModel` format. The model was exported to the SavedModel format using this notebook. Original model repository can be found [here](https://github.com/SystemErrorWang/White-box-Cartoonization). |
|
|
|
## Inference code |
|
|
|
```py |
|
from huggingface_hub import hf_hub_download |
|
import tensorflow as tf |
|
|
|
root = tf.saved_model.load("/content/saved_model_dir") |
|
concrete_func = root.signatures["serving_default"] |
|
``` |