Simple CNN-based Artist Classifier

This repo contains a simple CNN-based Keras model which classifies images into one of 10 selected artists/painters.

How to use

import tensorflow as tf
from huggingface_hub import from_pretrained_keras
model = from_pretrained_keras("jkang/drawing-artist-classifier")

image_file = 'monet.jpg'
img = tf.io.read_file(image_file)
img = tf.io.decode_jpeg(img, channels=3)

last_layer_activation, predictions = model(img[tf.newaxis,...])

Intended uses & limitations

You can use this model freely for predicting artists or trends of a given image. Please keep in mind that this model is not intended for production, but for research and quick prototyping. Web-crawled image data might not have a balanced amount of drawings that sufficiently represent the artists.