deepghs/nozomi_standalone_full
Updated • 109 • 7
How to use lumenggan/katara-detector with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="lumenggan/katara-detector")
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png") # Load model directly
from transformers import AutoImageProcessor, AutoModelForImageClassification
processor = AutoImageProcessor.from_pretrained("lumenggan/katara-detector")
model = AutoModelForImageClassification.from_pretrained("lumenggan/katara-detector")This model identifies whether an image contains Katara from Avatar: The Last Airbender. It achieves 96% accuracy and 96.1% F1 score on the validation set.
A binary image classifier that determines if Katara from the animated series "Avatar: The Last Airbender" is present in an image.
This model can be used to:
# Use a pipeline as a high-level helper
from PIL import Image
from transformers import pipeline
pipe = pipeline("image-classification", model="lumenggan/katara-detector")
image = Image.open("yourimage.png")
pipe(image)
This model should not be used for:
The model was trained on a custom dataset of Katara images and non-Katara images from Avatar: The Last Airbender. The dataset was split 80/20 for training and validation.
The model was fine-tuned from DINOv2-small using the following techniques:
Base model
facebook/dinov2-small