Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc
|
3 |
+
tags:
|
4 |
+
- tensorflow
|
5 |
+
- image-to-image
|
6 |
+
---
|
7 |
+
# Whitebox Cartoonizer
|
8 |
+
|
9 |
+
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).
|
10 |
+
|
11 |
+
## Inference code
|
12 |
+
|
13 |
+
```py
|
14 |
+
from huggingface_hub import hf_hub_download
|
15 |
+
import tensorflow as tf
|
16 |
+
|
17 |
+
root = tf.saved_model.load("/content/saved_model_dir")
|
18 |
+
concrete_func = root.signatures["serving_default"]
|
19 |
+
```
|