Transformers How to use SeyedAli/Distilled-Melanoma-Classification-EfficientNet with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="SeyedAli/Distilled-Melanoma-Classification-EfficientNet")
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("SeyedAli/Distilled-Melanoma-Classification-EfficientNet")
model = AutoModelForImageClassification.from_pretrained("SeyedAli/Distilled-Melanoma-Classification-EfficientNet")