How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-classification", model="ideepankarsharma2003/Midjourney_v6_ImageClassifier")
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoImageProcessor, AutoModelForImageClassification

processor = AutoImageProcessor.from_pretrained("ideepankarsharma2003/Midjourney_v6_ImageClassifier")
model = AutoModelForImageClassification.from_pretrained("ideepankarsharma2003/Midjourney_v6_ImageClassifier", device_map="auto")
Quick Links

Midjourney v6 Image Classification

AI ImageClassifier: Fine-tuned a classifier with 96% accuracy for identifying AI-generated images from Midjourney V6

Downloads last month
13
Safetensors
Model size
86.8M params
Tensor type
I64
ยท
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support