Instructions to use jkang/drawing-artist-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use jkang/drawing-artist-classifier with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy) # See https://github.com/keras-team/tf-keras for more details. from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("jkang/drawing-artist-classifier") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -32,7 +32,7 @@ import tensorflow as tf
|
|
| 32 |
from huggingface_hub import from_pretrained_keras
|
| 33 |
model = from_pretrained_keras("jkang/drawing-artist-classifier")
|
| 34 |
|
| 35 |
-
image_file = '
|
| 36 |
img = tf.io.read_file(image_file)
|
| 37 |
img = tf.io.decode_jpeg(img, channels=3)
|
| 38 |
|
|
|
|
| 32 |
from huggingface_hub import from_pretrained_keras
|
| 33 |
model = from_pretrained_keras("jkang/drawing-artist-classifier")
|
| 34 |
|
| 35 |
+
image_file = 'monet.jpg'
|
| 36 |
img = tf.io.read_file(image_file)
|
| 37 |
img = tf.io.decode_jpeg(img, channels=3)
|
| 38 |
|